summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-rw-r--r--sc/inc/drwlayer.hxx3
-rw-r--r--sc/source/core/data/drwlayer.cxx16
2 files changed, 0 insertions, 19 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 4d355b948443..a8db063850ce 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -115,8 +115,6 @@ public:
virtual SdrModel* AllocModel() const SAL_OVERRIDE;
virtual void SetChanged( bool bFlg = true ) SAL_OVERRIDE;
- virtual SdrLayerID GetControlExportLayerId( const SdrObject & ) const SAL_OVERRIDE;
-
bool HasObjects() const;
bool ScAddPage( SCTAB nTab );
@@ -209,7 +207,6 @@ public:
static ScMacroInfo* GetMacroInfo( SdrObject* pObj, bool bCreate = false );
virtual ImageMap* GetImageMapForObject(SdrObject* pObj) SAL_OVERRIDE;
- virtual sal_Int32 GetHyperlinkCount(SdrObject* pObj) SAL_OVERRIDE;
private:
static SfxObjectShell* pGlobalDrawPersist; // for AllocModel
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index ce8ad8e7d0fa..032637c90a79 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -2118,16 +2118,6 @@ ImageMap* ScDrawLayer::GetImageMapForObject(SdrObject* pObj)
return NULL;
}
-sal_Int32 ScDrawLayer::GetHyperlinkCount(SdrObject* pObj)
-{
- sal_Int32 nHLCount = 0;
- ScMacroInfo* pMacroInfo = GetMacroInfo(pObj, false);
- if (pMacroInfo)
- // MT IA2: GetHlink*( doesn't exist in DEV300 anymore...
- nHLCount = 0; // pMacroInfo->GetHlink().getLength() > 0 ? 1 : 0;
- return nHLCount;
-}
-
void ScDrawLayer::SetGlobalDrawPersist(SfxObjectShell* pPersist)
{
OSL_ENSURE(!pGlobalDrawPersist,"Multiple SetGlobalDrawPersist");
@@ -2141,12 +2131,6 @@ void ScDrawLayer::SetChanged( bool bFlg /* = true */ )
FmFormModel::SetChanged( bFlg );
}
-SdrLayerID ScDrawLayer::GetControlExportLayerId( const SdrObject & ) const
-{
- // Layer for export of Form-Controls in Versions before 5.0 - always SC_LAYER_FRONT
- return SC_LAYER_FRONT;
-}
-
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ScDrawLayer::createUnoModel()
{
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xRet;