diff options
Diffstat (limited to 'oox/source/ole')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 4 | ||||
-rw-r--r-- | oox/source/ole/vbamodule.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index cb9e7d25b859..76cc98927d87 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -2520,8 +2520,8 @@ HtmlSelectModel::HtmlSelectModel() bool HtmlSelectModel::importBinaryModel( BinaryInputStream& rInStrm ) { - static OUString sMultiple( "<SELECT MULTIPLE" ); - static OUString sSelected( "OPTION SELECTED" ); + static const char sMultiple[] = "<SELECT MULTIPLE"; + static const char sSelected[] = "OPTION SELECTED"; OUString sStringContents = rInStrm.readUnicodeArray( rInStrm.size() ); diff --git a/oox/source/ole/vbamodule.cxx b/oox/source/ole/vbamodule.cxx index b6794f319e39..86689ebe6332 100644 --- a/oox/source/ole/vbamodule.cxx +++ b/oox/source/ole/vbamodule.cxx @@ -144,7 +144,7 @@ void VbaModule::createEmptyModule( const Reference< container::XNameContainer >& OUString VbaModule::readSourceCode( StorageBase& rVbaStrg ) const { OUStringBuffer aSourceCode; - const static OUString sUnmatchedRemovedTag( "Rem removed unmatched Sub/End: " ); + static const char sUnmatchedRemovedTag[] = "Rem removed unmatched Sub/End: "; if( !maStreamName.isEmpty() && (mnOffset != SAL_MAX_UINT32) ) { BinaryXInputStream aInStrm( rVbaStrg.openInputStream( maStreamName ), true ); |