summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-21 10:15:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-21 10:07:37 +0000
commit0649622956431e0a1955cb80d1175025401ab5e5 (patch)
treecdaa1ff406d232399d53594ad1a32691402ab665 /tools
parentede35e5c693a287f31e3c02d8afd33580e827380 (diff)
loplugin:unusedmethods
Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx5
-rw-r--r--tools/source/rc/rc.cxx6
2 files changed, 0 insertions, 11 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index b0f068370d27..b66f21691933 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1464,11 +1464,6 @@ bool Polygon::IsInside( const Point& rPoint ) const
return ( ( nPCounter & 1 ) == 1 );
}
-bool Polygon::IsRightOrientated() const
-{
- return GetSignedArea() >= 0.0;
-}
-
void Polygon::Insert( sal_uInt16 nPos, const Point& rPt )
{
ImplMakeUnique();
diff --git a/tools/source/rc/rc.cxx b/tools/source/rc/rc.cxx
index 262f07a6a5e3..2f0ea96a9986 100644
--- a/tools/source/rc/rc.cxx
+++ b/tools/source/rc/rc.cxx
@@ -24,12 +24,6 @@
#include <tools/rc.hxx>
#include <tools/rcid.h>
-Resource::Resource( const ResId& rResId )
- : m_pResMgr(nullptr)
-{
- GetRes( rResId.SetRT( RSC_RESOURCE ) );
-}
-
void Resource::GetRes( const ResId& rResId )
{
if( rResId.GetResMgr() )