summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 09:35:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 14:45:43 +0200
commit73e6a7975b3508c5cfccb3df7c35b0303f87d9bb (patch)
tree0b9a2c93b1db01dd476be1479022ac5066980db9 /sc/source
parent3138abfb052a4241cfca4b8d430c139cca50a85c (diff)
loplugin:unusedmethods
Change-Id: I7805ac9bc6f8c0aa5ba4804777e7d7c2c29a78f3 Reviewed-on: https://gerrit.libreoffice.org/52066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx20
-rw-r--r--sc/source/filter/xml/XMLStylesImportHelper.hxx7
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx2
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx5
4 files changed, 0 insertions, 34 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index b151451dbd9a..9f261aef056d 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -853,7 +853,6 @@ public:
ss << ", ";
mStringArgument.GenSlidingWindowDecl(ss);
}
- virtual bool IsMixedArgument() const { return true;}
virtual void GenSlidingWindowFunction( std::stringstream& ) override { }
/// Generate declaration
virtual void GenDecl( std::stringstream& ss ) const override
@@ -872,10 +871,6 @@ public:
{
VectorRef::GenSlidingWindowDecl(ss);
}
- virtual void GenStringDeclRef( std::stringstream& ss ) const
- {
- mStringArgument.GenSlidingWindowDecl(ss);
- }
virtual std::string GenSlidingWindowDeclRef( bool nested ) const override
{
std::stringstream ss;
@@ -1066,12 +1061,6 @@ public:
size_t GetArrayLength() const { return mpDVR->GetArrayLength(); }
- size_t GetWindowSize() const { return mpDVR->GetRefRowSize(); }
-
- size_t GetStartFixed() const { return bIsStartFixed; }
-
- size_t GetEndFixed() const { return bIsEndFixed; }
-
protected:
bool bIsStartFixed, bIsEndFixed;
const formula::DoubleVectorRefToken* mpDVR;
@@ -1118,7 +1107,6 @@ public:
ss << ")";
return ss.str();
}
- virtual bool IsMixedArgument() const { return true;}
virtual std::string GenDoubleSlidingWindowDeclRef( bool = false ) const override
{
std::stringstream ss;
@@ -1131,14 +1119,6 @@ public:
ss << mStringArgument.GenSlidingWindowDeclRef();
return ss.str();
}
- virtual void GenNumDeclRef( std::stringstream& ss ) const
- {
- mDoubleArgument.GenDeclRef(ss);
- }
- virtual void GenStringDeclRef( std::stringstream& ss ) const
- {
- mStringArgument.GenDeclRef(ss);
- }
virtual size_t Marshal( cl_kernel k, int argno, int vw, cl_program p ) override
{
int i = mDoubleArgument.Marshal(k, argno, vw, p);
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx
index ccffeb7f0c8f..62b36fb681db 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx
@@ -147,13 +147,6 @@ class ScMyStylesImportHelper
void AddDefaultRange(const ScRange& rRange);
void AddSingleRange(const ScRange& rRange);
void AddRange();
- static bool IsEqual(const OUString* pFirst, const OUString* pSecond)
- {
- return ((pFirst && pSecond && *pFirst == *pSecond) ||
- (!pFirst && !pSecond) ||
- (!pFirst && pSecond && pSecond->isEmpty()) ||
- (!pSecond && pFirst && pFirst->isEmpty()));
- }
public:
explicit ScMyStylesImportHelper(ScXMLImport& rImport);
~ScMyStylesImportHelper();
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 8db44ce95f01..00f883ab4237 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -190,8 +190,6 @@ protected:
virtual void Move() override; // notification
- virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ); // old
-
virtual void InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override; // new
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override;
virtual void SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoomY ) override;
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 2c67a32a1ae6..0b4bfa714cad 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -330,11 +330,6 @@ void ScTabViewShell::UpdateOleZoom()
}
}
-void ScTabViewShell::AdjustPosSizePixel( const Point &rPos, const Size &rSize )
-{
- OuterResizePixel( rPos, rSize );
-}
-
void ScTabViewShell::InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange )
{
Size aNewSize( rSize );