diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-22 10:20:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-22 13:02:57 +0000 |
commit | 96d44c9b077a6cc8068067a795dc63248ab90fea (patch) | |
tree | 3a6df22d2df616d8c2568264e47a5219475cfc90 /sc/source | |
parent | 561cebeeba2155a7ebedbea885c9d7bf43102ec6 (diff) |
loplugin:unusedmethods sc
Change-Id: I7bdb1889a942d63370731764a58f4ab524dedd8a
Reviewed-on: https://gerrit.libreoffice.org/17287
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source')
120 files changed, 16 insertions, 753 deletions
diff --git a/sc/source/core/tool/clkernelthread.cxx b/sc/source/core/tool/clkernelthread.cxx index 6c5afc0e55ed..9a83a1e033ce 100644 --- a/sc/source/core/tool/clkernelthread.cxx +++ b/sc/source/core/tool/clkernelthread.cxx @@ -76,22 +76,6 @@ void CLBuildKernelThread::push(CLBuildKernelWorkItem item) sc::FormulaGroupInterpreter::getStatic(); } -void CLBuildKernelThread::produce() -{ -} - -void CLBuildKernelThread::consume() -{ -} - -void CLBuildKernelThread::finish() -{ - SAL_INFO("sc.opencl", "telling thread to finish"); - CLBuildKernelWorkItem aWorkItem; - aWorkItem.meWhatToDo = CLBuildKernelWorkItem::FINISH; - push(aWorkItem); -} - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx index ac9ea7ffad90..82a7204def37 100644 --- a/sc/source/core/tool/grouparealistener.cxx +++ b/sc/source/core/tool/grouparealistener.cxx @@ -325,12 +325,6 @@ void FormulaGroupAreaListener::collectFormulaCells( } } -ScAddress FormulaGroupAreaListener::getTopCellPos() const -{ - const ScFormulaCell* p = getTopCell(); - return p ? p->aPos : ScAddress(); -} - const ScFormulaCell* FormulaGroupAreaListener::getTopCell() const { size_t nBlockSize = 0; @@ -339,16 +333,6 @@ const ScFormulaCell* FormulaGroupAreaListener::getTopCell() const return pp ? *pp : NULL; } -const ScRange& FormulaGroupAreaListener::getRange() const -{ - return maRange; -} - -SCROW FormulaGroupAreaListener::getGroupLength() const -{ - return mnGroupLen; -} - void FormulaGroupAreaListener::notifyCellChange( const SfxHint& rHint, const ScAddress& rPos ) { // Determine which formula cells within the group need to be notified of this change. diff --git a/sc/source/core/tool/userlist.cxx b/sc/source/core/tool/userlist.cxx index a140fa9ee19b..3f3cac76e292 100644 --- a/sc/source/core/tool/userlist.cxx +++ b/sc/source/core/tool/userlist.cxx @@ -326,11 +326,6 @@ ScUserList::iterator ScUserList::begin() return maData.begin(); } -ScUserList::const_iterator ScUserList::begin() const -{ - return maData.begin(); -} - void ScUserList::clear() { maData.clear(); diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index 78b4b32b6b1b..9b4b0815b1cb 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -185,12 +185,11 @@ void XclExpPCItem::WriteBody( XclExpStream& rStrm ) } XclExpPCField::XclExpPCField( - const XclExpRoot& rRoot, const XclExpPivotCache& rPCache, sal_uInt16 nFieldIdx, + const XclExpRoot& rRoot, sal_uInt16 nFieldIdx, const ScDPObject& rDPObj, const ScRange& rRange ) : XclExpRecord( EXC_ID_SXFIELD ), XclPCField( EXC_PCFIELD_STANDARD, nFieldIdx ), XclExpRoot( rRoot ), - mrPCache( rPCache ), mnTypeFlags( 0 ) { // general settings for the standard field, insert all items from source range @@ -221,12 +220,11 @@ XclExpPCField::XclExpPCField( } XclExpPCField::XclExpPCField( - const XclExpRoot& rRoot, const XclExpPivotCache& rPCache, sal_uInt16 nFieldIdx, + const XclExpRoot& rRoot, sal_uInt16 nFieldIdx, const ScDPObject& rDPObj, const ScDPSaveGroupDimension& rGroupDim, const XclExpPCField& rBaseField ) : XclExpRecord( EXC_ID_SXFIELD ), XclPCField( EXC_PCFIELD_STDGROUP, nFieldIdx ), XclExpRoot( rRoot ), - mrPCache( rPCache ), mnTypeFlags( 0 ) { // add base field info (always using first base field, not predecessor of this field) *** @@ -750,7 +748,7 @@ void XclExpPivotCache::AddStdFields( const ScDPObject& rDPObj ) aColRange.aStart.SetCol( nScCol ); aColRange.aEnd.SetCol( nScCol ); maFieldList.AppendNewRecord( new XclExpPCField( - GetRoot(), *this, GetFieldCount(), rDPObj, aColRange ) ); + GetRoot(), GetFieldCount(), rDPObj, aColRange ) ); } } @@ -771,7 +769,7 @@ void XclExpPivotCache::AddGroupFields( const ScDPObject& rDPObj ) { // insert the new grouping field XclExpPCFieldRef xNewGroupField( new XclExpPCField( - GetRoot(), *this, GetFieldCount(), rDPObj, *pGroupDim, *pCurrStdField ) ); + GetRoot(), GetFieldCount(), rDPObj, *pGroupDim, *pCurrStdField ) ); maFieldList.AppendRecord( xNewGroupField ); // register new grouping field at current grouping field, building a chain diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index fa649ee3c89d..bbd768d3da1d 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -781,11 +781,6 @@ static ScRange lcl_ToRange( const XclRange& rRange ) return aRange; } -OString XclXmlUtils::ToOString( const XclRange& rRange ) -{ - return ToOString( lcl_ToRange( rRange ) ); -} - OString XclXmlUtils::ToOString( const XclRangeList& rRanges ) { ScRangeList aRanges; diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx index 3a9658ce6027..892ec61f2d90 100644 --- a/sc/source/filter/excel/xltoolbar.hxx +++ b/sc/source/filter/excel/xltoolbar.hxx @@ -53,7 +53,6 @@ class ScCTB : public TBBase std::vector<TBVisualData> rVisualData; sal_uInt32 ectbid; std::vector< ScTBC > rTBC; - bool ImportCustomToolBar_Impl( ScCTBWrapper&, CustomToolBarImportHelper& ); public: ScCTB(sal_uInt16); virtual ~ScCTB(){} diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx index df1e4d7068c0..cff08cf323cf 100644 --- a/sc/source/filter/inc/XclExpChangeTrack.hxx +++ b/sc/source/filter/inc/XclExpChangeTrack.hxx @@ -74,13 +74,8 @@ public: virtual ~XclExpUserBViewList(); inline iterator begin () { return aViews.begin(); } - inline iterator end () { return aViews.end(); } - inline const_iterator begin () const { return aViews.begin(); } - - inline const_iterator end () const { return aViews.end(); } - virtual void Save( XclExpStream& rStrm ) SAL_OVERRIDE; }; diff --git a/sc/source/filter/inc/XclImpChangeTrack.hxx b/sc/source/filter/inc/XclImpChangeTrack.hxx index bf7801d5f22f..ce80abdbe480 100644 --- a/sc/source/filter/inc/XclImpChangeTrack.hxx +++ b/sc/source/filter/inc/XclImpChangeTrack.hxx @@ -79,8 +79,6 @@ private: SCTAB ReadTabNum(); void ReadDateTime( DateTime& rDateTime ); - inline void ReadString( OUString& rString ); - bool CheckRecord( sal_uInt16 nOpCode ); void ReadFormula( @@ -144,11 +142,6 @@ inline void XclImpChangeTrack::Read2DRange( ScRange& rRange ) rRange.aEnd.SetCol( static_cast<SCCOL>(pStrm->ReaduInt16()) ); } -inline void XclImpChangeTrack::ReadString( OUString& rString ) -{ - rString = pStrm->ReadUniString(); -} - // derived class for special 3D ref handling class XclImpChTrFmlConverter : public ExcelToSc8 diff --git a/sc/source/filter/inc/addressconverter.hxx b/sc/source/filter/inc/addressconverter.hxx index 27f060b2f7e7..abe6aecebb4c 100644 --- a/sc/source/filter/inc/addressconverter.hxx +++ b/sc/source/filter/inc/addressconverter.hxx @@ -137,18 +137,6 @@ struct BinRange inline explicit BinRange( const ::com::sun::star::table::CellAddress& rFirst, const ::com::sun::star::table::CellAddress& rLast ) : maFirst( rFirst ), maLast( rLast ) {} inline explicit BinRange( const ::com::sun::star::table::CellRangeAddress& rRange ) : maFirst( rRange.StartColumn, rRange.StartRow ), maLast( rRange.EndColumn, rRange.EndRow ) {} - inline void set( const BinAddress& rFirst, const BinAddress& rLast ) - { maFirst = rFirst; maLast = rLast; } - inline void set( sal_Int32 nCol1, sal_Int32 nRow1, sal_Int32 nCol2, sal_Int32 nRow2 ) - { maFirst.set( nCol1, nRow1 ); maLast.set( nCol2, nRow2 ); } - inline void set( const ::com::sun::star::table::CellAddress& rFirst, const ::com::sun::star::table::CellAddress& rLast ) - { maFirst.set( rFirst ); maLast.set( rLast ); } - inline void set( const ::com::sun::star::table::CellRangeAddress& rRange ) - { maFirst.set( rRange.StartColumn, rRange.StartRow ); maLast.set( rRange.EndColumn, rRange.EndRow ); } - - inline sal_Int32 getColCount() const { return maLast.mnCol - maFirst.mnCol + 1; } - inline sal_Int32 getRowCount() const { return maLast.mnRow - maFirst.mnRow + 1; } - void read( SequenceInputStream& rStrm ); void read( BiffInputStream& rStrm, bool bCol16Bit = true, bool bRow32Bit = false ); }; @@ -280,13 +268,6 @@ public: inline const ::com::sun::star::table::CellAddress& getMaxAddress() const { return maMaxPos; } - /** Returns the column overflow status. */ - inline bool isColOverflow() const { return mbColOverflow; } - /** Returns the row overflow status. */ - inline bool isRowOverflow() const { return mbRowOverflow; } - /** Returns the sheet overflow status. */ - inline bool isTabOverflow() const { return mbTabOverflow; } - /** Checks if the passed column index is valid. @param nCol The column index to check. diff --git a/sc/source/filter/inc/autofilterbuffer.hxx b/sc/source/filter/inc/autofilterbuffer.hxx index 5a10a2d4ed29..65ae36b17992 100644 --- a/sc/source/filter/inc/autofilterbuffer.hxx +++ b/sc/source/filter/inc/autofilterbuffer.hxx @@ -172,9 +172,6 @@ public: inline FilterSettingsBase& createFilterSettings() { mxSettings.reset( new FilterSettingsType( *this ) ); return *mxSettings; } - /** Returns the index of the column in the filtered range this object is related to. */ - inline sal_Int32 getColumnId() const { return mnColId; } - /** Returns converted UNO API filter settings representing all filter settings of this column. */ ApiFilterSettings finalizeImport( sal_Int32 nMaxCount ); diff --git a/sc/source/filter/inc/biff.hxx b/sc/source/filter/inc/biff.hxx index 088382e34d19..9d3ca7b980c1 100644 --- a/sc/source/filter/inc/biff.hxx +++ b/sc/source/filter/inc/biff.hxx @@ -29,23 +29,19 @@ // Stream wrapper class class ScBiffReader { - protected: +protected: sal_uInt16 mnId; sal_uInt16 mnLength; sal_uInt32 mnOffset; SvStream *mpStream; bool mbEndOfFile; - public: +public: ScBiffReader( SfxMedium& rMedium ); ~ScBiffReader(); bool recordsLeft() { return mpStream && !mpStream->IsEof(); } bool IsEndOfFile() { return mbEndOfFile; } - void SetEof( bool bValue ){ mbEndOfFile = bValue; } bool nextRecord(); - sal_uInt16 getId() { return mnId; } - sal_uInt16 getLength() { return mnLength; } - SvStream& getStream() { return *mpStream; } }; #endif diff --git a/sc/source/filter/inc/biffinputstream.hxx b/sc/source/filter/inc/biffinputstream.hxx index 7eb816a6ae98..74c1c890bd68 100644 --- a/sc/source/filter/inc/biffinputstream.hxx +++ b/sc/source/filter/inc/biffinputstream.hxx @@ -36,13 +36,8 @@ class BiffInputRecordBuffer public: explicit BiffInputRecordBuffer( BinaryInputStream& rInStrm ); - /** Returns the wrapped binary base stream. */ - inline const BinaryInputStream& getBaseStream() const { return mrInStrm; } - /** Sets a decoder object and decrypts buffered record data. */ void setDecoder( const BiffDecoderRef& rxDecoder ); - /** Returns the current decoder object. */ - inline BiffDecoderRef getDecoder() const { return mxDecoder; } /** Enables/disables usage of current decoder. */ void enableDecoder( bool bEnable ); @@ -63,8 +58,6 @@ public: inline sal_uInt16 getRecId() const { return mnRecId; } /** Returns the current record size. */ inline sal_uInt16 getRecSize() const { return mnRecSize; } - /** Returns the current read position in the current record body. */ - inline sal_uInt16 getRecPos() const { return mnRecPos; } /** Returns the number of remaining bytes in the current record body. */ inline sal_uInt16 getRecLeft() const { return mnRecSize - mnRecPos; } diff --git a/sc/source/filter/inc/defnamesbuffer.hxx b/sc/source/filter/inc/defnamesbuffer.hxx index 41775435cb12..187a46adda83 100644 --- a/sc/source/filter/inc/defnamesbuffer.hxx +++ b/sc/source/filter/inc/defnamesbuffer.hxx @@ -114,7 +114,6 @@ public: void createNameObject( sal_Int32 nIndex ); /** Converts the formula string or BIFF token array for this defined name. */ void convertFormula(); - ApiTokenSequence getTokens(); std::unique_ptr<ScTokenArray> getScTokens(); /** Returns true, if this defined name is global in the document. */ inline bool isGlobalName() const { return mnCalcSheet < 0; } @@ -135,12 +134,6 @@ public: bool getAbsoluteRange( ::com::sun::star::table::CellRangeAddress& orRange ) const; private: - /** Imports the OOXML or BIFF12 definition of the name. */ - void implImportOoxFormula(); - /** Imports the BIFF definition of the name. */ - void implImportBiffFormula(); - -private: typedef ::std::unique_ptr< StreamDataSequence > StreamDataSeqPtr; typedef ::std::unique_ptr< BiffInputStreamPos > BiffStreamPosPtr; @@ -150,7 +143,6 @@ private: sal_Unicode mcBuiltinId; /// Identifier for built-in defined names. StreamDataSeqPtr mxFormula; /// Formula data for BIFF12 import. BiffStreamPosPtr mxBiffStrm; /// Cached BIFF stream for formula import. - sal_uInt16 mnFmlaSize; /// Cached BIFF formula size for formula import. }; typedef std::shared_ptr< DefinedName > DefinedNameRef; diff --git a/sc/source/filter/inc/drawingmanager.hxx b/sc/source/filter/inc/drawingmanager.hxx index 021127a96534..129a1f98d0ca 100644 --- a/sc/source/filter/inc/drawingmanager.hxx +++ b/sc/source/filter/inc/drawingmanager.hxx @@ -60,18 +60,9 @@ public: explicit BiffDrawingBase( const WorksheetHelper& rHelper, const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& rxDrawPage ); - /** Sets the object with the passed identifier to be skipped on import. */ - void setSkipObj( sal_uInt16 nObjId ); - /** Final processing after import of the all drawing objects. */ void finalizeImport(); - /** Derived classes may want to know that a shape has been inserted. Will - be called from the convertAndInsert() implementation. */ - virtual void notifyShapeInserted( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& rxShape, - const ::com::sun::star::awt::Rectangle& rShapeRect ) = 0; - private: ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > mxDrawPage; /// UNO draw page used to insert the shapes. @@ -83,10 +74,6 @@ class BiffSheetDrawing : public BiffDrawingBase public: explicit BiffSheetDrawing( const WorksheetHelper& rHelper ); - /** Called when a new UNO shape has been inserted into the draw page. */ - virtual void notifyShapeInserted( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& rxShape, - const ::com::sun::star::awt::Rectangle& rShapeRect ) SAL_OVERRIDE; }; } // namespace xls diff --git a/sc/source/filter/inc/excimp8.hxx b/sc/source/filter/inc/excimp8.hxx index b8e32b722289..e50cfd4d58a1 100644 --- a/sc/source/filter/inc/excimp8.hxx +++ b/sc/source/filter/inc/excimp8.hxx @@ -55,7 +55,6 @@ public: void ReadBasic(); // 0xD3 void Labelsst(); // 0xFD - void Hlink(); // 0x01B8 void FeatHdr(); // 0x0867 void Feat(); // 0x0868 diff --git a/sc/source/filter/inc/excrecds.hxx b/sc/source/filter/inc/excrecds.hxx index edfb231890e7..6a12db863ac8 100644 --- a/sc/source/filter/inc/excrecds.hxx +++ b/sc/source/filter/inc/excrecds.hxx @@ -360,7 +360,6 @@ public: ~ExcFilterCondition(); inline bool IsEmpty() const { return (nType == EXC_AFTYPE_NOTUSED); } - inline bool HasEqual() const { return (nOper == EXC_AFOPER_EQUAL); } sal_uLong GetTextBytes() const; void SetCondition( sal_uInt8 nTp, sal_uInt8 nOp, double fV, OUString* pT ); diff --git a/sc/source/filter/inc/externallinkbuffer.hxx b/sc/source/filter/inc/externallinkbuffer.hxx index 28633b7d0404..08a2ff8faad2 100644 --- a/sc/source/filter/inc/externallinkbuffer.hxx +++ b/sc/source/filter/inc/externallinkbuffer.hxx @@ -86,9 +86,6 @@ public: /** Imports the DDEITEM_STRING record containing a string in a link result. */ void importDdeItemString( SequenceInputStream& rStrm ); - /** Returns true, if the name refers to an OLE object. */ - inline bool isOleObject() const { return maExtNameModel.mbOleObj; } - #if 0 /** Returns the sheet cache index if this is a sheet-local external name. */ sal_Int32 getSheetCacheIndex() const; diff --git a/sc/source/filter/inc/formel.hxx b/sc/source/filter/inc/formel.hxx index 2fb704094136..35a2c8557216 100644 --- a/sc/source/filter/inc/formel.hxx +++ b/sc/source/filter/inc/formel.hxx @@ -117,12 +117,11 @@ protected: sal_Int32 nBytesLeft; inline void Ignore( const long nSeekRel ); - inline void Read( sal_Char& nByte ); inline void Read( sal_uInt8& nByte ); inline void Read( sal_uInt16& nUINT16 ); inline void Read( sal_Int16& nINT16 ); inline void Read( double& fDouble ); - inline void Read( sal_uInt32& nUINT32 ); + inline void Read( sal_uInt32& nUINT32 ); LotusConverterBase( SvStream& rStr, svl::SharedStringPool& rSPool, sal_uInt16 nNewBuffer ); virtual ~LotusConverterBase(); @@ -143,12 +142,6 @@ inline void LotusConverterBase::Ignore( const long nSeekRel ) nBytesLeft -= nSeekRel; } -inline void LotusConverterBase::Read( sal_Char& nByte ) -{ - aIn.ReadChar( nByte ); - nBytesLeft--; -} - inline void LotusConverterBase::Read( sal_uInt8& nByte ) { aIn.ReadUChar( nByte ); diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx index ebf67558bd9a..ec96e5898b47 100644 --- a/sc/source/filter/inc/formulabase.hxx +++ b/sc/source/filter/inc/formulabase.hxx @@ -308,7 +308,6 @@ class ApiTokenIterator public: explicit ApiTokenIterator( const ApiTokenSequence& rTokens, sal_Int32 nSpacesOpCode, bool bSkipSpaces ); inline bool is() const { return mpToken != mpTokenEnd; } - inline const ApiToken* get() const { return mpToken; } inline const ApiToken* operator->() const { return mpToken; } inline const ApiToken& operator*() const { return *mpToken; } diff --git a/sc/source/filter/inc/fprogressbar.hxx b/sc/source/filter/inc/fprogressbar.hxx index 5b2a8441285c..03442890b074 100644 --- a/sc/source/filter/inc/fprogressbar.hxx +++ b/sc/source/filter/inc/fprogressbar.hxx @@ -116,8 +116,6 @@ public: @return A reference to an ScfProgressBar connected to the segment. */ ScfProgressBar& GetSegmentProgressBar( sal_Int32 nSegment ); - /** Returns true, if any progress segment has been started. */ - inline bool IsStarted() const { return mbInProgress; } /** Returns true, if the current progress segment is already full. */ bool IsFull() const; @@ -191,8 +189,6 @@ public: /** Set progress bar to the specified position. */ inline void ProgressAbs( sal_Size nPos ) { maProgress.ProgressAbs( nPos ); } - /** Increase progress bar by 1. */ - inline void Progress( sal_Size nDelta = 1 ) { maProgress.Progress( nDelta ); } private: /** Initializes and starts the progress bar. */ diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx index de1ccfd3b316..c7f526bfe6c2 100644 --- a/sc/source/filter/inc/htmlpars.hxx +++ b/sc/source/filter/inc/htmlpars.hxx @@ -251,8 +251,6 @@ struct ScHTMLPos { mnCol = nCol; mnRow = nRow; } inline void Set( const ScAddress& rAddr ) { Set( rAddr.Col(), rAddr.Row() ); } - inline void Move( SCsCOL nColDiff, SCsROW nRowDiff ) - { mnCol = mnCol + nColDiff; mnRow = mnRow + nRowDiff; } inline ScAddress MakeAddr() const { return ScAddress( mnCol, mnRow, 0 ); } }; @@ -276,13 +274,8 @@ struct ScHTMLSize inline explicit ScHTMLSize() : mnCols( 0 ), mnRows( 0 ) {} inline explicit ScHTMLSize( SCCOL nCols, SCROW nRows ) : mnCols( nCols ), mnRows( nRows ) {} - - inline SCCOLROW Get( ScHTMLOrient eOrient ) const - { return (eOrient == tdCol) ? mnCols : mnRows; } inline void Set( SCCOL nCols, SCROW nRows ) { mnCols = nCols; mnRows = nRows; } - inline void Expand( SCsCOL nColDiff, SCsROW nRowDiff ) - { mnCols = mnCols + nColDiff; mnRows = mnRows + nRowDiff; } }; inline bool operator==( const ScHTMLSize& rSize1, const ScHTMLSize& rSize2 ) @@ -363,8 +356,6 @@ public: inline const OUString& GetTableName() const { return maTableName; } /** Returns the unique identifier of the table. */ inline ScHTMLTableId GetTableId() const { return maTableId.mnTableId; } - /** Returns the table size. */ - inline const ScHTMLSize& GetSize() const { return maSize; } /** Returns the cell spanning of the specified cell. */ ScHTMLSize GetSpan( const ScHTMLPos& rCellPos ) const; diff --git a/sc/source/filter/inc/lotfntbf.hxx b/sc/source/filter/inc/lotfntbf.hxx index 6cf450d63e95..3529d6e3565d 100644 --- a/sc/source/filter/inc/lotfntbf.hxx +++ b/sc/source/filter/inc/lotfntbf.hxx @@ -63,24 +63,12 @@ private: else pTmpName = new OUString( rNew ); } - inline void Font( SvxFontItem& rNew ) - { - if( pFont ) - delete pFont; - pFont = &rNew; - } inline void Height( SvxFontHeightItem& rNew ) { if( pHeight ) delete pHeight; pHeight = &rNew; } - inline void Color( SvxColorItem& rNew ) - { - if( pColor ) - delete pColor; - pColor = &rNew; - } inline void Type( const sal_uInt16 nNew ) { nType = nNew; } }; diff --git a/sc/source/filter/inc/lotimpop.hxx b/sc/source/filter/inc/lotimpop.hxx index 4cdd130c8e3f..fb6704cc1ba9 100644 --- a/sc/source/filter/inc/lotimpop.hxx +++ b/sc/source/filter/inc/lotimpop.hxx @@ -52,7 +52,6 @@ private: void Numbercell(); // 0x0017 23 void Smallnumcell(); // 0x0018 24 ScFormulaCell* Formulacell( sal_uInt16 nRecLen ); // 0x0019 25 - void Formulastring( ScFormulaCell& ); // 0x001a 26 // 0x001b 27 special void NamedSheet(); // 14000 void RowPresentation( sal_uInt16 nRecLen ); // 2007 @@ -70,7 +69,6 @@ private: inline void Read( sal_uInt8& ); inline void Read( sal_uInt16& ); inline void Read( sal_Int16& ); - inline void Read( sal_uInt32& ); inline void Read( double& ); // 10-Byte-IEEE lesen inline void Read( LotAttrWK3& ); void Read( OUString& ); // 0-terminierten String einlesen @@ -123,11 +121,6 @@ inline void ImportLotus::Read( sal_Int16& r ) pIn->ReadInt16( r ); } -inline void ImportLotus::Read( sal_uInt32& r ) -{ - pIn->ReadUInt32( r ); -} - inline void ImportLotus::Read( double& r ) { r = ScfTools::ReadLongDouble( *pIn ); diff --git a/sc/source/filter/inc/lotrange.hxx b/sc/source/filter/inc/lotrange.hxx index 62356e25b745..1e01f357796f 100644 --- a/sc/source/filter/inc/lotrange.hxx +++ b/sc/source/filter/inc/lotrange.hxx @@ -107,10 +107,7 @@ public: inline sal_uInt16 GetIndex( SCCOL nCol, SCROW nRow ); inline sal_uInt16 GetIndex( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE ); sal_uInt16 GetIndex( const LotusRange& ); - inline void Append( SCCOL nCol, SCROW nRow, const OUString& ); - inline void Append( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE, const OUString& ); void Append( LotusRange* pLR, const OUString& rName ); - inline static void SetEing( const SCCOL nCol, const SCROW nRow ); }; inline LR_ID LotusRangeList::GetIndex( SCCOL nCol, SCROW nRow ) @@ -125,22 +122,6 @@ inline LR_ID LotusRangeList::GetIndex( SCCOL nColS, SCROW nRowS, SCCOL nColE, SC return GetIndex( aRef ); } -inline void LotusRangeList::Append( SCCOL nCol, SCROW nRow, const OUString& rName ) -{ - Append( new LotusRange( nCol, nRow ), rName ); -} - -inline void LotusRangeList::Append( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE, const OUString& r ) -{ - Append( new LotusRange( nColS, nRowS, nColE, nRowE ), r ); -} - -inline void LotusRangeList::SetEing( const SCCOL nCol, const SCROW nRow ) -{ - nEingCol = nCol; - nEingRow = nRow; -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx index ae296aeff136..511b2333b140 100644 --- a/sc/source/filter/inc/namebuff.hxx +++ b/sc/source/filter/inc/namebuff.hxx @@ -96,8 +96,6 @@ public: inline NameBuffer( RootData*, sal_uInt16 nNewBase ); virtual ~NameBuffer(); - inline const OUString* Get( sal_uInt16 nIndex ) const; - inline sal_uInt16 GetLastIndex() const; inline void SetBase( sal_uInt16 nNewBase = 0 ); void operator <<( const OUString& rNewString ); }; @@ -112,22 +110,9 @@ inline NameBuffer::NameBuffer( RootData* p, sal_uInt16 nNewBase ) : ExcRoot( p ) nBase = nNewBase; } -inline const OUString* NameBuffer::Get ( sal_uInt16 n ) const -{ - if( n < nBase || n >= maHashes.size() ) - return NULL; - return &(maHashes[n]->aString); -} -inline sal_uInt16 NameBuffer::GetLastIndex () const -{ - int size = maHashes.size() + nBase; - OSL_ENSURE( size <= 0xFFFF, "*NameBuffer::GetLastIndex(): I'm sick and tired!" ); - - return static_cast<sal_uInt16>( size ); -} inline void NameBuffer::SetBase( sal_uInt16 nNewBase ) { diff --git a/sc/source/filter/inc/richstring.hxx b/sc/source/filter/inc/richstring.hxx index 7dc2eb6302b0..4cfe3a9d2ae4 100644 --- a/sc/source/filter/inc/richstring.hxx +++ b/sc/source/filter/inc/richstring.hxx @@ -127,7 +127,6 @@ public: const FontPortionModel& rModel) { mvModels.insert(it, rModel); } - ::std::vector< FontPortionModel >::const_iterator begin() const { return mvModels.begin(); } ::std::vector< FontPortionModel >::iterator begin() { return mvModels.begin(); } /** Appends a rich-string font identifier. */ diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index ca99252471f0..de9aded3bd6f 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -387,8 +387,6 @@ public: /** Final processing after import of all style settings. */ void finalizeImport(); - /** Returns the protection model structure. */ - inline const ProtectionModel& getModel() const { return maModel; } /** Returns the converted API protection data struct. */ inline const ApiProtectionData& getApiData() const { return maApiData; } @@ -471,8 +469,6 @@ public: /** Final processing after import of all style settings. */ void finalizeImport( bool bRTL ); - /** Returns the border model structure. */ - inline const BorderModel& getModel() const { return maModel; } /** Returns the converted API border data struct. */ inline const ApiBorderData& getApiData() const { return maApiData; } @@ -582,10 +578,6 @@ public: /** Final processing after import of all style settings. */ void finalizeImport(); - /** Returns the fill pattern model structure, if extant. */ - inline const PatternFillModel* getPatternModel() const { return mxPatternModel.get(); } - /** Returns the fill gradient model structure, if extant. */ - inline const GradientFillModel* getGradientModel() const { return mxGradientModel.get(); } /** Returns the converted API fill data struct. */ inline const ApiSolidFillData& getApiData() const { return maApiData; } @@ -667,8 +659,6 @@ public: FontRef getFont() const; /** Returns the alignment data of this style. */ inline const Alignment& getAlignment() const { return maAlignment; } - /** Returns the cell protection data of this style. */ - inline const Protection& getProtection() const { return maProtection; } void applyPatternToAttrList( AttrList& rAttrs, SCROW nRow1, SCROW nRow2, sal_Int32 nForceScNumFmt ); diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx index 8baef985da0e..b103179606bc 100644 --- a/sc/source/filter/inc/tokstack.hxx +++ b/sc/source/filter/inc/tokstack.hxx @@ -202,7 +202,7 @@ public: // only for Range-Names const TokenId Store( const sal_uInt16 nIndex ); - inline const TokenId Store( const sal_Int16 nWert ); + ; const TokenId Store( const OUString& rString ); const TokenId Store( const ScSingleRefData& rTr ); const TokenId Store( const ScComplexRefData& rTr ); @@ -216,10 +216,8 @@ public: const TokenId StoreExtRef( sal_uInt16 nFileId, const OUString& rTabName, const ScSingleRefData& rRef ); const TokenId StoreExtRef( sal_uInt16 nFileId, const OUString& rTabName, const ScComplexRefData& rRef ); - inline const TokenId LastId() const; inline const ScTokenArray* operator []( const TokenId& rId ); void Reset(); - inline E_TYPE GetType( const TokenId& rId ) const; bool IsSingleOp( const TokenId& rId, const DefTokenId eId ) const; const OUString* GetExternal( const TokenId& rId ) const; ScMatrix* GetMatrix( unsigned int n ) const; @@ -350,16 +348,6 @@ inline const TokenId TokenPool::Store() return nId; } -inline const TokenId TokenPool::Store( const sal_Int16 nWert ) -{ - return Store( ( double ) nWert ); -} - -inline const TokenId TokenPool::LastId() const -{ - return static_cast<TokenId>(nElementAkt); // correct, as Ausgabe with Offset 1! -} - const inline ScTokenArray* TokenPool::operator []( const TokenId& rId ) { pScToken->ClearScTokenArray(); @@ -375,19 +363,7 @@ const inline ScTokenArray* TokenPool::operator []( const TokenId& rId ) return pScToken; } -inline E_TYPE TokenPool::GetType( const TokenId& rId ) const -{ - E_TYPE nRet; - - sal_uInt16 nId = (sal_uInt16) rId - 1; - - if( nId < nElementAkt ) - nRet = pType[ nId ] ; - else - nRet = T_Error; - return nRet; -} #endif diff --git a/sc/source/filter/inc/tool.h b/sc/source/filter/inc/tool.h index 3e6e799c73d1..f5e632deefe7 100644 --- a/sc/source/filter/inc/tool.h +++ b/sc/source/filter/inc/tool.h @@ -117,10 +117,6 @@ public: ~FormCache(); inline const SfxUInt32Item* GetAttr( sal_uInt8 nFormat, sal_uInt8 nSt ); - void SetDefaultFormat( sal_uInt8 nD = 0xFF ) - { - nDefaultFormat = nD; - } }; diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx index 27bb7e3a69ca..663baade1f3f 100644 --- a/sc/source/filter/inc/worksheethelper.hxx +++ b/sc/source/filter/inc/worksheethelper.hxx @@ -274,8 +274,6 @@ public: @descr Row default formatting is converted directly, other settings are cached and converted in the finalizeWorksheetImport() call. */ void setRowModel( const RowModel& rModel ); - /** Specifies that the passed row needs to set its height manually. */ - void setManualRowHeight( sal_Int32 nRow ); /** Inserts a value cell directly into the Calc sheet. */ void putValue( const com::sun::star::table::CellAddress& rAddress, double fValue ); diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx index 5b1c744292da..d9c4aafe8d68 100644 --- a/sc/source/filter/inc/xcl97rec.hxx +++ b/sc/source/filter/inc/xcl97rec.hxx @@ -118,7 +118,6 @@ public: inline sal_uInt16 GetObjType() const { return mnObjType; } inline void SetId( sal_uInt16 nId ) { nObjId = nId; } - inline sal_uInt16 GetId() const { return nObjId; } inline void SetTab( SCTAB nScTab ) { mnScTab = nScTab; } inline SCTAB GetTab() const { return mnScTab; } @@ -143,7 +142,6 @@ public: itself. The svx base code does not receive the correct shape ID after the EscherEx::StartShape() call, which would result in deleting the object in EscherEx::EndShape(). */ - inline void SetOwnEscher( bool bOwnEscher = true ) { mbOwnEscher = bOwnEscher; } /** Returns true, if the object has created the escher data itself. @descr See SetOwnEscher() for details. */ inline bool IsOwnEscher() const { return mbOwnEscher; } diff --git a/sc/source/filter/inc/xecontent.hxx b/sc/source/filter/inc/xecontent.hxx index d986d75fcfa4..3fdf8dd839a1 100644 --- a/sc/source/filter/inc/xecontent.hxx +++ b/sc/source/filter/inc/xecontent.hxx @@ -109,7 +109,6 @@ public: virtual void SaveXml( XclExpXmlStream& rStrm ) SAL_OVERRIDE; void WriteEmbeddedData( XclExpStream& rStrm ); - void SetDisplay( bool bDisplay ) { mbSetDisplay = bDisplay; } /** Builds file name from the passed file URL. Tries to convert to relative file name. @param rnLevel (out-param) The parent directory level. diff --git a/sc/source/filter/inc/xename.hxx b/sc/source/filter/inc/xename.hxx index aebd7475441b..9d2844ae1c04 100644 --- a/sc/source/filter/inc/xename.hxx +++ b/sc/source/filter/inc/xename.hxx @@ -41,8 +41,6 @@ public: /** Inserts the Calc name with the passed index and returns the Excel NAME index. */ sal_uInt16 InsertName( SCTAB nTab, sal_uInt16 nScNameIdx ); - /** Inserts the Calc database range with the passed index and returns the Excel NAME index. */ - sal_uInt16 InsertDBRange( sal_uInt16 nScDBRangeIdx ); /** Inserts a new built-in defined name, referring to the passed sheet range. */ sal_uInt16 InsertBuiltInName( sal_Unicode cBuiltIn, const ScRange& rRange ); diff --git a/sc/source/filter/inc/xepage.hxx b/sc/source/filter/inc/xepage.hxx index ea1d82ce8852..3f1d161edcdb 100644 --- a/sc/source/filter/inc/xepage.hxx +++ b/sc/source/filter/inc/xepage.hxx @@ -115,9 +115,6 @@ public: /** Creates all records containing the current page settings. */ explicit XclExpChartPageSettings( const XclExpRoot& rRoot ); - /** Returns read-only access to the page data. */ - inline const XclPageData& GetPageData() const { return maData; } - /** Writes all page settings records to the stream. */ virtual void Save( XclExpStream& rStrm ) SAL_OVERRIDE; diff --git a/sc/source/filter/inc/xepivot.hxx b/sc/source/filter/inc/xepivot.hxx index dafd0884d37f..450c3a411c1a 100644 --- a/sc/source/filter/inc/xepivot.hxx +++ b/sc/source/filter/inc/xepivot.hxx @@ -66,19 +66,17 @@ class XclExpPCField : public XclExpRecord, public XclPCField, protected XclExpRo public: /** Creates a standard pivot cache field, filled from sheet source data. */ explicit XclExpPCField( const XclExpRoot& rRoot, - const XclExpPivotCache& rPCache, sal_uInt16 nFieldIdx, + sal_uInt16 nFieldIdx, const ScDPObject& rDPObj, const ScRange& rRange ); /** Creates a child grouping pivot cache field, filled from the passed grouping info. */ explicit XclExpPCField( const XclExpRoot& rRoot, - const XclExpPivotCache& rPCache, sal_uInt16 nFieldIdx, + sal_uInt16 nFieldIdx, const ScDPObject& rDPObj, const ScDPSaveGroupDimension& rGroupDim, const XclExpPCField& rBaseField ); virtual ~XclExpPCField(); /** Sets the passed field as direct grouping child field of this field. */ void SetGroupChildField( const XclExpPCField& rChildField ); - /** Converts this standard field into a numeric grouping field. */ - void ConvertToNumGroup( const ScDPObject& rDPObj, const ScDPSaveNumGroupDimension& rNumGroupDim ); /** Returns the name of this cache field. */ inline const OUString& GetFieldName() const { return maFieldInfo.maName; } @@ -152,7 +150,6 @@ private: virtual void WriteBody( XclExpStream& rStrm ) SAL_OVERRIDE; private: - const XclExpPivotCache& mrPCache; /// Parent pivot cache containing this field. XclExpPCItemList maOrigItemList; /// List with original items. XclExpPCItemList maGroupItemList; /// List with grouping items. ScfUInt16Vec maIndexVec; /// Indexes into maItemList. @@ -171,8 +168,6 @@ public: /** Returns true, if the item index list will be written. */ bool HasItemIndexList() const; - /** Returns the stream identifier used to create the cache stream. */ - inline sal_uInt16 GetStreamId() const { return maPCInfo.mnStrmId; } /** Returns the list index of the cache used in pivot table records. */ inline sal_uInt16 GetCacheIndex() const { return mnListIdx; } diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx index f1e516f79096..df1383df5360 100644 --- a/sc/source/filter/inc/xerecord.hxx +++ b/sc/source/filter/inc/xerecord.hxx @@ -238,8 +238,6 @@ public: /** Returns the Boolean value of the record. */ inline bool GetBool() const { return mbValue; } - /** Sets a new Boolean record value. */ - inline void SetBool( bool bValue ) { mbValue = bValue; } virtual void SaveXml( XclExpXmlStream& rStrm ) SAL_OVERRIDE; diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx index 90549b7110ed..77d79a88bf4f 100644 --- a/sc/source/filter/inc/xestream.hxx +++ b/sc/source/filter/inc/xestream.hxx @@ -93,13 +93,6 @@ public: /** Returns the position inside of current record (starts by 0 in every CONTINUE). */ inline sal_uInt16 GetRawRecPos() const { return mnCurrSize; } - /** Returns the maximum size of a record. */ - inline sal_uInt16 GetMaxRecSize() const { return mnMaxRecSize; } - /** Sets maximum record size (valid only for current record). */ - inline void SetMaxRecSize( sal_uInt16 nMax ) { mnCurrMaxSize = nMax; } - /** Sets maximum size of CONTINUE records (valid only for current record). */ - inline void SetMaxContSize( sal_uInt16 nMax ) { mnMaxContSize = nMax; } - /** Sets data slice length. 0 = no slices. */ void SetSliceSize( sal_uInt16 nSize ); @@ -272,7 +265,6 @@ public: static OString ToOString( const ScRangeList& rRangeList ); static OStringBuffer& ToOString( OStringBuffer& s, const XclAddress& rAddress ); static OString ToOString( const XclExpString& s ); - static OString ToOString( const XclRange& rRange ); static OString ToOString( const XclRangeList& rRangeList ); static OUString ToOUString( const char* s ); diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx index d91866637345..9e2c2151faec 100644 --- a/sc/source/filter/inc/xestyle.hxx +++ b/sc/source/filter/inc/xestyle.hxx @@ -553,8 +553,6 @@ public: /** Returns true, if this record represents an Excel built-in style. */ inline bool IsBuiltIn() const { return mnStyleId != EXC_STYLE_USERDEF; } - inline const OUString& GetName() const { return maName; } - virtual void SaveXml( XclExpXmlStream& rStrm ) SAL_OVERRIDE; private: diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx index 46e919deec9c..31e879dffc86 100644 --- a/sc/source/filter/inc/xetable.hxx +++ b/sc/source/filter/inc/xetable.hxx @@ -309,8 +309,6 @@ protected: /** Sets this record to a new column position. */ inline void SetXclCol( sal_uInt16 nXclCol ) { maXclPos.mnCol = nXclCol; } - /** Sets this record to a new row position. */ - inline void SetXclRow( sal_uInt32 nXclRow ) { maXclPos.mnRow = nXclRow; } private: XclAddress maXclPos; /// Address of the cell. @@ -498,11 +496,6 @@ protected: explicit XclExpMultiCellBase( sal_uInt16 nRecId, sal_uInt16 nMulRecId, sal_Size nContSize, const XclAddress& rXclPos ); - /** Sets the size of the remaining contents of one cell (without the XF index). */ - inline void SetContSize( sal_Size nContSize ) { mnContSize = nContSize; } - /** Returns the size of the remaining contents of one cell (without the XF index). */ - inline sal_Size GetContSize() const { return mnContSize; } - /** Returns the number of cells this record represents. */ sal_uInt16 GetCellCount() const; @@ -887,8 +880,6 @@ public: inline sal_uInt32 GetXclRowRpt() const { return mnXclRowRpt; } inline void SetXclRowRpt( sal_uInt32 nRpt ){ mnXclRowRpt = nRpt; } private: - /** Initializes the record data. Called from constructors. */ - void Init( sal_uInt16 nXclRow, XclExpRowOutlineBuffer* pOutlineBfr ); /** Inserts a cell at the specified list position, tries to merge with neighbors. */ void InsertCell( XclExpCellRef xCell, size_t nPos, bool bIsMergedBase ); diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx index 5e41c3442d5b..cc1522fb939d 100644 --- a/sc/source/filter/inc/xichart.hxx +++ b/sc/source/filter/inc/xichart.hxx @@ -322,8 +322,6 @@ public: /** Returns true, if the area format is set to automatic. */ inline bool IsAutoArea() const { return !mxEscherFmt && (!mxAreaFmt || mxAreaFmt->IsAuto()); } - /** Returns true, if the area style is set to something visible. */ - inline bool HasArea() const { return mxEscherFmt || IsAutoArea() || mxAreaFmt->HasArea(); } protected: /** Converts and writes the contained line formatting to the passed property set. */ @@ -774,12 +772,8 @@ public: /** Returns the axes set identifier this series is assigned to (primary/secondary). */ inline sal_uInt16 GetGroupIdx() const { return mnGroupIdx; } - /** Returns the 0-based series index described by this series. */ - inline sal_uInt16 GetSeriesIdx() const { return mnSeriesIdx; } /** Returns the 0-based index of the parent series (e.g. of a trend line). */ inline sal_uInt16 GetParentIdx() const { return mnParentIdx; } - /** Returns the format index of the series used for automatic line and area colors. */ - inline sal_uInt16 GetFormatIdx() const { return mxSeriesFmt ? mxSeriesFmt->GetFormatIdx() : EXC_CHDATAFORMAT_DEFAULT; } /** Returns true, if the series is child of another series (e.g. trend line). */ inline bool HasParentSeries() const { return mnParentIdx != EXC_CHSERIES_INVALID; } /** Returns true, if the series contains child series (e.g. trend lines). */ @@ -985,8 +979,6 @@ public: inline const XclChExtTypeInfo& GetTypeInfo() const { return maTypeInfo; } /** Returns true, if this chart type group contains at least one valid series. */ inline bool IsValidGroup() const { return !maSeries.empty(); } - /** Returns true, if the series in this chart type group are stacked on each other (no percentage). */ - inline bool IsStacked() const { return maType.IsStacked(); } /** Returns true, if the series in this chart type group are stacked on each other as percentage. */ inline bool IsPercent() const { return maType.IsPercent(); } /** Returns true, if the chart is three-dimensional. */ @@ -1246,9 +1238,6 @@ private: /** Reads a CHTYPEGROUP record group containing chart type and chart settings. */ void ReadChTypeGroup( XclImpStream& rStrm ); - /** Updates text formatting of the passed axis title with global text formatting. */ - void UpdateAxisTitle( XclImpChTextRef xTitle ); - /** Creates a coordinate system that contains all chart types for this axes set. */ css::uno::Reference< css::chart2::XCoordinateSystem > CreateCoordSystem( css::uno::Reference< css::chart2::XDiagram > xDiagram ) const; diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx index e034c2b5dce5..e123a14031c2 100644 --- a/sc/source/filter/inc/xiescher.hxx +++ b/sc/source/filter/inc/xiescher.hxx @@ -462,8 +462,6 @@ public: /** Returns true, if a linked cell address is present. */ inline bool HasCellLink() const { return mxCellLink != 0; } - /** Returns true, if a linked source cell range is present. */ - inline bool HasSourceRange() const { return mxSrcRange != 0; } /** Returns the SdrObject from the passed control shape and sets the bounding rectangle. */ SdrObject* CreateSdrObjectFromShape( @@ -587,7 +585,6 @@ protected: virtual XclTbxEventType DoGetEventType() const SAL_OVERRIDE; protected: - void ApplyGrouping( XclImpOptionButtonObj& rLeader, sal_Int32 nRefVal ); sal_uInt16 mnNextInGroup; /// Next option button in a group. sal_uInt16 mnFirstInGroup; /// 1 = Button is the first in a group. }; @@ -1173,28 +1170,6 @@ public: OUString GetOleNameOverride( SCTAB nTab, sal_uInt16 nObjId ); private: - - /** Reads and returns a bitmap from WMF/PICT format. */ - static void ReadWmf( Graphic& rGraphic, XclImpStream& rStrm ); - /** Reads and returns a bitmap from BMP format. */ - static void ReadBmp( Graphic& rGraphic, XclImpStream& rStrm ); - - /** Reads contents of an DFF record and append data to internal DFF stream. */ - void ReadDffRecord( XclImpStream& rStrm ); - /** Reads a BIFF8 OBJ record following an MSODRAWING record. */ - void ReadObj8( XclImpStream& rStrm ); - /** Reads the TXO record and following CONTINUE records containing string and formatting. */ - void ReadTxo( XclImpStream& rStrm ); - - /** Reads a BIFF3-BIFF5 NOTE record. */ - void ReadNote3( XclImpStream& rStrm ); - /** Reads a BIFF8 NOTE record. */ - void ReadNote8( XclImpStream& rStrm ); - - /** Returns the size of the progress bar shown while processing all objects. */ - sal_Size GetProgressSize() const; - -private: typedef ::std::map< sal_uInt16, OUString > DefObjNameMap; typedef boost::shared_ptr< XclImpSheetDrawing > XclImpSheetDrawingRef; typedef ::std::map< SCTAB, XclImpSheetDrawingRef > XclImpSheetDrawingMap; diff --git a/sc/source/filter/inc/xipivot.hxx b/sc/source/filter/inc/xipivot.hxx index dce979515f41..7ceeebf03e87 100644 --- a/sc/source/filter/inc/xipivot.hxx +++ b/sc/source/filter/inc/xipivot.hxx @@ -307,7 +307,6 @@ public: sal_uInt16 GetFieldCount() const; const XclImpPTField* GetField( sal_uInt16 nFieldIdx ) const; XclImpPTField* GetFieldAcc( sal_uInt16 nFieldIdx ); - const OUString& GetFieldName( sal_uInt16 nFieldIdx ) const; const XclImpPTField* GetDataField( sal_uInt16 nDataFieldIdx ) const; OUString GetDataFieldName( sal_uInt16 nDataFieldIdx ) const; diff --git a/sc/source/filter/inc/xistream.hxx b/sc/source/filter/inc/xistream.hxx index 72bb9ab6e986..45a916550118 100644 --- a/sc/source/filter/inc/xistream.hxx +++ b/sc/source/filter/inc/xistream.hxx @@ -308,8 +308,6 @@ public: void StoreGlobalPosition(); /** Seeks to the stored global user position. */ void SeekGlobalPosition(); - /** Invalidates global user position. */ - inline void DeleteGlobalPosition() { mbHasGlobPos = false; } /** Returns record reading state: false = record overread. */ inline bool IsValid() const { return mbValid; } diff --git a/sc/source/filter/inc/xistring.hxx b/sc/source/filter/inc/xistring.hxx index 9d95b3bf97d0..9105dbbbe237 100644 --- a/sc/source/filter/inc/xistring.hxx +++ b/sc/source/filter/inc/xistring.hxx @@ -44,8 +44,6 @@ public: inline void SetText( const OUString& rText ) { maString = rText; } /** Sets the passed formatting buffer. */ inline void SetFormats( const XclFormatRunVec& rFormats ) { maFormats = rFormats; } - /** Insert a formatting run to the format buffer. */ - inline void AppendFormat( sal_uInt16 nChar, sal_uInt16 nFontIdx ) { AppendFormat( maFormats, nChar, nFontIdx ); } /** Reads and appends the formatting information (run count and runs) from stream. */ inline void ReadFormats( XclImpStream& rStrm ) { ReadFormats( rStrm, maFormats ); } /** Reads and appends nRunCount formatting runs from stream. */ diff --git a/sc/source/filter/inc/xistyle.hxx b/sc/source/filter/inc/xistyle.hxx index 2b69c1b54d8e..9a767fe853ff 100644 --- a/sc/source/filter/inc/xistyle.hxx +++ b/sc/source/filter/inc/xistyle.hxx @@ -98,12 +98,8 @@ public: /** Returns the text encoding for strings used with this font. */ rtl_TextEncoding GetFontEncoding() const; - /** Returns true, if this font contains characters for Western scripts. */ - inline bool HasWesternChars() const { return mbHasWstrn; } /** Returns true, if this font contains characters for Asian scripts (CJK). */ inline bool HasAsianChars() const { return mbHasAsian; } - /** Returns true, if this font contains characters for Complex scripts (CTL). */ - inline bool HasComplexChars() const { return mbHasCmplx; } /** Reads a FONT record for all BIFF versions. */ void ReadFont( XclImpStream& rStrm ); @@ -390,7 +386,6 @@ public: void ReadXF( XclImpStream& rStrm ); inline sal_uInt8 GetHorAlign() const { return maAlignment.mnHorAlign; } - inline sal_uInt8 GetVerAlign() const { return maAlignment.mnVerAlign; } inline sal_uInt16 GetFontIndex() const { return mnXclFont; } /** Creates a Calc item set containing an item set with all cell properties. diff --git a/sc/source/filter/inc/xladdress.hxx b/sc/source/filter/inc/xladdress.hxx index 2750a4cd8709..68b386c9f307 100644 --- a/sc/source/filter/inc/xladdress.hxx +++ b/sc/source/filter/inc/xladdress.hxx @@ -77,8 +77,6 @@ struct XclRange inline explicit XclRange( sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2 ) : maFirst( nCol1, nRow1 ), maLast( nCol2, nRow2 ) {} - inline void Set( const XclAddress& rFirst, const XclAddress& rLast ) - { maFirst = rFirst; maLast = rLast; } inline void Set( sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2 ) { maFirst.Set( nCol1, nRow1 ); maLast.Set( nCol2, nRow2 ); } diff --git a/sc/source/filter/inc/xlformula.hxx b/sc/source/filter/inc/xlformula.hxx index 5576f51cf011..2f10c3da4b4d 100644 --- a/sc/source/filter/inc/xlformula.hxx +++ b/sc/source/filter/inc/xlformula.hxx @@ -490,8 +490,6 @@ class XclTokenArrayHelper public: // token identifiers ------------------------------------------------------ - /** Returns the base token ID of the passed (classified) token ID. */ - inline static sal_uInt8 GetBaseTokenId( sal_uInt8 nTokenId ) { return nTokenId & EXC_TOKID_MASK; } /** Returns the classified token ID from a base ID and the token class. */ inline static sal_uInt8 GetTokenId( sal_uInt8 nBaseId, sal_uInt8 nTokenClass ); diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx index 07f059a71aa8..601cd2f7c9a7 100644 --- a/sc/source/filter/inc/xlpivot.hxx +++ b/sc/source/filter/inc/xlpivot.hxx @@ -387,8 +387,6 @@ public: /** Sets the item to 'boolean' type and adds the passed Boolean value. */ void SetBool( bool bValue ); - /** Returns the current item type. */ - inline XclPCItemType GetType() const { return meType; } /** Returns the text representation of the item. */ inline const OUString& ConvertToText() const { return maText; } diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx index 7e98ed86c653..b47043bbda90 100644 --- a/sc/source/filter/inc/xlroot.hxx +++ b/sc/source/filter/inc/xlroot.hxx @@ -138,8 +138,6 @@ public: XclRoot& operator=( const XclRoot& rRoot ); - /** Returns this root instance - for code readability in derived classes. */ - inline const XclRoot& GetRoot() const { return *this; } /** Returns old RootData struct. Deprecated. */ inline RootData& GetOldRoot() const { return *mrData.mxRD; } @@ -149,8 +147,6 @@ public: inline XclOutput GetOutput() const { return mrData.meOutput; } /** Returns true, if currently a document is imported. */ inline bool IsImport() const { return !mrData.mbExport; } - /** Returns true, if currently a document is exported. */ - inline bool IsExport() const { return mrData.mbExport; } /** Returns the text encoding to import/export byte strings. */ inline rtl_TextEncoding GetTextEncoding() const { return mrData.meTextEnc; } /** Returns the system language, i.e. for number formats. */ diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx index fa2a0cf6b685..69cf01a18b51 100644 --- a/sc/source/filter/oox/defnamesbuffer.cxx +++ b/sc/source/filter/oox/defnamesbuffer.cxx @@ -251,8 +251,7 @@ DefinedName::DefinedName( const WorkbookHelper& rHelper ) : mpScRangeData(NULL), mnTokenIndex( -1 ), mnCalcSheet( 0 ), - mcBuiltinId( BIFF_DEFNAME_UNKNOWN ), - mnFmlaSize( 0 ) + mcBuiltinId( BIFF_DEFNAME_UNKNOWN ) { } @@ -345,42 +344,6 @@ void DefinedName::createNameObject( sal_Int32 nIndex ) mnTokenIndex = nIndex; } -ApiTokenSequence -DefinedName::getTokens() -{ - // convert and set formula of the defined name - ApiTokenSequence aTokens; - switch( getFilterType() ) - { - case FILTER_OOXML: - { - if( mxFormula.get() ) - { - SequenceInputStream aStrm( *mxFormula ); - aTokens = importBiff12Formula( mnCalcSheet, aStrm ); - } - else - aTokens = importOoxFormula( mnCalcSheet ); - } - break; - case FILTER_BIFF: - { - OSL_ENSURE( mxBiffStrm.get(), "DefinedName::convertFormula - missing BIFF stream" ); - if( mxBiffStrm.get() ) - { - BiffInputStream& rStrm = mxBiffStrm->getStream(); - BiffInputStreamPosGuard aStrmGuard( rStrm ); - if( mxBiffStrm->restorePosition() ) - aTokens = importBiffFormula( mnCalcSheet, rStrm, &mnFmlaSize ); - } - } - break; - case FILTER_UNKNOWN: - break; - } - return aTokens; -} - std::unique_ptr<ScTokenArray> DefinedName::getScTokens() { ScTokenArray aTokenArray; diff --git a/sc/source/filter/oox/drawingmanager.cxx b/sc/source/filter/oox/drawingmanager.cxx index 2b9dc40017ed..aabd92c804c0 100644 --- a/sc/source/filter/oox/drawingmanager.cxx +++ b/sc/source/filter/oox/drawingmanager.cxx @@ -63,12 +63,6 @@ BiffSheetDrawing::BiffSheetDrawing( const WorksheetHelper& rHelper ) : { } -void BiffSheetDrawing::notifyShapeInserted( const Reference< XShape >& /*rxShape*/, const css::awt::Rectangle& rShapeRect ) -{ - // collect all shape positions in the WorksheetHelper base class - extendShapeBoundingBox( rShapeRect ); -} - } // namespace xls } // namespace oox diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx index 4e0b9d668fb6..64ae6020e63c 100644 --- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx +++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx @@ -69,7 +69,6 @@ class ScChangeTrackingExportHelper void AddInsertionAttributes(const ScChangeAction* pAction); void WriteInsertion(ScChangeAction* pAction); void AddDeletionAttributes(const ScChangeActionDel* pAction, const ScChangeActionDel* pLastAction); - void WriteDeletionCells(ScChangeActionDel* pAction); void WriteCutOffs(const ScChangeActionDel* pAction); void WriteDeletion(ScChangeAction* pAction); void WriteMovement(ScChangeAction* pAction); diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx index 41e59dc975c8..d0e5a65888e8 100644 --- a/sc/source/filter/xml/XMLExportIterator.hxx +++ b/sc/source/filter/xml/XMLExportIterator.hxx @@ -111,9 +111,8 @@ public: ScMyNoteShapesContainer(); virtual ~ScMyNoteShapesContainer(); - using ScMyIteratorBase::UpdateAddress; + using ScMyIteratorBase::UpdateAddress; void AddNewNote(const ScMyNoteShape& aNote); - bool HasNotes() { return !aNoteShapeList.empty(); } const ScMyNoteShapeList& GetNotes() const { return aNoteShapeList; } virtual void SetCellData( ScMyCell& rMyCell ) SAL_OVERRIDE; virtual void Sort() SAL_OVERRIDE; diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index de8a6a07f5c4..ae5927008536 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -1095,12 +1095,6 @@ void ScColumnStyles::AddFieldStyleName(const sal_Int32 nTable, const sal_Int32 n aTables[nTable][nField] = aStyle; } -OUString* ScColumnStyles::GetStyleName(const sal_Int32 nTable, const sal_Int32 nField) -{ - bool bTemp; - return GetStyleNameByIndex(GetStyleNameIndex(nTable, nField, bTemp)); -} - ScRowStyles::Cache::Cache() : mnTable(-1), mnStart(-1), mnEnd(-1), mnStyle(-1) {} @@ -1173,9 +1167,4 @@ void ScRowStyles::AddFieldStyleName(const sal_Int32 nTable, const sal_Int32 nSta r.insert_back(nStartField, nEndField+1, nStringIndex); } -OUString* ScRowStyles::GetStyleName(const sal_Int32 nTable, const sal_Int32 nField) -{ - return GetStyleNameByIndex(GetStyleNameIndex(nTable, nField)); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx index 2f44ce658fc0..d6d49bb78837 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx @@ -221,7 +221,6 @@ public: virtual void AddNewTable(const sal_Int32 nTable, const sal_Int32 nFields) = 0; sal_Int32 AddStyleName(OUString* pString); sal_Int32 GetIndexOfStyleName(const OUString& rString, const OUString& rPrefix); - virtual OUString* GetStyleName(const sal_Int32 nTable, const sal_Int32 nField) = 0; OUString* GetStyleNameByIndex(const sal_Int32 nIndex); }; @@ -247,7 +246,6 @@ public: sal_Int32 GetStyleNameIndex(const sal_Int32 nTable, const sal_Int32 nField, bool& bIsVisible); void AddFieldStyleName(const sal_Int32 nTable, const sal_Int32 nField, const sal_Int32 nStringIndex, const bool bIsVisible); - virtual OUString* GetStyleName(const sal_Int32 nTable, const sal_Int32 nField) SAL_OVERRIDE; }; class ScRowStyles : public ScColumnRowStylesBase @@ -274,7 +272,6 @@ public: sal_Int32 GetStyleNameIndex(const sal_Int32 nTable, const sal_Int32 nField); void AddFieldStyleName(const sal_Int32 nTable, const sal_Int32 nField, const sal_Int32 nStringIndex); void AddFieldStyleName(const sal_Int32 nTable, const sal_Int32 nStartField, const sal_Int32 nStringIndex, const sal_Int32 nEndField); - virtual OUString* GetStyleName(const sal_Int32 nTable, const sal_Int32 nField) SAL_OVERRIDE; }; #endif diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 997275a0a288..7712e528d2b2 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -158,7 +158,6 @@ ScXMLTableRowCellContext::ScXMLTableRowCellContext( ScXMLImport& rImport, bIsEmpty(true), mbNewValueType(false), mbErrorValue(false), - bIsFirstTextImport(false), bSolarMutexLocked(false), bFormulaTextResult(false), mbPossibleErrorCell(false), diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx index e5d02f81dfc3..c9ed567b9f64 100644 --- a/sc/source/filter/xml/xmlcelli.hxx +++ b/sc/source/filter/xml/xmlcelli.hxx @@ -87,7 +87,6 @@ class ScXMLTableRowCellContext : public ScXMLImportContext bool bIsEmpty; bool mbNewValueType; bool mbErrorValue; - bool bIsFirstTextImport; bool bSolarMutexLocked; bool bFormulaTextResult; bool mbPossibleErrorCell; @@ -96,8 +95,6 @@ class ScXMLTableRowCellContext : public ScXMLImportContext bool mbHasFormatRuns; bool mbHasStyle; - sal_Int16 GetCellType(const OUString& sOUValue) const; - void DoMerge(const ScAddress& rScCellPos, const SCCOL nCols, const SCROW nRows); void SetContentValidation( const ScRange& rScRange ); diff --git a/sc/source/filter/xml/xmldpimp.hxx b/sc/source/filter/xml/xmldpimp.hxx index ff006f3245c4..47f039301afb 100644 --- a/sc/source/filter/xml/xmldpimp.hxx +++ b/sc/source/filter/xml/xmldpimp.hxx @@ -494,9 +494,6 @@ class ScXMLDataPilotSubTotalsContext : public SvXMLImportContext ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); } public: - - ScXMLDataPilotFieldContext* GetDataPilotField() { return pDataPilotField; } - ScXMLDataPilotSubTotalsContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const ::com::sun::star::uno::Reference< diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx index 32ce760590a6..0c26018f26b7 100644 --- a/sc/source/filter/xml/xmlexprt.hxx +++ b/sc/source/filter/xml/xmlexprt.hxx @@ -135,8 +135,6 @@ class ScXMLExport : public SvXMLExport sal_Int32 GetNumberFormatStyleIndex(sal_Int32 nNumFmt) const; void CollectSharedData(SCTAB& nTableCount, sal_Int32& nShapesCount); void CollectShapesAutoStyles(SCTAB nTableCount); - void WriteTablesView(const com::sun::star::uno::Any& aTableView); - void WriteView(const com::sun::star::uno::Any& aView); virtual void _ExportFontDecls() SAL_OVERRIDE; virtual void _ExportStyles( bool bUsed ) SAL_OVERRIDE; virtual void _ExportAutoStyles() SAL_OVERRIDE; diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index 2ddf1a692987..959fcb6c657e 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -2093,7 +2093,6 @@ ScXMLImport::ScXMLImport( sPrevCurrency(), nSolarMutexLocked(0), nProgressCount(0), - nStyleFamilyMask( 0 ), nPrevCellType(0), bLoadDoc( true ), bRemoveLastChar(false), diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index c26a71016a81..527e823b3e2f 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -962,7 +962,6 @@ class ScXMLImport: public SvXMLImport, boost::noncopyable OUString sPrevCurrency; sal_uInt32 nSolarMutexLocked; sal_Int32 nProgressCount; - sal_uInt16 nStyleFamilyMask;// Mask of styles to load sal_Int16 nPrevCellType; bool bLoadDoc; // Load doc or styles only bool bRemoveLastChar; @@ -1019,7 +1018,6 @@ public: ScMyTables& GetTables() { return aTables; } - sal_uInt16 GetStyleFamilyMask() const { return nStyleFamilyMask; } bool IsStylesOnlyMode() const { return !bLoadDoc; } sal_Int16 GetCellType(const OUString& rStrValue) const; @@ -1144,10 +1142,8 @@ public: ScMyImpDetectiveOpArray* GetDetectiveOpArray(); void SetRemoveLastChar(bool bValue) { bRemoveLastChar = bValue; } - bool GetRemoveLastChar() { return bRemoveLastChar; } ScXMLChangeTrackingImportHelper* GetChangeTrackingImportHelper(); - void AddViewContext(SvXMLImportContext* pContext) { aViewContextList.push_back(pContext); } void InsertStyles(); void SetChangeTrackingViewSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& rChangeProps); @@ -1155,7 +1151,6 @@ public: virtual void SetConfigurationSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aConfigProps) SAL_OVERRIDE; void SetTableStyle(const OUString& rValue) { aTableStyles.push_back(rValue); } - std::vector<OUString> GetTableStyle() { return aTableStyles; } ScMyStylesImportHelper* GetStylesImportHelper() { return pStylesImportHelper; } sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, const OUString& rCurrency); bool IsCurrencySymbol(const sal_Int32 nNumberFormat, const OUString& sCurrencySymbol, const OUString& sBankSymbol); @@ -1218,7 +1213,6 @@ public: void SetNamedRanges(); void SetSheetNamedRanges(); void SetLabelRanges(); - void AddDefaultNote( const com::sun::star::table::CellAddress& aCell ); /** Extracts the formula string, the formula grammar namespace URL, and a grammar enum value from the passed formula attribute value. diff --git a/sc/source/filter/xml/xmlsubti.hxx b/sc/source/filter/xml/xmlsubti.hxx index 2e4e98a3234a..89d6d55c6e90 100644 --- a/sc/source/filter/xml/xmlsubti.hxx +++ b/sc/source/filter/xml/xmlsubti.hxx @@ -66,9 +66,6 @@ private: sal_Int16 nCurrentDrawPage; sal_Int16 nCurrentXShapes; - void NewRow(); - void NewColumn(bool bIsCovered); - void SetTableStyle(const OUString& sStyleName); public: ScMyTables(ScXMLImport& rImport); @@ -91,8 +88,6 @@ public: SCROW GetCurrentRow() const { return (maCurrentCellPos.Row() >= 0) ? maCurrentCellPos.Row() : 0; } ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheet > GetCurrentXSheet() const { return xCurrentSheet; } - ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > - GetCurrentXCellRange() const { return xCurrentCellRange; } ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > GetCurrentXDrawPage(); ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index 7a780984a132..f94d6b2261df 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -2500,14 +2500,6 @@ com::sun::star::uno::Sequence< com::sun::star::uno::Any > ScAccessibleDocument:: return aEmpty; } -void ScAccessibleDocument::SwitchViewFireFocus() -{ - if (mpAccessibleSpreadsheet) - { - mpAccessibleSpreadsheet->FireFirstCellFocus(); - } -} - sal_Int32 SAL_CALL ScAccessibleDocument::getForeground( ) throw (uno::RuntimeException, std::exception) { diff --git a/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx b/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx index 599c2b65e1d0..02fd77a66c15 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx @@ -36,9 +36,4 @@ ScAccessibleDocumentBase::~ScAccessibleDocumentBase() { } -void ScAccessibleDocumentBase::SwitchViewFireFocus() -{ - CommitFocusGained(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx index 5b9fb73097f9..53f7363726a4 100644 --- a/sc/source/ui/attrdlg/scdlgfact.cxx +++ b/sc/source/ui/attrdlg/scdlgfact.cxx @@ -470,11 +470,6 @@ void AbstractScMoveTableDlg_Impl::SetForceCopyTable() return pDlg->SetForceCopyTable(); } -void AbstractScMoveTableDlg_Impl::EnableCopyTable(bool bFlag) -{ - return pDlg->EnableCopyTable( bFlag); -} - void AbstractScMoveTableDlg_Impl::EnableRenameTable(bool bFlag) { return pDlg->EnableRenameTable( bFlag); @@ -490,11 +485,6 @@ std::vector<OUString> AbstractScNamePasteDlg_Impl::GetSelectedNames() const return pDlg->GetSelectedNames(); } -bool AbstractScNamePasteDlg_Impl::IsAllSelected() const -{ - return false; -} - const ScQueryItem& AbstractScPivotFilterDlg_Impl::GetOutputItem() { return pDlg->GetOutputItem(); diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index 99b9d8347268..647c8d55de63 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -268,7 +268,6 @@ class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg virtual bool GetRenameTable () const SAL_OVERRIDE; virtual void GetTabNameString( OUString& rString ) const SAL_OVERRIDE; virtual void SetForceCopyTable () SAL_OVERRIDE; - virtual void EnableCopyTable (bool bFlag=true) SAL_OVERRIDE; virtual void EnableRenameTable (bool bFlag=true) SAL_OVERRIDE; }; @@ -282,7 +281,6 @@ class AbstractScNamePasteDlg_Impl : public AbstractScNamePasteDlg { DECL_ABSTDLG_BASE( AbstractScNamePasteDlg_Impl, ScNamePasteDlg ) virtual std::vector<OUString> GetSelectedNames() const SAL_OVERRIDE; - virtual bool IsAllSelected() const SAL_OVERRIDE; }; class AbstractScPivotFilterDlg_Impl : public AbstractScPivotFilterDlg diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx index 2817e527b8e5..caa5102c2599 100644 --- a/sc/source/ui/drawfunc/fudraw.cxx +++ b/sc/source/ui/drawfunc/fudraw.cxx @@ -669,13 +669,6 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt) return bReturn; } -// II -void FuDraw::SelectionHasChanged() -{ - const SdrHdlList& rHdlList = pView->GetHdlList(); - ((SdrHdlList&)rHdlList).ResetFocusHdl(); -} - /************************************************************************* |* |* enable function diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx index ce7cf5c03b5d..2cd2f5f0038d 100644 --- a/sc/source/ui/drawfunc/futext.cxx +++ b/sc/source/ui/drawfunc/futext.cxx @@ -619,58 +619,6 @@ void FuText::Deactivate() /************************************************************************* |* -|* Selektion hat sich geaendert -|* -\************************************************************************/ - -void FuText::SelectionHasChanged() -{ - pView->SetDragMode(SDRDRAG_MOVE); - SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings(); - rBindings.Invalidate( SID_OBJECT_ROTATE ); - rBindings.Invalidate( SID_OBJECT_MIRROR ); - - pTextObj = NULL; - - if ( pView->AreObjectsMarked() ) - { - const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); - - if (rMarkList.GetMarkCount() == 1) - { - SdrMark* pMark = rMarkList.GetMark(0); - SdrObject* pObj = pMark->GetMarkedSdrObj(); - - sal_uInt16 nSdrObjKind = pObj->GetObjIdentifier(); - - if (nSdrObjKind == OBJ_TEXT || - nSdrObjKind == OBJ_TITLETEXT || - nSdrObjKind == OBJ_OUTLINETEXT /* || - pObj->ISA(SdrTextObj) */ ) - { - pTextObj = static_cast<SdrTextObj*>(pObj); - } - } - } - - if (!pTextObj) - { - /********************************************************************** - * Kein Textobjekt im EditMode, daher CreateMode setzen - **********************************************************************/ - sal_uInt16 nObj = OBJ_TEXT; - sal_uInt16 nIdent; - sal_uInt32 nInvent; - pView->TakeCurrentObj(nIdent, nInvent); - - pView->SetCurrentObj(nObj); - - pView->SetCreateMode(); - } -} - -/************************************************************************* -|* |* Objekt in Edit-Mode setzen |* \************************************************************************/ diff --git a/sc/source/ui/formdlg/privsplt.cxx b/sc/source/ui/formdlg/privsplt.cxx index e568ed5f7638..311c0787541b 100644 --- a/sc/source/ui/formdlg/privsplt.cxx +++ b/sc/source/ui/formdlg/privsplt.cxx @@ -241,24 +241,6 @@ void ScPrivatSplit::SetYRange(Range cRgeY) #* #* Klasse: ScPrivatSplit #* -#* Funktion: Liefert die relative x-Verschiebung zurueck -#* -#* Input: --- -#* -#* Output: --- -#* -#************************************************************************/ -short ScPrivatSplit::GetDeltaX() -{ - return nDeltaX; -} - -/************************************************************************* -#* Member: GetDeltaY -#*------------------------------------------------------------------------ -#* -#* Klasse: ScPrivatSplit -#* #* Funktion: Liefert die relative y-Verschiebung zurueck #* #* Input: --- diff --git a/sc/source/ui/inc/AccessibilityHints.hxx b/sc/source/ui/inc/AccessibilityHints.hxx index dcba897768a2..165a96806c7e 100644 --- a/sc/source/ui/inc/AccessibilityHints.hxx +++ b/sc/source/ui/inc/AccessibilityHints.hxx @@ -42,9 +42,6 @@ public: ScAccWinFocusLostHint( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xOld ); virtual ~ScAccWinFocusLostHint(); - - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > - GetOldAccessible() const { return xOldAccessible; } }; class ScAccWinFocusGotHint : public SfxHint @@ -55,9 +52,6 @@ public: ScAccWinFocusGotHint( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xNew ); virtual ~ScAccWinFocusGotHint(); - - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > - GetNewAccessible() const { return xNewAccessible; } }; class ScAccGridWinFocusLostHint : public ScAccWinFocusLostHint diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index 8037f1fe382b..562afedcac2e 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -148,7 +148,6 @@ protected: throw (::com::sun::star::uno::RuntimeException, std::exception); public: const ScAddress& GetCellAddress() const { return maCellAddress; } - bool IsCellInChangeTrack(const ScAddress &cell,Color *pColCellBoder); }; #endif diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx index df29b57a1310..3e1d94f3cafc 100644 --- a/sc/source/ui/inc/AccessibleDocument.hxx +++ b/sc/source/ui/inc/AccessibleDocument.hxx @@ -298,8 +298,6 @@ public: virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; -protected: - void SwitchViewFireFocus() SAL_OVERRIDE; }; #endif diff --git a/sc/source/ui/inc/AccessibleDocumentBase.hxx b/sc/source/ui/inc/AccessibleDocumentBase.hxx index de147514f252..78af5575d62b 100644 --- a/sc/source/ui/inc/AccessibleDocumentBase.hxx +++ b/sc/source/ui/inc/AccessibleDocumentBase.hxx @@ -30,7 +30,6 @@ public: ScAccessibleDocumentBase( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent); - virtual void SwitchViewFireFocus(); protected: virtual ~ScAccessibleDocumentBase(); }; diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx index 86bfd28fcafe..74817c4a2ec6 100644 --- a/sc/source/ui/inc/AccessiblePageHeader.hxx +++ b/sc/source/ui/inc/AccessiblePageHeader.hxx @@ -73,9 +73,6 @@ public: virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - //===== internal ======================================================== - void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; } - protected: virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index a985fc3a5912..d4068a0ec1c1 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -166,9 +166,6 @@ public: virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - //===== internal ======================================================== - void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; } - protected: virtual OUString SAL_CALL createAccessibleDescription() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleName() diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx index 3bc2d3c43772..ad8fc59709c1 100644 --- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx +++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx @@ -288,8 +288,6 @@ private: bool IsCompleteSheetSelected(); void SelectCell(sal_Int32 nRow, sal_Int32 nCol, bool bDeselect); - void CreateSortedMarkedCells(); - void AddMarkedRange(const ScRange& rRange); static ScDocument* GetDocument(ScTabViewShell* pViewShell); static Rectangle GetVisArea(ScTabViewShell* pViewShell, ScSplitPos eSplitPos); diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx index 649e79e17261..0b0191110397 100644 --- a/sc/source/ui/inc/AccessibleText.hxx +++ b/sc/source/ui/inc/AccessibleText.hxx @@ -54,8 +54,6 @@ public: SfxBroadcaster& GetBroadcaster() const { return maBroadcaster; } virtual void UpdateData() = 0; - virtual void SetDoUpdate(bool bValue) = 0; - virtual bool IsDirty() const = 0; DECL_LINK( NotifyHdl, EENotify* ); private: @@ -74,8 +72,6 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE { ScCellTextData::Notify(rBC, rHint); } virtual void UpdateData() SAL_OVERRIDE { ScCellTextData::UpdateData(); } - virtual void SetDoUpdate(bool bValue) SAL_OVERRIDE { ScCellTextData::SetDoUpdate(bValue); } - virtual bool IsDirty() const SAL_OVERRIDE { return ScCellTextData::IsDirty(); } }; // ScAccessibleCellTextData: shared data between sub objects of a accessible cell text object @@ -124,8 +120,6 @@ public: virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate ) SAL_OVERRIDE; virtual void UpdateData() SAL_OVERRIDE { } - virtual void SetDoUpdate(bool /* bValue */) SAL_OVERRIDE { } - virtual bool IsDirty() const SAL_OVERRIDE { return false; } DECL_LINK( NotifyHdl, EENotify* ); protected: @@ -224,8 +218,6 @@ public: virtual SvxEditViewForwarder* GetEditViewForwarder( bool /* bCreate */ ) SAL_OVERRIDE { return NULL; } virtual void UpdateData() SAL_OVERRIDE { } - virtual void SetDoUpdate(bool /* bValue */) SAL_OVERRIDE { } - virtual bool IsDirty() const SAL_OVERRIDE { return false; } private: ScPreviewViewForwarder* mpViewForwarder; ScPreviewShell* mpViewShell; @@ -254,8 +246,6 @@ public: virtual SvxEditViewForwarder* GetEditViewForwarder( bool /* bCreate */ ) SAL_OVERRIDE { return NULL; } virtual void UpdateData() SAL_OVERRIDE { } - virtual void SetDoUpdate(bool /* bValue */) SAL_OVERRIDE { } - virtual bool IsDirty() const SAL_OVERRIDE { return false; } private: ScPreviewViewForwarder* mpViewForwarder; ScPreviewShell* mpViewShell; @@ -300,8 +290,6 @@ public: virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate ) SAL_OVERRIDE; virtual void UpdateData() SAL_OVERRIDE {} - virtual void SetDoUpdate( bool /* bValue */ ) SAL_OVERRIDE {} - virtual bool IsDirty() const SAL_OVERRIDE { return false; } }; #endif diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx index da61f5a9da84..d3d77069799f 100644 --- a/sc/source/ui/inc/acredlin.hxx +++ b/sc/source/ui/inc/acredlin.hxx @@ -45,37 +45,9 @@ class ScDocument; #define FLT_DATE_BETWEEN 4 #define FLT_DATE_SAVE 5 -class ScViewEntryPtr -{ -private: - OUString* pAction; - OUString* pPos; - OUString* pAuthor; - OUString* pDate; - OUString* pComment; - void* pData; - -public: - - OUString* GetpAction() {return pAction; } - OUString* GetpPos() {return pPos; } - OUString* GetpAuthor() {return pAuthor; } - OUString* GetpDate() {return pDate; } - OUString* GetpComment() {return pComment;} - void* GetpData() {return pData; } - - void SetpAction (OUString* pString) {pAction= pString;} - void SetpPos (OUString* pString) {pPos = pString;} - void SetpAuthor (OUString* pString) {pAuthor= pString;} - void SetpDate (OUString* pString) {pDate = pString;} - void SetpComment(OUString* pString) {pComment=pString;} - void SetpData (void* pdata) {pData =pdata;} -}; - class ScRedlinData : public RedlinData { public: - ScRedlinData(); virtual ~ScRedlinData(); SCTAB nTable; diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index 8341ba86a694..77b073a89751 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -96,9 +96,6 @@ public: static void enableInput(bool _bInput); -protected: - vcl::Window* GetWindow(){ return m_pWindow; } - public: static bool CanInputStart( const formula::RefEdit *pEdit ){ return !!pEdit; } bool CanInputDone( bool bForced ){ return pRefEdit && (bForced || !pRefBtn); } @@ -135,8 +132,6 @@ protected: virtual void RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ) SAL_OVERRIDE; virtual void RefInputDone( bool bForced = false ) SAL_OVERRIDE; - void ShowSimpleReference(const OUString& rStr); - void ShowFormulaReference(const OUString& rStr); bool ParseWithNames( ScRangeList& rRanges, const OUString& rStr, ScDocument* pDoc ); diff --git a/sc/source/ui/inc/asciiopt.hxx b/sc/source/ui/inc/asciiopt.hxx index 9e4c845e9760..6099fdac1afe 100644 --- a/sc/source/ui/inc/asciiopt.hxx +++ b/sc/source/ui/inc/asciiopt.hxx @@ -62,10 +62,7 @@ public: void ReadFromString( const OUString& rString ); OUString WriteToString() const; - void InterpretColumnList( const OUString& rString ); - rtl_TextEncoding GetCharSet() const { return eCharSet; } - bool GetCharSetSystem() const { return bCharSetSystem; } const OUString& GetFieldSeps() const { return aFieldSeps; } bool IsMergeSeps() const { return bMergeFieldSeps; } bool IsQuotedAsText() const { return bQuotedFieldAsText; } diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx index 2e8c8b1eac53..45c6a13099ba 100644 --- a/sc/source/ui/inc/cbutton.hxx +++ b/sc/source/ui/inc/cbutton.hxx @@ -38,12 +38,6 @@ public: const Size& rSize, bool bState, bool bBtnIn = false ); - - void Draw( const Point& rAt, - bool bState, - bool bBtnIn = false ) - { Draw( rAt, aBtnSize, bState, bBtnIn ); } - void Draw( bool bState, bool bBtnIn = false ) { Draw( aBtnPos, aBtnSize, bState, bBtnIn ); } diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx index 6e03ef1e5d0c..59a0868322cf 100644 --- a/sc/source/ui/inc/cellsh.hxx +++ b/sc/source/ui/inc/cellsh.hxx @@ -93,9 +93,6 @@ public: void ExecuteDB( SfxRequest& rReq ); void GetDBState( SfxItemSet& rSet ); - void ExecImageMap(SfxRequest& rReq); // ImageMap - void GetImageMapState(SfxItemSet& rSet); - void GetClipState( SfxItemSet& rSet ); void GetHLinkState( SfxItemSet& rSet ); diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index f4e714a5f220..123ca41c9485 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -334,8 +334,6 @@ private: DECL_LINK( EdModifyHdl, void* ); private: - SvTreeListEntry* findEntry( SvTreeListEntry* pParent, const OUString& rText ); - VclPtr<Edit> maEdSearch; VclPtr<ScCheckListBox> maChecks; diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx index 769ce16d5336..6bfd7c1931c5 100644 --- a/sc/source/ui/inc/client.hxx +++ b/sc/source/ui/inc/client.hxx @@ -41,7 +41,6 @@ public: ScClient( ScTabViewShell* pViewShell, vcl::Window* pDraw, SdrModel* pSdrModel, SdrOle2Obj* pObj ); virtual ~ScClient(); - SdrGrafObj* GetGrafEdit() const { return pGrafEdit; } void SetGrafEdit(SdrGrafObj* pNew) { pGrafEdit = pNew; } SdrOle2Obj* GetDrawObj(); }; diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx index 22ddf7ddeea1..d5c78f92ab9e 100644 --- a/sc/source/ui/inc/condformatdlgentry.hxx +++ b/sc/source/ui/inc/condformatdlgentry.hxx @@ -73,7 +73,6 @@ public: bool IsSelected() const { return mbActive;} void SetIndex(sal_Int32 nIndex); - sal_Int32 GetIndex() const { return mnIndex; } void SetHeight(); virtual ScFormatEntry* GetEntry() const = 0; diff --git a/sc/source/ui/inc/condformatuno.hxx b/sc/source/ui/inc/condformatuno.hxx index 0e70a853616f..2342ab0f414d 100644 --- a/sc/source/ui/inc/condformatuno.hxx +++ b/sc/source/ui/inc/condformatuno.hxx @@ -59,8 +59,6 @@ public: virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) SAL_OVERRIDE; - static ScCondFormatsObj* getImplementation( uno::Reference< com::sun::star::sheet::XConditionalFormats > xCondFormat ); - // XConditionalFormats virtual sal_Int32 SAL_CALL createByRange(const uno::Reference<sheet::XSheetCellRanges>& xRanges) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -92,7 +90,6 @@ public: virtual ~ScCondFormatObj(); - static ScCondFormatObj* getImplementation( uno::Reference<sheet::XConditionalFormat> XCondFormat); ScDocShell* getDocShell(); // XConditionalFormat @@ -180,8 +177,6 @@ public: const ScCondFormatEntry* pFormat); virtual ~ScConditionEntryObj(); - static ScConditionEntryObj* getImplementation(uno::Reference<sheet::XConditionEntry> xCondition); - ScCondFormatEntry* getCoreObject(); // XConditionEntry @@ -244,8 +239,6 @@ public: ScColorScaleFormatObj(rtl::Reference<ScCondFormatObj> xParent, const ScColorScaleFormat* pFormat); virtual ~ScColorScaleFormatObj(); - static ScColorScaleFormatObj* getImplementation(uno::Reference<beans::XPropertySet> xPropSet); - // XConditionEntry virtual sal_Int32 SAL_CALL getType() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -341,8 +334,6 @@ public: const ScDataBarFormat* pFormat); virtual ~ScDataBarFormatObj(); - static ScDataBarFormatObj* getImplementation(uno::Reference<beans::XPropertySet> xPropSet); - ScDataBarFormat* getCoreObject(); // XConditionEntry @@ -431,8 +422,6 @@ public: const ScIconSetFormat* pFormat); virtual ~ScIconSetFormatObj(); - static ScIconSetFormatObj* getImplementation(uno::Reference<beans::XPropertySet> xPropSet); - ScIconSetFormat* getCoreObject(); // XConditionEntry diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx index 004b5384501d..2f482a3fd16b 100644 --- a/sc/source/ui/inc/content.hxx +++ b/sc/source/ui/inc/content.hxx @@ -155,8 +155,6 @@ public: void ApplyNavigatorSettings(); /** Stores the current listbox state in the navigator settings. */ void StoreNavigatorSettings() const; - - static bool IsInDrag() { return bIsInDrag; } }; #endif // INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx index e2fbc49ab943..0c9edb80da2c 100644 --- a/sc/source/ui/inc/csvcontrol.hxx +++ b/sc/source/ui/inc/csvcontrol.hxx @@ -286,8 +286,6 @@ public: /** Sets a new command handler. */ inline void SetCmdHdl( const Link<>& rHdl ) { maCmdHdl = rHdl; } - /** Returns the current command handler. */ - inline const Link<>& GetCmdHdl() const { return maCmdHdl; } /** Returns data of the last command. */ inline const ScCsvCmd& GetCmd() const { return maCmd; } diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx index eab22d10ca8b..85c71c1fcabc 100644 --- a/sc/source/ui/inc/csvgrid.hxx +++ b/sc/source/ui/inc/csvgrid.hxx @@ -220,9 +220,6 @@ public: sal_uInt32 GetFirstSelected() const; /** Returns index of the first selected column really after nFromIndex. */ sal_uInt32 GetNextSelected( sal_uInt32 nFromIndex ) const; - /** Returns true, if at least one column is selected. */ - inline bool HasSelection() const { return GetFirstSelected() != CSV_COLUMN_INVALID; } - /** Selects or deselects the specified column. */ void Select( sal_uInt32 nColIndex, bool bSelect = true ); /** Toggles selection of the specified column. */ diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx index b51abc687de1..4386d78da164 100644 --- a/sc/source/ui/inc/csvtablebox.hxx +++ b/sc/source/ui/inc/csvtablebox.hxx @@ -114,12 +114,8 @@ public: public: /** Sets a new handler for "update cell texts" requests. */ inline void SetUpdateTextHdl( const Link<>& rHdl ) { maUpdateTextHdl = rHdl; } - /** Returns the handler for "update cell texts" requests. */ - inline const Link<>& GetUpdateTextHdl() const { return maUpdateTextHdl; } /** Sets a new handler for "column selection changed" events. */ inline void SetColTypeHdl( const Link<>& rHdl ) { maColTypeHdl = rHdl; } - /** Returns the handler for "column selection changed" events. */ - inline const Link<>& GetColTypeHdl() const { return maColTypeHdl; } protected: virtual void Resize() SAL_OVERRIDE; diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx index bfe172017326..e962b61aa78c 100644 --- a/sc/source/ui/inc/datastream.hxx +++ b/sc/source/ui/inc/datastream.hxx @@ -79,9 +79,7 @@ public: ScRange GetRange() const; const OUString& GetURL() const { return msURL; } - const sal_Int32& GetLimit() const { return mnLimit; } MoveType GetMove() const { return meOrigMove;} - const sal_uInt32& GetSettings() const { return mnSettings; } bool IsRefreshOnEmptyLine() const { return mbRefreshOnEmptyLine;} void Decode( diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index 9ed1ed033ac4..07091c4fd1b6 100644 --- a/sc/source/ui/inc/docfunc.hxx +++ b/sc/source/ui/inc/docfunc.hxx @@ -113,7 +113,6 @@ public: const formula::FormulaGrammar::Grammar eGrammar ); bool ShowNote( const ScAddress& rPos, bool bShow = true ); - inline bool HideNote( const ScAddress& rPos ) { return ShowNote( rPos, false ); } bool SetNoteText( const ScAddress& rPos, const OUString& rNoteText, bool bApi ); bool ReplaceNote( const ScAddress& rPos, const OUString& rNoteText, const OUString* pAuthor, const OUString* pDate, bool bApi ); diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx index 6065dc81c6df..85afb05f505f 100644 --- a/sc/source/ui/inc/drawview.hxx +++ b/sc/source/ui/inc/drawview.hxx @@ -106,7 +106,6 @@ public: void UpdateIMap( SdrObject* pObj ); - sal_uInt16 GetPopupMenuId(); void UpdateUserViewOptions(); void SetMarkedOriginalSize(); @@ -124,8 +123,6 @@ public: /** Locks/unlocks the specified layer in the draw page. Unlocked layer is required to be able to edit the contained objects. */ void LockCalcLayer( SdrLayerID nLayer, bool bLock = true ); - /** Unlocks the specified layer in the draw page. */ - inline void UnlockCalcLayer( SdrLayerID nLayer ) { LockCalcLayer( nLayer, false ); } /** Locks/unlocks the background layer that contains background objects. Unlocked layer is required to be able to edit the objects. */ diff --git a/sc/source/ui/inc/drwtrans.hxx b/sc/source/ui/inc/drwtrans.hxx index 5103d3a3312d..2e93659711e9 100644 --- a/sc/source/ui/inc/drwtrans.hxx +++ b/sc/source/ui/inc/drwtrans.hxx @@ -94,10 +94,6 @@ public: SdrView* GetDragSourceView() { return pDragSourceView; } sal_uInt16 GetDragSourceFlags() const { return nDragSourceFlags; } - void SetSourceDocID( sal_uInt32 nVal ) - { nSourceDocID = nVal; } - sal_uInt32 GetSourceDocID() const { return nSourceDocID; } - static ScDrawTransferObj* GetOwnClipboard( vcl::Window* pUIWin ); virtual sal_Int64 SAL_CALL getSomething( const com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; static const com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId(); diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx index 693d12848731..aeb9905f76dc 100644 --- a/sc/source/ui/inc/filtdlg.hxx +++ b/sc/source/ui/inc/filtdlg.hxx @@ -139,7 +139,6 @@ private: private: void Init ( const SfxItemSet& rArgSet ); void FillFieldLists (); - void FillAreaList (); void UpdateValueList ( size_t nList ); void UpdateHdrInValueList( size_t nList ); void ClearValueList ( size_t nList ); diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx index 760d8bb0f58e..1a0b1da909a9 100644 --- a/sc/source/ui/inc/fudraw.hxx +++ b/sc/source/ui/inc/fudraw.hxx @@ -46,9 +46,6 @@ class FuDraw : public FuPoor virtual bool MouseButtonUp(const MouseEvent& rMEvt) SAL_OVERRIDE; virtual bool MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE; - // II - virtual void SelectionHasChanged(); - bool IsEditingANote() const; bool IsSizingOrMovingNote( const MouseEvent& rMEvt ) const; diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx index 851d01082b26..81ce747eb48f 100644 --- a/sc/source/ui/inc/futext.hxx +++ b/sc/source/ui/inc/futext.hxx @@ -48,8 +48,6 @@ public: virtual void ForcePointer(const MouseEvent* pMEvt) SAL_OVERRIDE; - virtual void SelectionHasChanged() SAL_OVERRIDE; - void SetInEditMode( SdrObject* pObj = NULL, const Point* pMousePixel = NULL, bool bCursorToEnd = false, const KeyEvent* pInitialKey = NULL ); void StopEditMode(bool bTextDirection = false); diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index c05cea9fa772..281ae8cc96bb 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -391,8 +391,6 @@ public: /// MapMode for the drawinglayer objects. MapMode GetDrawMapMode( bool bForce = false ); - void ContinueDrag(); - void StopMarking(); void UpdateInputContext(); diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx index 43c6891d4b23..b0466152367b 100644 --- a/sc/source/ui/inc/impex.hxx +++ b/sc/source/ui/inc/impex.hxx @@ -97,17 +97,10 @@ public: void SetExtOptions( const ScAsciiOptions& rOpt ); void SetFilterOptions( const OUString& rFilterOptions ); - - bool IsDoubleRef() const { return !( bAll || bSingle ); } - bool IsSingleRef() const { return bSingle; } - bool IsNoRef() const { return bAll; } bool IsRef() const { return !bAll; } const ScRange& GetRange() const { return aRange; } - bool IsUndo() const { return bUndo; } - void SetUndo( bool b ) { bUndo = b; } - SC_DLLPUBLIC static void EmbeddedNullTreatment( OUString & rStr ); static bool IsFormatSupported( SotClipboardFormatId nFormat ); @@ -121,19 +114,12 @@ public: //! only if stream is only used in own (!) memory static inline void SetNoEndianSwap( SvStream& rStrm ); - sal_Unicode GetSeparator() const { return cSep; } void SetSeparator( sal_Unicode c ) { cSep = c; } - sal_Unicode GetDelimiter() const { return cStr; } void SetDelimiter( sal_Unicode c ) { cStr = c; } - bool IsFormulas() const { return bFormulas; } void SetFormulas( bool b ) { bFormulas = b; } - bool IsIncludeFiltered() const { return bIncludeFiltered; } void SetIncludeFiltered( bool b ) { bIncludeFiltered = b; } - void SetSizeLimit( sal_uLong nNew ) { nSizeLimit = nNew; } // for the moment only for Ascii - void SetStreamPath( const OUString& rPath ) { aStreamPath = rPath; } - const OUString& GetStreamPath() const { return aStreamPath; } bool ImportString( const OUString&, SotClipboardFormatId=SotClipboardFormatId::STRING ); bool ExportString( OUString&, SotClipboardFormatId=SotClipboardFormatId::STRING ); @@ -155,11 +141,9 @@ public: const OUString& GetNonConvertibleChars() const { return aNonConvertibleChars; } - bool IsApi() const { return mbApi; } void SetApi( bool bApi ) { mbApi = bApi; } void SetImportBroadcast( bool b ) { mbImportBroadcast = b; } void SetOverwriting( const bool bOverwriting ) { mbOverwriting = bOverwriting; } - const ScExportTextOptions& GetExportTextOptions() { return mExportTextOptions; } void SetExportTextOptions( const ScExportTextOptions& options ) { mExportTextOptions = options; } }; diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx index aba78346df6b..a09ddba9aaad 100644 --- a/sc/source/ui/inc/inputwin.hxx +++ b/sc/source/ui/inc/inputwin.hxx @@ -189,7 +189,6 @@ protected: DECL_LINK( NotifyHdl, EENotify* ); DECL_LINK( ModifyHdl, EENotify* ); private: - long GetPixelTextHeight(); ScInputBarGroup& mrGroupBar; long mnLines; long mnLastExpandedLines; @@ -206,18 +205,14 @@ public: virtual void dispose() SAL_OVERRIDE; virtual void InsertAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) SAL_OVERRIDE; virtual void RemoveAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) SAL_OVERRIDE; -// virtual void Paint(const Rectangle& rRect ); void SetTextString( const OUString& rString ) SAL_OVERRIDE; void StartEditEngine() SAL_OVERRIDE; EditView* GetEditView() SAL_OVERRIDE; - void SetSize(Size aSize); virtual void Resize() SAL_OVERRIDE; virtual const OUString& GetTextString() const SAL_OVERRIDE; virtual void StopEditEngine( bool bAll ) SAL_OVERRIDE; virtual void TextGrabFocus() SAL_OVERRIDE; - void InitEditEngine(SfxObjectShell* pObjSh); void SetFormulaMode( bool bSet ) SAL_OVERRIDE; - bool IsFocus(); void MakeDialogEditView() SAL_OVERRIDE; bool IsInputActive() SAL_OVERRIDE; ScrollBar& GetScrollBar() { return *aScrollBar.get(); } diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx index cef3d5f8160b..c19d14a607bd 100644 --- a/sc/source/ui/inc/mvtabdlg.hxx +++ b/sc/source/ui/inc/mvtabdlg.hxx @@ -75,7 +75,6 @@ private: bool mbEverEdited:1; void Init (); - void InitBtnRename (); void InitDocListBox (); DECL_LINK( OkHdl, void * ); DECL_LINK( SelHdl, ListBox * ); diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx index cad2f9d8d364..1642311e60b6 100644 --- a/sc/source/ui/inc/namedlg.hxx +++ b/sc/source/ui/inc/namedlg.hxx @@ -86,7 +86,6 @@ private: void Init(); void UpdateChecks(ScRangeData* pData); void ShowOptions(const ScRangeNameLine& rLine); - void UpdateNames(); bool IsNameValid(); bool IsFormulaValid(); @@ -96,9 +95,7 @@ private: bool AddPushed(); void RemovePushed(); - void OKPushed(); void CancelPushed(); - void NameSelected(); void ScopeChanged(); void NameModified(); diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index c355813b300e..69ee4a0b5e37 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -262,9 +262,6 @@ private: void DoResize(); - SfxBindings& GetBindings() - { return rBindings; } - void SetCurrentCell( SCCOL nCol, SCROW Row ); void SetCurrentCellStr( const OUString& rName ); void SetCurrentTable( SCTAB nTab ); diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx index 448b3f514151..e8a1e1745adc 100644 --- a/sc/source/ui/inc/prevwsh.hxx +++ b/sc/source/ui/inc/prevwsh.hxx @@ -100,8 +100,6 @@ public: void FillFieldData( ScHeaderFieldData& rData ); - ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue > - GetSourceData() const { return aSourceData; } TriState GetSourceDesignMode() const { return nSourceDesignMode; } virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx index 265789578cca..7b7e96047cb9 100644 --- a/sc/source/ui/inc/printfun.hxx +++ b/sc/source/ui/inc/printfun.hxx @@ -266,12 +266,8 @@ public: void GetScaleData( Size& rPhysSize, long& rDocHdr, long& rDocFtr ); long GetFirstPageNo() const { return aTableParam.nFirstPageNo; } - // Query last value - after DoPrint!! - - double GetScaleX() const { return nScaleX; } - double GetScaleY() const { return nScaleY; } long GetTotalPages() const { return nTotalPages; } - sal_uInt16 GetZoom() const { return nZoom; } + sal_uInt16 GetZoom() const { return nZoom; } void ResetBreaks( SCTAB nTab ); @@ -281,10 +277,6 @@ public: sal_uInt16 GetRightMargin() const{return nRightMargin;} sal_uInt16 GetTopMargin() const{return nTopMargin;} sal_uInt16 GetBottomMargin() const{return nBottomMargin;} - void SetLeftMargin(sal_uInt16 nRulerLeftDistance){ nLeftMargin = nRulerLeftDistance; } - void SetRightMargin(sal_uInt16 nRulerRightDistance){ nRightMargin = nRulerRightDistance; } - void SetTopMargin(sal_uInt16 nRulerTopDistance){ nTopMargin = nRulerTopDistance; } - void SetBottomMargin(sal_uInt16 nRulerBottomDistance){ nBottomMargin = nRulerBottomDistance; } ScPrintHFParam GetHeader(){return aHdr;} ScPrintHFParam GetFooter(){return aFtr;} @@ -310,7 +302,6 @@ private: bool IsLeft( long nPageNo ); bool IsMirror( long nPageNo ); - void ReplaceFields( long nPageNo ); // changes Text in pEditEngine void MakeTableString(); // sets aTableStr void PrintPage( long nPageNo, diff --git a/sc/source/ui/inc/privsplt.hxx b/sc/source/ui/inc/privsplt.hxx index 9089782f5bb4..7137cbdd8e40 100644 --- a/sc/source/ui/inc/privsplt.hxx +++ b/sc/source/ui/inc/privsplt.hxx @@ -26,7 +26,7 @@ enum SC_SPLIT_DIRECTION {SC_SPLIT_HORZ,SC_SPLIT_VERT }; class ScPrivatSplit : public Control { - private: +private: Link<> aCtrModifiedLink; bool aMovingFlag; @@ -44,17 +44,16 @@ class ScPrivatSplit : public Control using Control::ImplInitSettings; void ImplInitSettings( bool bFont, bool bForeground, bool bBackground ); - protected: +protected: virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonUp( const MouseEvent& rMEvt) SAL_OVERRIDE; - public: +public: ScPrivatSplit( vcl::Window* pWindow, const ResId& rResId, SC_SPLIT_DIRECTION eScSplit); - short GetDeltaX(); short GetDeltaY(); void CtrModified(); @@ -67,7 +66,6 @@ class ScPrivatSplit : public Control virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; void SetCtrModifiedHdl( const Link<>& rLink ) { aCtrModifiedLink = rLink; } - const Link<>& GetCtrModifiedHdl() const { return aCtrModifiedLink; } }; #endif diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx index 4b8db1757763..ca290c49de56 100644 --- a/sc/source/ui/inc/simpref.hxx +++ b/sc/source/ui/inc/simpref.hxx @@ -84,8 +84,6 @@ public: const Link<>& rChange ); void SetFlags( bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection ); - - void SetAutoReOpen(bool bFlag) {bAutoReOpen=bFlag;} }; #endif // INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx index 07c12739b3dc..6fb376f016e7 100644 --- a/sc/source/ui/inc/sortkeydlg.hxx +++ b/sc/source/ui/inc/sortkeydlg.hxx @@ -57,7 +57,6 @@ public: void AddSortKey( sal_uInt16 nItem ); void DoScroll( sal_Int32 nNewPos ); sal_Int32 GetItemHeight() const { return nItemHeight; } - sal_Int32 GetTotalHeight() const { return m_pBox->GetSizePixel().Height(); } }; class ScSortKeyCtrl diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index ce3c4a5b7e49..df4ba4837d4b 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -291,12 +291,9 @@ public: void SetDrawTextShell( bool bActive ); void SetPivotShell( bool bActive ); - ScArea* GetPivotSource(){return pPivotSource;} - void SetPivotSource(ScArea* pSrc){pPivotSource=pSrc;} void SetDialogDPObject( const ScDPObject* pObj ); const ScDPObject* GetDialogDPObject() const { return pDialogDPObject; } - bool GetDontSwitch(){return bDontSwitch;} void SetDontSwitch(bool bFlag){bDontSwitch=bFlag;} void SetAuditShell( bool bActive ); @@ -326,8 +323,6 @@ public: bool GetChartArea( ScRangeListRef& rSource, Rectangle& rDest, SCTAB& rTab ) const; - void SetEditChartName(const OUString& aStr){aEditChartName=aStr;} - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; ScNavigatorSettings* GetNavigatorSettings(); @@ -351,10 +346,6 @@ public: vcl::Window* pParent, sal_uInt16 nSlotId ); void UpdateOleZoom(); - inline SbxObject* GetScSbxObject() const - { return pScSbxObject; } - inline void SetScSbxObject( SbxObject* pOb ) - { pScSbxObject = pOb; } virtual const FmFormShell* GetFormShell() const SAL_OVERRIDE { return pFormShell; } virtual FmFormShell* GetFormShell() SAL_OVERRIDE { return pFormShell; } @@ -368,7 +359,6 @@ public: bool SelectObject( const OUString& rName ); void SetInFormatDialog(bool bFlag) {bInFormatDialog=bFlag;} - bool IsInFormatDialog() {return bInFormatDialog;} void ForceMove() { Move(); } diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx index f222c63fabb4..aedb2e8c3b44 100644 --- a/sc/source/ui/inc/tphfedit.hxx +++ b/sc/source/ui/inc/tphfedit.hxx @@ -127,7 +127,6 @@ public: OString GetSelectedIdent() const { return aSelectedIdent;} void SetMenuHdl( const Link<>& rLink ) { aMLink = rLink; } - const Link<>& GetMenuHdl() const { return aMLink; } virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; }; diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index 631ccc622448..c4d516728a3b 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -163,7 +163,6 @@ private: private: void Init (); void FillUserSortListBox (); - void FillOutPosList (); // Handler ------------------------ DECL_LINK( EnableHdl, CheckBox * ); diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx index 8bd28c67a3da..779375140ce3 100644 --- a/sc/source/ui/inc/uiitems.hxx +++ b/sc/source/ui/inc/uiitems.hxx @@ -67,15 +67,6 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; const ScAddress& GetPos() const { return aCursorPos; } - const ScAddress& GetStartPos() const { return aStartPos; } - const ScAddress& GetEndPos() const { return aEndPos; } - SCTAB GetTab() const { return aCursorPos.Tab(); } - SCCOL GetCol() const { return aCursorPos.Col(); } - SCROW GetRow() const { return aCursorPos.Row(); } - SCCOL GetStartCol() const { return aStartPos.Col(); } - SCROW GetStartRow() const { return aStartPos.Row(); } - SCCOL GetEndCol() const { return aEndPos.Col(); } - SCROW GetEndRow() const { return aEndPos.Row(); } const OUString& GetString() const { return aString; } const EditTextObject* GetEditData() const { return pEditData; } diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index 0cf1d9370e1f..371d99369f76 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -71,8 +71,6 @@ public: } void SetRefInputStartPreHdl( PINPUTSTARTDLTYPE pNewHdl ){ m_pRefInputStartPreHdl = pNewHdl; } void SetRefInputDonePostHdl( void (ScRefHandlerCaller::*pNewHdl)() ){ m_pRefInputDonePostHdl = pNewHdl; } - void SetRefInputStartPostHdl( PINPUTSTARTDLTYPE pNewHdl ){ m_pRefInputStartPostHdl = pNewHdl; } - void SetRefInputDonePreHdl( void (ScRefHandlerCaller::*pNewHdl)() ){ m_pRefInputDonePreHdl = pNewHdl; } ScRefHandlerHelper():m_pHandler(NULL), m_pSetReferenceHdl( NULL ), m_pSetActiveHdl(NULL), m_pRefInputStartPreHdl( NULL ), m_pRefInputStartPostHdl( NULL ), m_pRefInputDonePreHdl( NULL ), m_pRefInputDonePostHdl( NULL ){} }; @@ -162,8 +160,6 @@ private: void RefInputDonePostHdl(); ScValidationDlg * GetValidationDlg(); public: - sal_uInt16 GetAllowEntryPos(); - OUString GetMinText(); void SetupRefDlg(); void RemoveRefDlg(); }; @@ -222,16 +218,6 @@ public: (m_pHandler->*m_pSetActiveHdl)(); } - void CloseRefDialog() - { - OSL_FAIL( "should not execute here!!!when the edit kill focus, should remove refhandler.\r\n" ); - - if ( IsInExecute() ) - EndDialog( RET_CANCEL ); - else if ( GetStyle() & WB_CLOSEABLE ) - Close(); - } - bool IsRefInputting(){ return m_bRefInputting; } vcl::Window* get_refinput_shrink_parent() { return m_pHBox; } diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx index 20854ee45a69..46af42032740 100644 --- a/sc/source/ui/inc/viewdata.hxx +++ b/sc/source/ui/inc/viewdata.hxx @@ -275,7 +275,6 @@ public: SCROW GetPosY( ScVSplitPos eWhich ) const { return pThisTab->nPosY[eWhich]; } SCCOL GetCurX() const { return pThisTab->nCurX; } SCROW GetCurY() const { return pThisTab->nCurY; } - bool HasOldCursor() const { return pThisTab->mbOldCursorValid; } SCCOL GetOldCurX() const; SCROW GetOldCurY() const; ScSplitMode GetHSplitMode() const { return pThisTab->eHSplitMode; } @@ -321,9 +320,6 @@ public: const MapMode& GetLogicMode( ScSplitPos eWhich ); const MapMode& GetLogicMode(); // Offset 0 - long GetTPosX( ScHSplitPos eWhich ) const { return pThisTab->nTPosX[eWhich]; } - long GetTPosY( ScVSplitPos eWhich ) const { return pThisTab->nTPosY[eWhich]; } - double GetPPTX() const { return nPPTX; } double GetPPTY() const { return nPPTY; } diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index 6f3cabd13640..7b28d0ae5729 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.hxx @@ -150,7 +150,6 @@ public: bool bTryReplace = false ); bool HasBookmarkAtCursor( SvxHyperlinkItem* pContent ); - long DropRequestHdl( Exchange* pExchange ); bool MoveBlockTo( const ScRange& rSource, const ScAddress& rDestPos, bool bCut, bool bRecord, bool bPaint, bool bApi ); @@ -206,8 +205,6 @@ public: void SetMarkedWidthOrHeight( bool bWidth, ScSizeMode eMode, sal_uInt16 nSizeTwips, bool bRecord = true, bool bPaint = true ); - void ShowMarkedColumns( bool bShow, bool bRecord = true ); - void ShowMarkedRows( bool bShow, bool bRecord = true ); bool AdjustBlockHeight( bool bPaint = true, ScMarkData* pMarkData = NULL ); bool AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, bool bPaint = true ); @@ -288,11 +285,6 @@ public: void InsertSpecialChar( const OUString& rStr, const vcl::Font& rFont ); - void InsertDummyObject(); - void InsertOleObject(); - - void InsertDraw(); - void SetSelectionFrameLines( const ::editeng::SvxBorderLine* pLine, bool bColorOnly ); @@ -325,7 +317,6 @@ public: void InsertCurrentTime(short nCellFmt, const OUString& rUndoStr); void ShowNote( bool bShow = true ); - inline void HideNote() { ShowNote( false ); } void EditNote(); void ForgetFormatArea() { bFormatValid = false; } diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx index 179b48819bc1..4d80e9657b0d 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.hxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.hxx @@ -55,13 +55,6 @@ private: void OpenCLAutomaticSelectionChanged(); void SelectedDeviceChanged(); - SvTreeListEntry *createItem(const OUString &rCaption, const OUString& sValue) const; - void setValueAt(size_t nPos, const OUString &rString); -#if HAVE_FEATURE_OPENCL - OpenCLConfig::ImplMatcherSet& CurrentWhiteOrBlackList(); - const OpenCLConfig::ImplMatcher& CurrentWhiteOrBlackListEntry(); -#endif - private: VclPtr<CheckBox> mpEmptyAsZero; VclPtr<ListBox> mpConversion; diff --git a/sc/source/ui/sidebar/CellLineStyleControl.hxx b/sc/source/ui/sidebar/CellLineStyleControl.hxx index 3b772db89fd9..c4de870e3331 100644 --- a/sc/source/ui/sidebar/CellLineStyleControl.hxx +++ b/sc/source/ui/sidebar/CellLineStyleControl.hxx @@ -51,16 +51,6 @@ public: void GetFocus() SAL_OVERRIDE; void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis); - - ValueSet& GetValueSet() - { - return *maCellLineStyleValueSet.get(); - } - - Control& GetPushButton() - { - return *maPushButtonMoreOptions.get(); - } }; } } // end of namespace svx::sidebar diff --git a/sc/source/ui/vba/vbaname.hxx b/sc/source/ui/vba/vbaname.hxx index 69e29198f4fe..a416c21bca25 100644 --- a/sc/source/ui/vba/vbaname.hxx +++ b/sc/source/ui/vba/vbaname.hxx @@ -36,9 +36,6 @@ class ScVbaName : public NameImpl_BASE css::uno::Reference< css::sheet::XNamedRanges > mxNames; OUString getContent( const formula::FormulaGrammar::Grammar eGrammar, bool prependEquals = true ); void setContent( const OUString& sContent, const formula::FormulaGrammar::Grammar eGrammar, bool removeEquals = true ); -protected: - css::uno::Reference< css::frame::XModel > getModel() { return mxModel; } - public: ScVbaName( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XNamedRange >& xName , const css::uno::Reference< css::sheet::XNamedRanges >& xNames , const css::uno::Reference< css::frame::XModel >& xModel ); virtual ~ScVbaName(); diff --git a/sc/source/ui/vba/vbanames.hxx b/sc/source/ui/vba/vbanames.hxx index 96d9180be56e..b8df3b18f9bf 100644 --- a/sc/source/ui/vba/vbanames.hxx +++ b/sc/source/ui/vba/vbanames.hxx @@ -42,7 +42,6 @@ public: ScVbaNames( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XNamedRanges >& xNames , const css::uno::Reference< css::frame::XModel >& xModel ); ScDocument* getScDocument(); - ScDocShell* getScDocShell(); virtual ~ScVbaNames(); diff --git a/sc/source/ui/vba/vbapane.hxx b/sc/source/ui/vba/vbapane.hxx index 104e74a4cf8c..dd94655cc7a8 100644 --- a/sc/source/ui/vba/vbapane.hxx +++ b/sc/source/ui/vba/vbapane.hxx @@ -35,8 +35,6 @@ public: const css::uno::Reference< css::frame::XModel >& rModel, const css::uno::Reference< css::sheet::XViewPane >& rViewPane ) throw (css::uno::RuntimeException); - css::uno::Reference< css::sheet::XViewPane > getViewPane() const { return m_xViewPane; } - // XPane attributes virtual sal_Int32 SAL_CALL getScrollColumn() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setScrollColumn( sal_Int32 _scrollcolumn ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; |