diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-06 23:09:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-07 12:27:31 +0000 |
commit | 75871d9a8c0f22f3d5486023a56175d0d04e66d5 (patch) | |
tree | 0f08695d0a3d611c1f97c87463a3aebec7d213f2 /sc | |
parent | b2fe416ef61347b9e26691b745574519947cf796 (diff) |
callcatcher: remove some unused methods
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xipivot.cxx | 5 | ||||
-rw-r--r-- | sc/source/filter/excel/xistyle.cxx | 13 | ||||
-rw-r--r-- | sc/source/filter/inc/xipivot.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/xistyle.hxx | 3 |
4 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx index 34b1c0c2ea6e..6eb9ee9e5039 100644 --- a/sc/source/filter/excel/xipivot.cxx +++ b/sc/source/filter/excel/xipivot.cxx @@ -907,11 +907,6 @@ const String* XclImpPTItem::GetItemName() const return 0; } -const String* XclImpPTItem::GetVisItemName() const -{ - return maItemInfo.HasVisName() ? maItemInfo.GetVisName() : GetItemName(); -} - void XclImpPTItem::ReadSxvi( XclImpStream& rStrm ) { rStrm >> maItemInfo; diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx index 49d1b196c668..2ea78a36cd32 100644 --- a/sc/source/filter/excel/xistyle.cxx +++ b/sc/source/filter/excel/xistyle.cxx @@ -157,19 +157,6 @@ ColorData XclImpPalette::GetColorData( sal_uInt16 nXclIndex ) const return GetDefColorData( nXclIndex ); } -::com::sun::star::uno::Sequence< sal_Int32 > XclImpPalette::CreateColorSequence() const -{ - sal_Int32 nCount = static_cast< sal_Int32 >( maColorTable.size() ); - ::com::sun::star::uno::Sequence< sal_Int32 > aSeq( nCount ); - if( nCount > 0 ) - { - sal_Int32* pnSeqColor = aSeq.getArray(); - for( ColorDataVec::const_iterator aIt = maColorTable.begin(), aEnd = maColorTable.end(); aIt != aEnd; ++aIt, ++pnSeqColor ) - *pnSeqColor = static_cast< sal_Int32 >( *aIt ); - } - return aSeq; -} - void XclImpPalette::ReadPalette( XclImpStream& rStrm ) { sal_uInt16 nCount; diff --git a/sc/source/filter/inc/xipivot.hxx b/sc/source/filter/inc/xipivot.hxx index 8a8e6b7696dd..ee5d03b76b8a 100644 --- a/sc/source/filter/inc/xipivot.hxx +++ b/sc/source/filter/inc/xipivot.hxx @@ -225,8 +225,6 @@ public: /** Returns the internal name of the item or 0, if no name could be found. */ const String* GetItemName() const; - /** Returns the displayed name of the item or 0, if no name could be found. */ - const String* GetVisItemName() const; /** Reads an SXVI record containing data of this item. */ void ReadSxvi( XclImpStream& rStrm ); diff --git a/sc/source/filter/inc/xistyle.hxx b/sc/source/filter/inc/xistyle.hxx index 5c74d82ee295..eb31e44ae3af 100644 --- a/sc/source/filter/inc/xistyle.hxx +++ b/sc/source/filter/inc/xistyle.hxx @@ -69,9 +69,6 @@ public: @return The color from current or default palette or COL_AUTO, if nothing else found. */ inline Color GetColor( sal_uInt16 nXclIndex ) const { return Color( GetColorData( nXclIndex ) ); } - /** Returns the palette colors as UNO sequence. */ - ::com::sun::star::uno::Sequence< sal_Int32 > - CreateColorSequence() const; /** Reads a PALETTE record. */ void ReadPalette( XclImpStream& rStrm ); |