incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1399608 - /incubator/ooo/trunk/main/svx/source/sdr/contact/objectcontacttools.cxx
Date Thu, 18 Oct 2012 12:23:51 GMT
Author: alg
Date: Thu Oct 18 12:23:51 2012
New Revision: 1399608

URL: http://svn.apache.org/viewvc?rev=1399608&view=rev
Log:
Corrected canvasProcessor usage

Modified:
    incubator/ooo/trunk/main/svx/source/sdr/contact/objectcontacttools.cxx

Modified: incubator/ooo/trunk/main/svx/source/sdr/contact/objectcontacttools.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svx/source/sdr/contact/objectcontacttools.cxx?rev=1399608&r1=1399607&r2=1399608&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svx/source/sdr/contact/objectcontacttools.cxx (original)
+++ incubator/ooo/trunk/main/svx/source/sdr/contact/objectcontacttools.cxx Thu Oct 18 12:23:51
2012
@@ -58,38 +58,8 @@ namespace sdr
 			}
 			else
 			{
-#ifdef WIN32
-                // for a first AA incarnation VCL-PixelRenderer will be okay since
-                // simple (and fast) GDIPlus support over VCL will be used.
-                // Leaving the code below as a hint for what to do when we will
-                // use canvas renderers in the future
-
-                //static SvtOptionsDrawinglayer aSvtOptionsDrawinglayer;
-                
-                //if(false && aSvtOptionsDrawinglayer.IsAntiAliasing())
-                //{
-    			//	// for WIN32 AA, create cairo canvas processor
-	    		//	return new drawinglayer::processor2d::canvasProcessor2D(rViewInformation2D, rTargetOutDev);
-                //}
-                //else
-                //{
-    				// create Pixel Vcl-Processor
-	    			return new drawinglayer::processor2d::VclPixelProcessor2D(rViewInformation2D, rTargetOutDev);
-                //}
-#else
-                static bool bTryTestCanvas(false);
-
-                if(bTryTestCanvas)
-                {
-    				// create test-cancas-Processor
-	    			return new drawinglayer::processor2d::canvasProcessor2D(rViewInformation2D, rTargetOutDev);
-                }
-                else
-                {
-    				// create Pixel Vcl-Processor
-	    			return new drawinglayer::processor2d::VclPixelProcessor2D(rViewInformation2D, rTargetOutDev);
-                }
-#endif
+                // create Pixel Vcl-Processor
+                return new drawinglayer::processor2d::VclPixelProcessor2D(rViewInformation2D,
rTargetOutDev);
 			}
 		}
 	} // end of namespace contact



Mime
View raw message