[Libreoffice-commits] .: cui/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Oct 31 10:22:45 PDT 2010
cui/source/tabpages/numpages.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit f965c94f564a8756e8fb9f462a5af77e2c05e2ed
Author: Joost Eekhoorn <joost.eekhoorn at gmail.com>
Date: Sun Oct 31 17:22:39 2010 +0000
Use RTL_CONSTASCII_USTRINGPARAM macro
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 0db81ac..582f34b 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -91,7 +91,6 @@ using namespace com::sun::star::text;
using namespace com::sun::star::container;
using namespace com::sun::star::style;
using rtl::OUString;
-#define C2U(cChar) OUString::createFromAscii(cChar)
SV_IMPL_PTRARR(SvxNumSettingsArr_Impl,SvxNumSettings_ImplPtr);
@@ -126,7 +125,7 @@ Reference<XDefaultNumberingProvider> lcl_GetNumberingProvider()
{
Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory();
Reference < XInterface > xI = xMSF->createInstance(
- ::rtl::OUString::createFromAscii( "com.sun.star.text.DefaultNumberingProvider" ) );
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.text.DefaultNumberingProvider" )) );
Reference<XDefaultNumberingProvider> xRet(xI, UNO_QUERY);
DBG_ASSERT(xRet.is(), "service missing: \"com.sun.star.text.DefaultNumberingProvider\"");
More information about the Libreoffice-commits
mailing list