drawinglayer/source/primitive2d/controlprimitive2d.cxx       |    2 +-
 drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx |    2 +-
 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit f9a0fa94f27b96a10e17ed0e15fbf38dc17ad1d8
Author: Michael Meeks <[email protected]>
Date:   Tue May 22 18:24:33 2012 +0100

    targetted string re-work
    
    Change-Id: Icb84c34782dd41e0658f5f8ed4f689f149331d99

diff --git a/drawinglayer/source/primitive2d/controlprimitive2d.cxx 
b/drawinglayer/source/primitive2d/controlprimitive2d.cxx
index 3d7f8d1..cd4216e 100644
--- a/drawinglayer/source/primitive2d/controlprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/controlprimitive2d.cxx
@@ -64,7 +64,7 @@ namespace drawinglayer
 
                 if(xSet.is())
                 {
-                    uno::Any 
aValue(xSet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultControl"))));
+                    uno::Any aValue(xSet->getPropertyValue("DefaultControl"));
                     rtl::OUString aUnoControlTypeName;
 
                     if(aValue >>= aUnoControlTypeName)
diff --git a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx 
b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
index cfbf749..a50724d 100644
--- a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
@@ -207,7 +207,7 @@ namespace drawinglayer
             if(!xLocalBreakIterator.is())
             {
                 ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XMultiServiceFactory > 
xMSF(::comphelper::getProcessServiceFactory());
-                
xLocalBreakIterator.set(xMSF->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator"))),
 ::com::sun::star::uno::UNO_QUERY);
+                
xLocalBreakIterator.set(xMSF->createInstance("com.sun.star.i18n.BreakIterator"),
 ::com::sun::star::uno::UNO_QUERY);
             }
 
             if(xLocalBreakIterator.is() && getTextLength())
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 9fc679e..328016e 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1098,7 +1098,7 @@ namespace drawinglayer
                         if(!mxBreakIterator.is())
                         {
                             uno::Reference< 
::com::sun::star::lang::XMultiServiceFactory > 
xMSF(::comphelper::getProcessServiceFactory());
-                            
mxBreakIterator.set(xMSF->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator"))),
 uno::UNO_QUERY);
+                            
mxBreakIterator.set(xMSF->createInstance("com.sun.star.i18n.BreakIterator"), 
uno::UNO_QUERY);
                         }
 
                         if(mxBreakIterator.is())
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to