From 88118c8a4e3d62a1c5ff2c8f4acc91d99e0ce357 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 20 Nov 2010 16:45:27 +0000 Subject: RTL_CONSTASCII_USTRINGPARAM improvements --- desktop/source/app/langselect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx index ae4a9f4bacd1..1ccfb42c2a2a 100644 --- a/desktop/source/app/langselect.cxx +++ b/desktop/source/app/langselect.cxx @@ -536,7 +536,7 @@ void LanguageSelection::resetUserLanguage() try { Reference< XPropertySet > xProp(getConfigAccess("org.openoffice.Office.Linguistic/General", sal_True), UNO_QUERY_THROW); - xProp->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("UILocale")), makeAny(OUString::createFromAscii(""))); + xProp->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("UILocale")), makeAny(OUString())); Reference< XChangesBatch >(xProp, UNO_QUERY_THROW)->commitChanges(); } catch ( PropertyVetoException& ) -- cgit