summaryrefslogtreecommitdiff
path: root/desktop/source/app
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
commitf4ed7a32c6d58e1dd0e666aaea7c121ef364f725 (patch)
tree9b864a99562a77cd66787f693e81c7b2717f3925 /desktop/source/app
parentcf3f47cd1b18940972dc978865ffb47b03b03f4e (diff)
RTL_CONSTASCII_USTRINGPARAM improvements
Diffstat (limited to 'desktop/source/app')
-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 e356360608..c7c69fc574 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& )