summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-16 09:49:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-16 12:18:39 +0000
commit1d852b32d7ad89b2317c04958060f366f8922ca4 (patch)
tree69720512c5675dfad89d00e1134b46faff5eb7b6 /sw
parent383b75f4f516d6a5d256ffc08bc0e7836520447b (diff)
loplugin:unusedmethods svx
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/drawdoc.hxx3
-rw-r--r--sw/source/core/draw/drawdoc.cxx6
2 files changed, 0 insertions, 9 deletions
diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx
index 0e4ea36e5417..43c816d7c57e 100644
--- a/sw/inc/drawdoc.hxx
+++ b/sw/inc/drawdoc.hxx
@@ -41,9 +41,6 @@ public:
virtual ::com::sun::star::uno::Reference<
::com::sun::star::embed::XStorage> GetDocumentStorage() const SAL_OVERRIDE;
- /// For saving of rectangles as control-replacement for versions < 5.0.
- virtual SdrLayerID GetControlExportLayerId( const SdrObject & ) const SAL_OVERRIDE;
-
protected:
/// override of <SdrModel::createUnoModel()> is needed to provide corresponding uno model.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoModel() SAL_OVERRIDE;
diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx
index 6c7a0b1cc228..e4fe12ee0c0b 100644
--- a/sw/source/core/draw/drawdoc.cxx
+++ b/sw/source/core/draw/drawdoc.cxx
@@ -126,12 +126,6 @@ uno::Reference<embed::XStorage> SwDrawModel::GetDocumentStorage() const
return m_pDoc->GetDocStorage();
}
-SdrLayerID SwDrawModel::GetControlExportLayerId( const SdrObject & ) const
-{
- //for versions < 5.0, there was only Hell and Heaven
- return static_cast<SdrLayerID>(m_pDoc->getIDocumentDrawModelAccess().GetHeavenId());
-}
-
uno::Reference< uno::XInterface > SwDrawModel::createUnoModel()
{
uno::Reference< uno::XInterface > xModel;