[Libreoffice-commits] .: basic/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Nov 5 08:39:43 PDT 2010
basic/source/basmgr/basmgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0e156fe80daa1dc704641bd271bd913201c30fb1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Nov 5 15:39:34 2010 +0000
That's not a constant string, hence the smoketest failure
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index d51cbc0..882fa8b 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 );
More information about the Libreoffice-commits
mailing list