diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-30 07:59:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-30 14:07:20 +0100 |
commit | 1889728897e16800d58773a302eb5232a6fada76 (patch) | |
tree | 9c2dc5ec0054da6705b37920c1e5f2f8a4f064da /basic | |
parent | removed duplicate includes in desktop / editeng (diff) | |
download | core-1889728897e16800d58773a302eb5232a6fada76.tar.gz core-1889728897e16800d58773a302eb5232a6fada76.zip |
remove static OUStrings from static_initialization_and_destruction chain
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 9fb8b1030da3..438064104fed 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -115,7 +115,7 @@ static char const ID_DBG_PROPERTIES[] = "Dbg_Properties"; static char const ID_DBG_METHODS[] = "Dbg_Methods"; static ::rtl::OUString aSeqLevelStr( RTL_CONSTASCII_USTRINGPARAM("[]") ); -static ::rtl::OUString defaultNameSpace( RTL_CONSTASCII_USTRINGPARAM("ooo.vba") ); +static char const defaultNameSpace[] = "ooo.vba"; // Gets the default property for an uno object. Note: There is some // redirection built in. The property name specifies the name @@ -3291,7 +3291,7 @@ VBAConstantHelper::init() { Sequence< TypeClass > types(1); types[ 0 ] = TypeClass_CONSTANTS; - Reference< XTypeDescriptionEnumeration > xEnum = getTypeDescriptorEnumeration( defaultNameSpace, types, TypeDescriptionSearchDepth_INFINITE ); + Reference< XTypeDescriptionEnumeration > xEnum = getTypeDescriptorEnumeration( rtl::OUString(defaultNameSpace), types, TypeDescriptionSearchDepth_INFINITE ); if ( !xEnum.is() ) return; //NULL; |