summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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>
Diffstat (limited to 'svx')
-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
8 files changed, 0 insertions, 43 deletions
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;