summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2010-11-20 16:45:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-20 16:45:27 +0000
commit88118c8a4e3d62a1c5ff2c8f4acc91d99e0ce357 (patch)
tree804d655e22cf24343e3f53eb3ab4d0d9a4bdeafd /desktop
parentc44fdc7a1f6d787bb8eea8c39c10b97f70012dc2 (diff)
RTL_CONSTASCII_USTRINGPARAM improvements
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/langselect.cxx2
1 files changed, 1 insertions, 1 deletions
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& )