incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1176322 - /incubator/ooo/trunk/main/vcl/source/app/unohelp.cxx
Date Tue, 27 Sep 2011 10:55:16 GMT
Author: hdu
Date: Tue Sep 27 10:55:15 2011
New Revision: 1176322

URL: http://svn.apache.org/viewvc?rev=1176322&view=rev
Log:
VC++ has problems to stringify empty macros so avoid it altogether

Modified:
    incubator/ooo/trunk/main/vcl/source/app/unohelp.cxx

Modified: incubator/ooo/trunk/main/vcl/source/app/unohelp.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/source/app/unohelp.cxx?rev=1176322&r1=1176321&r2=1176322&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/source/app/unohelp.cxx (original)
+++ incubator/ooo/trunk/main/vcl/source/app/unohelp.cxx Tue Sep 27 10:55:15 2011
@@ -51,12 +51,9 @@
 #include <com/sun/star/accessibility/AccessibleStateType.hpp>
 #include <com/sun/star/registry/XImplementationRegistration.hpp>
 
-
 using namespace ::com::sun::star;
 using namespace ::rtl;
 
-#define STRING( x ) #x ""
-
 struct VCLRegServiceInfo
 {
 	const sal_Char*		pLibName;
@@ -186,7 +183,7 @@ uno::Reference < i18n::XCollator > vcl::
 ::rtl::OUString vcl::unohelper::CreateLibraryName( const sal_Char* pModName, sal_Bool bSUPD
)
 {
 	// create variable library name suffixes
-	OUString aDLLSuffix = OUString::createFromAscii( STRING(DLLPOSTFIX) );
+	OUString aDLLSuffix; //= OUString::createFromAscii( STRING(DLLPOSTFIX) );
 
 	OUString aLibName;
 



Mime
View raw message