diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-20 12:13:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-20 10:45:14 +0000 |
commit | b18e1bc61ccba9d0c74274e2fe45b2b422c601cf (patch) | |
tree | 13d90e6939c5d152c30b948148125be7b0cb6f22 /sc/source/filter/inc | |
parent | Related: rhbz#1362451 avoid recursive ownerchanged handling during ownerchange (diff) | |
download | core-b18e1bc61ccba9d0c74274e2fe45b2b422c601cf.tar.gz core-b18e1bc61ccba9d0c74274e2fe45b2b422c601cf.zip |
loplugin:unusedfields
Change-Id: I852e98b16fdcb88b04e39d11e3101d502c918c24
Reviewed-on: https://gerrit.libreoffice.org/29078
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r-- | sc/source/filter/inc/namebuff.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx index f6d700106976..b60a2c46da91 100644 --- a/sc/source/filter/inc/namebuff.hxx +++ b/sc/source/filter/inc/namebuff.hxx @@ -221,11 +221,10 @@ inline ExtSheetBuffer::ExtSheetBuffer( RootData* p ) : ExcRoot( p ) struct ExtName { - OUString aName; sal_uInt32 nStorageId; sal_uInt16 nFlags; - inline ExtName( const OUString& r, sal_uInt16 n ) : aName( r ), nStorageId( 0 ), nFlags( n ) {} + inline ExtName( sal_uInt16 n ) : nStorageId( 0 ), nFlags( n ) {} bool IsDDE() const; bool IsOLE() const; @@ -236,9 +235,9 @@ class ExtNameBuff : protected XclImpRoot public: explicit ExtNameBuff( const XclImpRoot& rRoot ); - void AddDDE( const OUString& rName, sal_Int16 nRefIdx ); - void AddOLE( const OUString& rName, sal_Int16 nRefIdx, sal_uInt32 nStorageId ); - void AddName( const OUString& rName, sal_Int16 nRefIdx ); + void AddDDE( sal_Int16 nRefIdx ); + void AddOLE( sal_Int16 nRefIdx, sal_uInt32 nStorageId ); + void AddName( sal_Int16 nRefIdx ); const ExtName* GetNameByIndex( sal_Int16 nRefIdx, sal_uInt16 nNameIdx ) const; |