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/inc | |
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/inc')
-rw-r--r-- | svl/source/inc/poolio.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx index 7c2cfc6ca9dc..d59792ec285f 100644 --- a/svl/source/inc/poolio.hxx +++ b/svl/source/inc/poolio.hxx @@ -77,7 +77,7 @@ struct SfxItemPool_Impl SfxBroadcaster aBC; std::vector<SfxPoolItemArray_Impl*> maPoolItems; std::vector<SfxItemPoolUser*> maSfxItemPoolUsers; /// ObjectUser section - UniString aName; + rtl::OUString aName; SfxPoolItem** ppPoolDefaults; SfxPoolItem** ppStaticDefaults; SfxItemPool* mpMaster; @@ -98,7 +98,7 @@ struct SfxItemPool_Impl bool bStreaming; // in Load() bzw. Store() bool mbPersistentRefCounts; - SfxItemPool_Impl( SfxItemPool* pMaster, const UniString& rName, sal_uInt16 nStart, sal_uInt16 nEnd ) + SfxItemPool_Impl( SfxItemPool* pMaster, const rtl::OUString& rName, sal_uInt16 nStart, sal_uInt16 nEnd ) : maPoolItems(nEnd - nStart + 1, static_cast<SfxPoolItemArray_Impl*>(NULL)) , aName(rName) , ppPoolDefaults(new SfxPoolItem* [nEnd - nStart + 1]) |