[Libreoffice-commits] .: i18npool/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Thu May 31 19:20:03 PDT 2012


 i18npool/source/textconversion/textconversion.cxx      |    4 ++--
 i18npool/source/transliteration/textToPronounce_zh.cxx |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 43c0c12369f379ec1c851486883a855f8f445d70
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu May 31 21:19:42 2012 -0500

    targeted string re-work
    
    Change-Id: Ie250e1953c84caea5e67c26c7a4f9a1ae206f42b

diff --git a/i18npool/source/textconversion/textconversion.cxx b/i18npool/source/textconversion/textconversion.cxx
index 30b7fef..39c5ce4 100644
--- a/i18npool/source/textconversion/textconversion.cxx
+++ b/i18npool/source/textconversion/textconversion.cxx
@@ -46,9 +46,9 @@ TextConversion::TextConversion()
 {
 #ifndef DISABLE_DYNLOADING
 #ifdef SAL_DLLPREFIX
-    OUString lib(RTL_CONSTASCII_USTRINGPARAM(SAL_DLLPREFIX"textconv_dict" SAL_DLLEXTENSION));
+    OUString lib(SAL_DLLPREFIX"textconv_dict" SAL_DLLEXTENSION);
 #else
-    OUString lib(RTL_CONSTASCII_USTRINGPARAM("textconv_dict" SAL_DLLEXTENSION));
+    OUString lib("textconv_dict" SAL_DLLEXTENSION);
 #endif
     hModule = osl_loadModuleRelative(
         &thisModule, lib.pData, SAL_LOADMODULE_DEFAULT );
diff --git a/i18npool/source/transliteration/textToPronounce_zh.cxx b/i18npool/source/transliteration/textToPronounce_zh.cxx
index 7e94b07..3cf3f45 100644
--- a/i18npool/source/transliteration/textToPronounce_zh.cxx
+++ b/i18npool/source/transliteration/textToPronounce_zh.cxx
@@ -172,9 +172,9 @@ extern "C" { static void SAL_CALL thisModule() {} }
 TextToPronounce_zh::TextToPronounce_zh(const sal_Char* func_name)
 {
 #ifdef SAL_DLLPREFIX
-    OUString lib(RTL_CONSTASCII_USTRINGPARAM(SAL_DLLPREFIX"index_data" SAL_DLLEXTENSION));
+    OUString lib(SAL_DLLPREFIX"index_data" SAL_DLLEXTENSION);
 #else
-    OUString lib(RTL_CONSTASCII_USTRINGPARAM("index_data" SAL_DLLEXTENSION));
+    OUString lib("index_data" SAL_DLLEXTENSION);
 #endif
     hModule = osl_loadModuleRelative(
         &thisModule, lib.pData, SAL_LOADMODULE_DEFAULT );


More information about the Libreoffice-commits mailing list