[fusion-commits] r2769 - trunk/widgets/QuickPlot

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Aug 23 05:29:20 PDT 2013


Author: jng
Date: 2013-08-23 05:29:20 -0700 (Fri, 23 Aug 2013)
New Revision: 2769

Modified:
   trunk/widgets/QuickPlot/PlotAsPDF.php
Log:
#592: Remove dead code

Modified: trunk/widgets/QuickPlot/PlotAsPDF.php
===================================================================
--- trunk/widgets/QuickPlot/PlotAsPDF.php	2013-08-23 12:25:59 UTC (rev 2768)
+++ trunk/widgets/QuickPlot/PlotAsPDF.php	2013-08-23 12:29:20 UTC (rev 2769)
@@ -156,11 +156,6 @@
     if ($idealWidth < $printSize->width);
         $printSize->width = $idealWidth;
     
-    // Shave off width if we have a legend
-    if ($showLegend) {
-        //$printSize->width = $printSize->width - $legendWidth;
-    }
-    
     // Construct the querysting which can be used to generate the Map image
     $query_string = "session_id=".$_POST['sessionId']."&map_name=".$_POST['mapName']."&print_size=".$printSize->width.",".$printSize->height.
                     "&print_dpi=".$_POST['dpi']."&box=".$_POST['box']."&normalized_box=".$_POST['normalizedBox'].



More information about the fusion-commits mailing list