diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 10:18:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 12:18:09 +0100 |
commit | e443216ce2eeb2d4c7463bb019eed32f5ca4ad1c (patch) | |
tree | bbfff4052bc3ff4d2b3f9810d34774224ed1e7e1 /svl/source/items/macitem.cxx | |
parent | 723613ab5ca5e59387dcba63d31bdb66b88035c2 (diff) |
readUnicodeString can just return the string
seeing as no-one checks the return value, we don't need
the intermediate temporary string
Diffstat (limited to 'svl/source/items/macitem.cxx')
-rw-r--r-- | svl/source/items/macitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx index c2c41016a381..32bbad885730 100644 --- a/svl/source/items/macitem.cxx +++ b/svl/source/items/macitem.cxx @@ -142,8 +142,8 @@ SvStream& SvxMacroTableDtor::Read( SvStream& rStrm, sal_uInt16 nVersion ) sal_uInt16 nCurKey, eType = STARBASIC; String aLibName, aMacName; rStrm >> nCurKey; - SfxPoolItem::readByteString(rStrm, aLibName); - SfxPoolItem::readByteString(rStrm, aMacName); + aLibName = SfxPoolItem::readByteString(rStrm); + aMacName = SfxPoolItem::readByteString(rStrm); if( SVX_MACROTBL_VERSION40 <= nVersion ) rStrm >> eType; |