[PATCH] Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAM from salpl...

Chris Sherlock (via Code Review) gerrit at gerrit.libreoffice.org
Fri Mar 8 04:40:01 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2594

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/94/2594/1

Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAM from salplug.cxx

Change-Id: I49b77fee3864e8a389998a4e9df1054bf29b2722
---
M vcl/unx/generic/plugadapt/salplug.cxx
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx
index eb5f98a..3d87977 100644
--- a/vcl/unx/generic/plugadapt/salplug.cxx
+++ b/vcl/unx/generic/plugadapt/salplug.cxx
@@ -46,7 +46,7 @@
     // SAL_USE_VCLPLUGIN=gtk3 (would ideally depend on experimental mode, but
     // reading the experimental mode setting requires the UNO service manager
     // which has not yet been instantiated):
-    if (!bForce && rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("gtk3")))
+    if (!bForce && rModuleBase == "gtk3")
     {
         return NULL;
     }
@@ -207,7 +207,7 @@
         osl_getCommandArg( i, &aParam.pData );
         if( aParam == "-headless" || aParam == "--headless" )
         {
-            return tryInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "svp" ) ) );
+            return tryInstance("svp");
         }
     }
     return NULL;

-- 
To view, visit https://gerrit.libreoffice.org/2594
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49b77fee3864e8a389998a4e9df1054bf29b2722
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Chris Sherlock <chris.sherlock79 at gmail.com>



More information about the LibreOffice mailing list