Author: hdu
Date: Wed May  8 18:10:01 2013
New Revision: 1480382

URL: http://svn.apache.org/r1480382
Log:
#i122208# fix a type ambiguity in layoutimpl::VCLXDialog objects

Modified:
    openoffice/branches/rejuvenate01/main/toolkit/source/awt/forward.hxx

Modified: openoffice/branches/rejuvenate01/main/toolkit/source/awt/forward.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/toolkit/source/awt/forward.hxx?rev=1480382&r1=1480381&r2=1480382&view=diff
==============================================================================
--- openoffice/branches/rejuvenate01/main/toolkit/source/awt/forward.hxx 
(original)
+++ openoffice/branches/rejuvenate01/main/toolkit/source/awt/forward.hxx Wed 
May  8 18:10:01 2013
@@ -59,11 +59,10 @@
         return aReturn; \
     }
 
-#if defined (_MSC_VER) && (_MSC_VER <= 1310)
-// Windows .Net2003 build fix
+// fix to remove a type ambiguity e.g.
+//    class layoutimpl::VCLXDialog -> class VCLXWindow -> VCLXWindow_Base -> 
class VCLXDevice -> ::cppu::OWeakObject
+//    class layoutimpl::VCLXDialog -> class layoutimpl::Bin -> class 
layoutimpl::Container -> Container_Base -> class cppu::OWeakObject
+//    class layoutimpl::VCLXDialog -> class layoutimpl::Bin -> class 
layoutimpl::Container -> class layoutimpl::PropHelper -> cppu::OWeakObjec
 #define W3K_EXPLICIT_CAST(x) static_cast <XWindow2*> (&x)
-#else // !(defined (_MSC_VER) && (_MSC_VER <= 1310))
-#define W3K_EXPLICIT_CAST(x) x
-#endif // !(defined (_MSC_VER) && (_MSC_VER <= 1310))
 
 #endif /* AWT_FORWARD_HXX */


Reply via email to