diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/chartconverter.cxx | 3 | ||||
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 3 | ||||
-rw-r--r-- | oox/source/export/vmlexport.cxx | 3 | ||||
-rw-r--r-- | oox/source/ole/vbacontrol.cxx | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/oox/source/drawingml/chart/chartconverter.cxx b/oox/source/drawingml/chart/chartconverter.cxx index 725b28c3bfe2..3f004ffd2c9e 100644 --- a/oox/source/drawingml/chart/chartconverter.cxx +++ b/oox/source/drawingml/chart/chartconverter.cxx @@ -47,8 +47,7 @@ const sal_Unicode API_TOKEN_ARRAY_COLSEP = ';'; static OUString lclGenerateApiArray(const std::vector<Any>& rRow, sal_Int32 nStart, sal_Int32 nCount) { OSL_ENSURE( !rRow.empty(), "ChartConverter::lclGenerateApiArray - missing matrix values" ); - OUStringBuffer aBuffer; - aBuffer.append( API_TOKEN_ARRAY_OPEN ); + OUStringBuffer aBuffer(( OUStringChar(API_TOKEN_ARRAY_OPEN) )); for (auto aBeg = rRow.begin() + nStart, aIt = aBeg, aEnd = aBeg + nCount; aIt != aEnd; ++aIt) { double fValue = 0.0; diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 0263396928c1..cfc53d944232 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -1097,8 +1097,7 @@ OUString FlagsList::implGetName( const Config& /*rCfg*/, sal_Int64 nKey ) const setFlag( nKey, nFound, false ); if( nKey != 0 ) { - OUStringBuffer aUnknown( OOX_DUMP_UNKNOWN ); - aUnknown.append( OOX_DUMP_ITEMSEP ); + OUStringBuffer aUnknown( OUString::Concat(OOX_DUMP_UNKNOWN) + OUStringChar(OOX_DUMP_ITEMSEP) ); StringHelper::appendShortHex( aUnknown, nKey ); StringHelper::enclose( aUnknown, '(', ')' ); StringHelper::appendToken( aName, aUnknown ); diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index 2844be0bc8da..7cbfe1f14bfa 100644 --- a/oox/source/export/vmlexport.cxx +++ b/oox/source/export/vmlexport.cxx @@ -1080,8 +1080,7 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const tools::Rectangle& if ( opt.nProp.size() ) { const sal_uInt8 *pIt = opt.nProp.data(); - OStringBuffer buf; - buf.append( " ( " ); + OStringBuffer buf( " ( " ); for ( int nCount = opt.nProp.size(); nCount; --nCount ) { buf.append( OString::number(static_cast<sal_Int32>(*pIt), 16) + " "); diff --git a/oox/source/ole/vbacontrol.cxx b/oox/source/ole/vbacontrol.cxx index bdfe6b363556..217fc32fcf2e 100644 --- a/oox/source/ole/vbacontrol.cxx +++ b/oox/source/ole/vbacontrol.cxx @@ -225,8 +225,7 @@ OUString VbaSiteModel::getSubStorageName() const { if( mnId >= 0 ) { - OUStringBuffer aBuffer; - aBuffer.append( 'i' ); + OUStringBuffer aBuffer( "i" ); if( mnId < 10 ) aBuffer.append( '0' ); aBuffer.append( mnId ); |