summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-15 16:43:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-16 09:05:08 +0200
commit8611689f0df73daeebb261b0c06c8a1727c17fe3 (patch)
tree799ae23e4aa5b19402bfcb44757495bb35db9eac
parent196f46db1b5dfddda6972a6b738d8b77b6c3601e (diff)
loplugin:unusedmethods
Change-Id: I10c291788061ec8467126a0dc719e20fb3cf47ec Reviewed-on: https://gerrit.libreoffice.org/54386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/svx/dlgctrl.hxx4
-rw-r--r--include/svx/graphctl.hxx2
-rw-r--r--include/vcl/edit.hxx1
-rw-r--r--sd/source/ui/table/TableDesignPane.hxx3
-rw-r--r--solenv/clang-format/blacklist1
-rw-r--r--svx/source/dialog/dlgctrl.cxx15
-rw-r--r--svx/source/svdraw/svdconv.hxx21
-rw-r--r--svx/source/svdraw/svdoashp.cxx1
-rw-r--r--svx/source/svdraw/svdobj.cxx2
-rw-r--r--svx/source/svdraw/svdocapt.cxx1
-rw-r--r--svx/source/svdraw/svdomeas.cxx1
-rw-r--r--svx/source/svdraw/svdopath.cxx1
-rw-r--r--svx/source/svdraw/svdotext.cxx1
13 files changed, 0 insertions, 54 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index 1f2a17f9feb7..4752c8033066 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -117,7 +117,6 @@ protected:
public:
SvxRectCtl( vcl::Window* pParent, RectPoint eRpt = RectPoint::MM,
sal_uInt16 nBorder = 200, sal_uInt16 nCircle = 80 );
- void SetControlSettings(RectPoint eRpt, sal_uInt16 nBorder, sal_uInt16 nCircl);
virtual ~SvxRectCtl() override;
virtual void dispose() override;
@@ -145,7 +144,6 @@ public:
RectPoint GetApproxRPFromPixPt( const css::awt::Point& rPixelPoint ) const;
bool IsCompletelyDisabled() const { return mbCompleteDisable; }
- void DoCompletelyDisable(bool bNew);
};
class SAL_WARN_UNUSED SVX_DLLPUBLIC RectCtl
@@ -174,8 +172,6 @@ protected:
bool mbCompleteDisable : 1;
- void MarkToResetSettings();
-
RectPoint GetRPFromPoint( Point, bool bRTL = false ) const;
const Point& GetPointFromRP( RectPoint ) const;
Point SetActualRPWithoutInvalidate( RectPoint eNewRP ); // returns the last point
diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx
index 13d323c48a93..492e3dd62987 100644
--- a/include/svx/graphctl.hxx
+++ b/include/svx/graphctl.hxx
@@ -142,8 +142,6 @@ public:
virtual ~SvxGraphCtrl();
void SetGraphic( const Graphic& rGraphic );
- const Graphic& GetGraphic() const { return aGraphic; }
- const Size& GetGraphicSize() const { return aGraphSize; }
const Size& GetSize() const { return maSize; }
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 16ac23120429..61649aeef6f1 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -278,7 +278,6 @@ public:
void SetForceControlBackground(bool b) { mbForceControlBackground = b; }
- void SetPassword(bool b) { mbPassword = b; }
bool IsPassword() const { return mbPassword; }
};
diff --git a/sd/source/ui/table/TableDesignPane.hxx b/sd/source/ui/table/TableDesignPane.hxx
index 8c631dceeb3b..1111149ce0ae 100644
--- a/sd/source/ui/table/TableDesignPane.hxx
+++ b/sd/source/ui/table/TableDesignPane.hxx
@@ -78,9 +78,6 @@ public:
void ApplyOptions();
void ApplyStyle();
- bool isStyleChanged() const { return mbStyleSelected; }
- bool isOptionsChanged() const { return mbOptionsChanged; }
-
private:
void addListener();
void removeListener();
diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist
index 4fc47329e80b..cc3dfe0e8843 100644
--- a/solenv/clang-format/blacklist
+++ b/solenv/clang-format/blacklist
@@ -14679,7 +14679,6 @@ svx/source/svdraw/sdrpaintwindow.cxx
svx/source/svdraw/sdrundomanager.cxx
svx/source/svdraw/selectioncontroller.cxx
svx/source/svdraw/svdattr.cxx
-svx/source/svdraw/svdconv.hxx
svx/source/svdraw/svdcrtv.cxx
svx/source/svdraw/svddrag.cxx
svx/source/svdraw/svddrgm1.hxx
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index d091a121023d..c6612b7e0b61 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -83,14 +83,6 @@ SvxRectCtl::SvxRectCtl(vcl::Window* pParent, RectPoint eRpt,
Resize_Impl();
}
-void SvxRectCtl::SetControlSettings(RectPoint eRpt, sal_uInt16 nBorder, sal_uInt16 nCircle)
-{
- nBorderWidth = nBorder;
- nRadius = nCircle;
- eDefRP = eRpt;
- Resize_Impl();
-}
-
Size SvxRectCtl::GetOptimalSize() const
{
return LogicToPixel(Size(78, 39), MapMode(MapUnit::MapAppFont));
@@ -652,13 +644,6 @@ RectPoint SvxRectCtl::GetApproxRPFromPixPt( const css::awt::Point& r ) const
return GetRPFromPoint( GetApproxLogPtFromPixPt( Point( r.X, r.Y ) ) );
}
-// CompletelyDisabled() added to have a disabled state for SvxRectCtl
-void SvxRectCtl::DoCompletelyDisable(bool bNew)
-{
- mbCompleteDisable = bNew;
- Invalidate();
-}
-
BitmapEx& RectCtl::GetRectBitmap()
{
if( !pBitmap )
diff --git a/svx/source/svdraw/svdconv.hxx b/svx/source/svdraw/svdconv.hxx
deleted file mode 100644
index e2b415d20f11..000000000000
--- a/svx/source/svdraw/svdconv.hxx
+++ /dev/null
@@ -1,21 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_SVX_SOURCE_SVDRAW_SVDCONV_HXX
-#define INCLUDED_SVX_SOURCE_SVDRAW_SVDCONV_HXX
-
-#include <sal/types.h>
-
-inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); }
-
-inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); }
-
-#endif // INCLUDED_SVX_SOURCE_SVDRAW_SVDCONV_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index e4fb279d5970..a6a4a756fd90 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -82,7 +82,6 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/utils/unotools.hxx>
-#include "svdconv.hxx"
#include <svdobjplusdata.hxx>
using namespace ::com::sun::star;
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 2e2b74aef7f9..2ee6999ac93a 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -25,8 +25,6 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
-#include "svdconv.hxx"
-
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx
index 69a65fb1e68b..e02b596f2195 100644
--- a/svx/source/svdraw/svdocapt.cxx
+++ b/svx/source/svdraw/svdocapt.cxx
@@ -31,7 +31,6 @@
#include <tools/bigint.hxx>
#include <tools/helpers.hxx>
-#include "svdconv.hxx"
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
diff --git a/svx/source/svdraw/svdomeas.cxx b/svx/source/svdraw/svdomeas.cxx
index 918b6fd4ebce..53aa58ba4f06 100644
--- a/svx/source/svdraw/svdomeas.cxx
+++ b/svx/source/svdraw/svdomeas.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "svdconv.hxx"
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 1e8257906e70..c1ff60b573cd 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -42,7 +42,6 @@
#include <svx/xlntrit.hxx>
#include <sdr/contact/viewcontactofsdrpathobj.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
-#include "svdconv.hxx"
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/range/b2drange.hxx>
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 18673a5f0914..8576b406370e 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -60,7 +60,6 @@
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <vcl/virdev.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
-#include "svdconv.hxx"
using namespace com::sun::star;