summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-05 15:39:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-05 15:39:34 +0000
commit0e156fe80daa1dc704641bd271bd913201c30fb1 (patch)
tree9d9522a68609b38f8bb765994744dfab7d9771cf /basic
parentfa42616b7c5e03ff9967afd826a2da5e95e855c9 (diff)
That's not a constant string, hence the smoketest failure
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index d51cbc0109..882fa8b2d0 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1824,7 +1824,7 @@ Any BasicManager::SetGlobalUNOConstant( const sal_Char* _pAsciiName, const Any&
if ( !pStandardLib )
return aOldValue;
- ::rtl::OUString sVarName( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( _pAsciiName )) );
+ ::rtl::OUString sVarName( ::rtl::OUString::createFromAscii( _pAsciiName ) );
// obtain the old value
SbxVariable* pVariable = pStandardLib->Find( sVarName, SbxCLASS_OBJECT );