From c714b43b0137ad253f51e1c65417c9874b8509e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Jul 2015 13:12:31 +0200 Subject: loplugin:unusedmethods oox Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4 Reviewed-on: https://gerrit.libreoffice.org/17225 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/oox/dump/dumperbase.hxx | 21 --------------------- include/oox/dump/xlsbdumper.hxx | 39 --------------------------------------- 2 files changed, 60 deletions(-) (limited to 'include/oox/dump') diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx index d637ddf754ff..d0530553d074 100644 --- a/include/oox/dump/dumperbase.hxx +++ b/include/oox/dump/dumperbase.hxx @@ -690,9 +690,6 @@ protected: virtual void implSetName( sal_Int64 nKey, const OUString& rName ) SAL_OVERRIDE; -private: - void insertNames( sal_Int64 nStartKey, const OUString& rData ); - private: bool mbIgnoreEmpty; }; @@ -1018,7 +1015,6 @@ public: void newLine(); void emptyLine( size_t nCount = 1 ); - OUStringBuffer& getLine() { return maLine; } void incIndent(); void decIndent(); @@ -1035,13 +1031,10 @@ public: void startItem( const String& rItemName ); void contItem(); void endItem(); - const OUString& getLastItemValue() const { return maLastItem; } void startMultiItems(); void endMultiItems(); - - void writeChar( sal_Unicode cChar, sal_Int32 nCount = 1 ); void writeAscii( const sal_Char* pcStr ); void writeString( const OUString& rStr ); @@ -1124,7 +1117,6 @@ public: const sal_Int32* pnColWidths ) : mrOut( *rxOut ) { mrOut.startTable( nColCount, pnColWidths ); } ~TableGuard() { mrOut.endTable(); } - void tab() { mrOut.tab(); } void tab( size_t nCol ) { mrOut.tab( nCol ); } private: TableGuard( const TableGuard& ) SAL_DELETED_FUNCTION; @@ -1480,13 +1472,6 @@ protected: virtual bool implIsValid() const SAL_OVERRIDE; - - - ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > - getXInputStream() const; - - - void skipBlock( sal_Int64 nBytes, bool bShowSize = true ); void dumpRawBinary( sal_Int64 nBytes, bool bShowOffset = true, bool bStream = false ); @@ -1765,14 +1750,10 @@ protected: const String& rRecNames, const String& rSimpleRecs = EMPTY_STRING ); - sal_Int64 getRecPos() const { return mnRecPos; } sal_Int64 getRecId() const { return mnRecId; } sal_Int64 getRecSize() const { return mnRecSize; } NameListRef getRecNames() const { return maRecNames.getNameList( cfg() ); } - void setBinaryOnlyMode( bool bBinaryOnly ) { mbBinaryOnly = bBinaryOnly; } - bool isBinaryOnlyMode() const { return mbBinaryOnly; } - virtual bool implIsValid() const SAL_OVERRIDE; virtual void implDump() SAL_OVERRIDE; @@ -1806,8 +1787,6 @@ class SequenceRecordObjectBase : public RecordObjectBase protected: SequenceRecordObjectBase() : mxRecData( new StreamDataSequence ) {} - StreamDataSequence& getRecordDataSequence() { return *mxRecData; } - using RecordObjectBase::construct; void construct( const ObjectBase& rParent, diff --git a/include/oox/dump/xlsbdumper.hxx b/include/oox/dump/xlsbdumper.hxx index 3a9e7b0b082a..8d01018b0c53 100644 --- a/include/oox/dump/xlsbdumper.hxx +++ b/include/oox/dump/xlsbdumper.hxx @@ -44,48 +44,9 @@ protected: virtual ~RecordObjectBase(); using SequenceRecordObjectBase::construct; - void construct( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName ); - void construct( const RecordObjectBase& rParent ); virtual bool implReadRecordHeader( BinaryInputStream& rBaseStrm, sal_Int64& ornRecId, sal_Int64& ornRecSize ) SAL_OVERRIDE; - OUString getErrorName( sal_uInt8 nErrCode ) const; - - - - void readAddress( Address& orAddress ); - void readRange( Range& orRange ); - void readRangeList( RangeList& orRanges ); - - - - void writeBooleanItem( const String& rName, sal_uInt8 nBool ); - void writeErrorCodeItem( const String& rName, sal_uInt8 nErrCode ); - - void writeFontPortions( const ::oox::xls::FontPortionModelList& rPortions ); - void writePhoneticPortions( const ::oox::xls::PhoneticPortionModelList& rPhonetics ); - - - - sal_uInt8 dumpBoolean( const String& rName = EMPTY_STRING ); - sal_uInt8 dumpErrorCode( const String& rName = EMPTY_STRING ); - OUString dumpString( const String& rName = EMPTY_STRING, bool bRich = false, bool b32BitLen = true ); - void dumpColor( const String& rName = EMPTY_STRING ); - ::com::sun::star::util::DateTime dumpPivotDateTime( const String& rName = EMPTY_STRING ); - - sal_Int32 dumpColIndex( const String& rName = EMPTY_STRING ); - sal_Int32 dumpRowIndex( const String& rName = EMPTY_STRING ); - sal_Int32 dumpColRange( const String& rName = EMPTY_STRING ); - sal_Int32 dumpRowRange( const String& rName = EMPTY_STRING ); - - Address dumpAddress( const String& rName = EMPTY_STRING ); - Range dumpRange( const String& rName = EMPTY_STRING ); - void dumpRangeList( const String& rName = EMPTY_STRING ); - - -private: - bool readCompressedInt( BinaryInputStream& rStrm, sal_Int32& ornValue ); - private: typedef std::shared_ptr< SequenceInputStream > SequenceInputStreamRef; -- cgit