diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-05 15:39:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-05 15:39:34 +0000 |
commit | 0e156fe80daa1dc704641bd271bd913201c30fb1 (patch) | |
tree | 9d9522a68609b38f8bb765994744dfab7d9771cf /basic | |
parent | fa42616b7c5e03ff9967afd826a2da5e95e855c9 (diff) |
That's not a constant string, hence the smoketest failure
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 2 |
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 ); |