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/inc | |
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/inc')
-rw-r--r-- | sc/inc/addincfg.hxx | 2 | ||||
-rw-r--r-- | sc/inc/clkernelthread.hxx | 4 | ||||
-rw-r--r-- | sc/inc/convuno.hxx | 39 | ||||
-rw-r--r-- | sc/inc/filtopt.hxx | 4 | ||||
-rw-r--r-- | sc/inc/grouparealistener.hxx | 4 | ||||
-rw-r--r-- | sc/inc/scabstdlg.hxx | 2 | ||||
-rw-r--r-- | sc/inc/simpleformulacalc.hxx | 1 |
7 files changed, 0 insertions, 56 deletions
diff --git a/sc/inc/addincfg.hxx b/sc/inc/addincfg.hxx index 74e86c93047b..f99c8ed01f3e 100644 --- a/sc/inc/addincfg.hxx +++ b/sc/inc/addincfg.hxx @@ -25,8 +25,6 @@ class ScAddInCfg : public utl::ConfigItem { private: - com::sun::star::uno::Sequence<OUString> GetPropertyNames(); - virtual void ImplCommit() SAL_OVERRIDE; public: diff --git a/sc/inc/clkernelthread.hxx b/sc/inc/clkernelthread.hxx index 358da116addd..ef53a5e689da 100644 --- a/sc/inc/clkernelthread.hxx +++ b/sc/inc/clkernelthread.hxx @@ -34,8 +34,6 @@ public: CLBuildKernelThread(); virtual ~CLBuildKernelThread(); - void finish(); - void push(CLBuildKernelWorkItem item); osl::Condition maCompilationDoneCondition; @@ -47,8 +45,6 @@ private: osl::Mutex maQueueMutex; osl::Condition maQueueCondition; std::queue<CLBuildKernelWorkItem> maQueue; - static void produce(); - static void consume(); }; } diff --git a/sc/inc/convuno.hxx b/sc/inc/convuno.hxx index 6c2c5ec74e0c..f2c4c20ed835 100644 --- a/sc/inc/convuno.hxx +++ b/sc/inc/convuno.hxx @@ -50,27 +50,15 @@ public: static inline void FillApiRange( ::com::sun::star::table::CellRangeAddress& rApiRange, const ScRange& rScRange ); - // CellAddress -> CellRangeAddress - static inline void FillApiRange( - ::com::sun::star::table::CellRangeAddress& rApiRange, - const ::com::sun::star::table::CellAddress& rApiAddress ); // CellRangeAddress-Start -> CellAddress static inline void FillApiStartAddress( ::com::sun::star::table::CellAddress& rApiAddress, const ::com::sun::star::table::CellRangeAddress& rApiRange ); - // CellRangeAddress-End -> CellAddress - static inline void FillApiEndAddress( - ::com::sun::star::table::CellAddress& rApiAddress, - const ::com::sun::star::table::CellRangeAddress& rApiRange ); /** Returns true, if the passed ranges have at least one common cell. */ static inline bool Intersects( const ::com::sun::star::table::CellRangeAddress& rApiARange1, const ::com::sun::star::table::CellRangeAddress& rApiARange2 ); - /** Returns true, if the passed address rApiInner is inside the passed range rApiOuter. */ - static inline bool Contains( - const ::com::sun::star::table::CellRangeAddress& rApiOuter, - const ::com::sun::star::table::CellAddress& rApiInner ); /** Returns true, if the passed range rApiInner is completely inside the passed range rApiOuter. */ static inline bool Contains( const ::com::sun::star::table::CellRangeAddress& rApiOuter, @@ -112,15 +100,6 @@ inline void ScUnoConversion::FillApiRange( rApiRange.EndRow = rScRange.aEnd.Row(); } -inline void ScUnoConversion::FillApiRange( - ::com::sun::star::table::CellRangeAddress& rApiRange, - const ::com::sun::star::table::CellAddress& rApiAddress ) -{ - rApiRange.StartColumn = rApiRange.EndColumn = rApiAddress.Column; - rApiRange.StartRow = rApiRange.EndRow = rApiAddress.Row; - rApiRange.Sheet = rApiAddress.Sheet; -} - inline void ScUnoConversion::FillApiStartAddress( ::com::sun::star::table::CellAddress& rApiAddress, const ::com::sun::star::table::CellRangeAddress& rApiRange ) @@ -130,15 +109,6 @@ inline void ScUnoConversion::FillApiStartAddress( rApiAddress.Sheet = rApiRange.Sheet; } -inline void ScUnoConversion::FillApiEndAddress( - ::com::sun::star::table::CellAddress& rApiAddress, - const ::com::sun::star::table::CellRangeAddress& rApiRange ) -{ - rApiAddress.Column = rApiRange.EndColumn; - rApiAddress.Row = rApiRange.EndRow; - rApiAddress.Sheet = rApiRange.Sheet; -} - inline bool ScUnoConversion::Intersects( const ::com::sun::star::table::CellRangeAddress& rApiRange1, const ::com::sun::star::table::CellRangeAddress& rApiRange2 ) @@ -150,15 +120,6 @@ inline bool ScUnoConversion::Intersects( inline bool ScUnoConversion::Contains( const ::com::sun::star::table::CellRangeAddress& rApiOuter, - const ::com::sun::star::table::CellAddress& rApiInner ) -{ - return (rApiOuter.Sheet == rApiInner.Sheet) && - (rApiOuter.StartColumn <= rApiInner.Column) && (rApiInner.Column <= rApiOuter.EndColumn) && - (rApiOuter.StartRow <= rApiInner.Row) && (rApiInner.Row <= rApiOuter.EndRow); -} - -inline bool ScUnoConversion::Contains( - const ::com::sun::star::table::CellRangeAddress& rApiOuter, const ::com::sun::star::table::CellRangeAddress& rApiInner ) { return (rApiOuter.Sheet == rApiInner.Sheet) && diff --git a/sc/inc/filtopt.hxx b/sc/inc/filtopt.hxx index a9381cee3702..ee188c4ad6a6 100644 --- a/sc/inc/filtopt.hxx +++ b/sc/inc/filtopt.hxx @@ -42,10 +42,6 @@ public: virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames ) SAL_OVERRIDE; bool GetWK3Flag() const { return bWK3Flag; } - double GetExcelColScale() const { return fExcelColScale; } - double GetExcelRowScale() const { return fExcelRowScale; } - - // values are never modified by office }; #endif diff --git a/sc/inc/grouparealistener.hxx b/sc/inc/grouparealistener.hxx index 71de7ee29586..d19c9fec0d80 100644 --- a/sc/inc/grouparealistener.hxx +++ b/sc/inc/grouparealistener.hxx @@ -60,10 +60,6 @@ public: void collectFormulaCells( SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2, std::vector<ScFormulaCell*>& rCells ) const; void collectFormulaCells( SCROW nRow1, SCROW nRow2, std::vector<ScFormulaCell*>& rCells ) const; - ScAddress getTopCellPos() const; - const ScRange& getRange() const; - SCROW getGroupLength() const; - private: void notifyCellChange( const SfxHint& rHint, const ScAddress& rPos ); void notifyBulkChange( const BulkDataHint& rHint ); diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx index 3fcedfc23e8f..aab5be06f3f0 100644 --- a/sc/inc/scabstdlg.hxx +++ b/sc/inc/scabstdlg.hxx @@ -217,7 +217,6 @@ public: virtual bool GetRenameTable () const = 0; virtual void GetTabNameString( OUString& rString ) const = 0; virtual void SetForceCopyTable () = 0; - virtual void EnableCopyTable (bool bFlag=true) = 0; virtual void EnableRenameTable (bool bFlag=true) = 0; }; @@ -231,7 +230,6 @@ class AbstractScNamePasteDlg : public VclAbstractDialog { public: virtual std::vector<OUString> GetSelectedNames() const = 0; - virtual bool IsAllSelected() const = 0; }; class AbstractScPivotFilterDlg : public VclAbstractDialog diff --git a/sc/inc/simpleformulacalc.hxx b/sc/inc/simpleformulacalc.hxx index 340c9d8b958a..2d20f6d30e5c 100644 --- a/sc/inc/simpleformulacalc.hxx +++ b/sc/inc/simpleformulacalc.hxx @@ -46,7 +46,6 @@ public: double GetValue(); svl::SharedString GetString(); short GetFormatType() const { return mnFormatType; } - sal_uLong GetFormatIndex() const { return mnFormatIndex; } bool HasColRowName(); |