Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hello,
being off for some days, here the collection of patches I produced in
between. Each patch concern the cleaning of directory, this will allow
to review / descard some parts if needed.
best regards
pjacquod
From c3b35d242fc9973d198571e19d37e7e12b746d97 Mon Sep 17 00:00:00 2001
From: pjacquod <pjacquod@alumni.ethz.ch>
Date: Mon, 15 Nov 2010 22:33:50 +0100
Subject: [PATCH 01/12] RTL_CONSTASCII_USTRINGPARAM  in components/cui/...option

---
 cui/source/options/connpoolconfig.cxx |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cui/source/options/connpoolconfig.cxx b/cui/source/options/connpoolconfig.cxx
index 41366d1..4bdc859 100644
--- a/cui/source/options/connpoolconfig.cxx
+++ b/cui/source/options/connpoolconfig.cxx
@@ -51,42 +51,42 @@ namespace offapp
     //--------------------------------------------------------------------
     static const ::rtl::OUString& getConnectionPoolNodeName()
     {
-        static ::rtl::OUString s_sNodeName = 
::rtl::OUString::createFromAscii("org.openoffice.Office.DataAccess/ConnectionPool");
+        static ::rtl::OUString s_sNodeName 
(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.DataAccess/ConnectionPool") ) );
         return s_sNodeName;
     }
 
     //--------------------------------------------------------------------
     static const ::rtl::OUString& getEnablePoolingNodeName()
     {
-        static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("EnablePooling");
+        static ::rtl::OUString s_sNodeName 
(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("EnablePooling") ) );
         return s_sNodeName;
     }
 
     //--------------------------------------------------------------------
     static const ::rtl::OUString& getDriverSettingsNodeName()
     {
-        static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("DriverSettings");
+        static ::rtl::OUString s_sNodeName 
(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DriverSettings") ) );
         return s_sNodeName;
     }
 
     //--------------------------------------------------------------------
     static const ::rtl::OUString& getDriverNameNodeName()
     {
-        static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("DriverName");
+        static ::rtl::OUString s_sNodeName 
(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DriverName") ) );
         return s_sNodeName;
     }
 
     //--------------------------------------------------------------------
     static const ::rtl::OUString& getEnableNodeName()
     {
-        static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("Enable");
+        static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Enable") 
) );
         return s_sNodeName;
     }
 
     //--------------------------------------------------------------------
     static const ::rtl::OUString& getTimeoutNodeName()
     {
-        static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("Timeout");
+        static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Timeout") 
) );
         return s_sNodeName;
     }
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.