[Libreoffice-commits] .: l10ntools/source

Gert Faller gfaller at kemper.freedesktop.org
Mon Nov 22 09:05:59 PST 2010


 l10ntools/source/srciter.cxx  |   14 +++++++-------
 l10ntools/source/xmlparse.cxx |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit df82afa8456947b73370b30566f3b831e5ae0841
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date:   Mon Nov 22 18:05:07 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM in libs-gui 05

diff --git a/l10ntools/source/srciter.cxx b/l10ntools/source/srciter.cxx
index 0d047e8..d8487c5 100644
--- a/l10ntools/source/srciter.cxx
+++ b/l10ntools/source/srciter.cxx
@@ -64,13 +64,13 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory )
     if ( bInExecute ) {
         rtl::OUString sDirName = aDirectory.getDirectoryName();
         
-        static rtl::OUString WCARD1 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("unxlng")) );
-        static rtl::OUString WCARD2 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("unxsol")) );
-        static rtl::OUString WCARD3 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("wntmsc")) );
-        static rtl::OUString WCARD4 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("common")) );
-        static rtl::OUString WCARD5 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("unxmac")) );
-        static rtl::OUString WCARD6 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("unxubt")) );
-        static rtl::OUString WCARD7 ( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".svn")) );
+        static rtl::OUString WCARD1 ( RTL_CONSTASCII_USTRINGPARAM("unxlng") );
+        static rtl::OUString WCARD2 ( RTL_CONSTASCII_USTRINGPARAM("unxsol") );
+        static rtl::OUString WCARD3 ( RTL_CONSTASCII_USTRINGPARAM("wntmsc") );
+        static rtl::OUString WCARD4 ( RTL_CONSTASCII_USTRINGPARAM("common") );
+        static rtl::OUString WCARD5 ( RTL_CONSTASCII_USTRINGPARAM("unxmac") );
+        static rtl::OUString WCARD6 ( RTL_CONSTASCII_USTRINGPARAM("unxubt") );
+        static rtl::OUString WCARD7 ( RTL_CONSTASCII_USTRINGPARAM(".svn") );
 
         
         if( sDirName.indexOf( WCARD1 , 0 ) > -1 ||
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 40aa199..4310bcd 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -899,7 +899,7 @@ void XMLElement::Print(XMLNode *pCur, OUStringBuffer& buffer , bool rootelement
 /*****************************************************************************/
     //YD FIXME somewhere COMMENT is defined as 4!
     static const String _COMMENT = String::CreateFromAscii("comment");
-    static const OUString XML_LANG ( OUString(RTL_CONSTASCII_USTRINGPARAM("xml-lang")) );
+    static const OUString XML_LANG ( RTL_CONSTASCII_USTRINGPARAM("xml-lang") );
 
     if(pCur!=NULL){
         if(rootelement){


More information about the Libreoffice-commits mailing list