diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-05 08:21:14 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-05 08:21:14 +0100 |
commit | 814dda2ca2d0d9ac31a32d44a75bde4a1e4ed6fc (patch) | |
tree | b0fff77209499b15f7c9959187fd0622f0460ccf /drawinglayer | |
parent | 0d027f030fde7e6934937621c4cac69be729f50c (diff) |
Easy Hacks : RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'drawinglayer')
3 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive2d/controlprimitive2d.cxx b/drawinglayer/source/primitive2d/controlprimitive2d.cxx index 6ab0812b27a6..96ca10484549 100644 --- a/drawinglayer/source/primitive2d/controlprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/controlprimitive2d.cxx @@ -67,7 +67,7 @@ namespace drawinglayer if(xSet.is()) { - uno::Any aValue(xSet->getPropertyValue(rtl::OUString::createFromAscii("DefaultControl"))); + uno::Any aValue(xSet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultControl")))); rtl::OUString aUnoControlTypeName; if(aValue >>= aUnoControlTypeName) diff --git a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx index de799da011e1..6c60b3f22281 100644 --- a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx @@ -210,7 +210,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::createFromAscii("com.sun.star.i18n.BreakIterator")), ::com::sun::star::uno::UNO_QUERY); + xLocalBreakIterator.set(xMSF->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("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 55b63a8cd7ff..36c06cfc8b18 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1076,7 +1076,7 @@ namespace drawinglayer if(!mxBreakIterator.is()) { uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF(::comphelper::getProcessServiceFactory()); - mxBreakIterator.set(xMSF->createInstance(rtl::OUString::createFromAscii("com.sun.star.i18n.BreakIterator")), uno::UNO_QUERY); + mxBreakIterator.set(xMSF->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator"))), uno::UNO_QUERY); } if(mxBreakIterator.is()) |