summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-22 10:20:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-22 13:02:57 +0000
commit96d44c9b077a6cc8068067a795dc63248ab90fea (patch)
tree3a6df22d2df616d8c2568264e47a5219475cfc90 /sc/source/ui/drawfunc
parent561cebeeba2155a7ebedbea885c9d7bf43102ec6 (diff)
loplugin:unusedmethods sc
Change-Id: I7bdb1889a942d63370731764a58f4ab524dedd8a Reviewed-on: https://gerrit.libreoffice.org/17287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx7
-rw-r--r--sc/source/ui/drawfunc/futext.cxx52
2 files changed, 0 insertions, 59 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 2817e527b8e5..caa5102c2599 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -669,13 +669,6 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
return bReturn;
}
-// II
-void FuDraw::SelectionHasChanged()
-{
- const SdrHdlList& rHdlList = pView->GetHdlList();
- ((SdrHdlList&)rHdlList).ResetFocusHdl();
-}
-
/*************************************************************************
|*
|* enable function
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index ce7cf5c03b5d..2cd2f5f0038d 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -619,58 +619,6 @@ void FuText::Deactivate()
/*************************************************************************
|*
-|* Selektion hat sich geaendert
-|*
-\************************************************************************/
-
-void FuText::SelectionHasChanged()
-{
- pView->SetDragMode(SDRDRAG_MOVE);
- SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings();
- rBindings.Invalidate( SID_OBJECT_ROTATE );
- rBindings.Invalidate( SID_OBJECT_MIRROR );
-
- pTextObj = NULL;
-
- if ( pView->AreObjectsMarked() )
- {
- const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
-
- if (rMarkList.GetMarkCount() == 1)
- {
- SdrMark* pMark = rMarkList.GetMark(0);
- SdrObject* pObj = pMark->GetMarkedSdrObj();
-
- sal_uInt16 nSdrObjKind = pObj->GetObjIdentifier();
-
- if (nSdrObjKind == OBJ_TEXT ||
- nSdrObjKind == OBJ_TITLETEXT ||
- nSdrObjKind == OBJ_OUTLINETEXT /* ||
- pObj->ISA(SdrTextObj) */ )
- {
- pTextObj = static_cast<SdrTextObj*>(pObj);
- }
- }
- }
-
- if (!pTextObj)
- {
- /**********************************************************************
- * Kein Textobjekt im EditMode, daher CreateMode setzen
- **********************************************************************/
- sal_uInt16 nObj = OBJ_TEXT;
- sal_uInt16 nIdent;
- sal_uInt32 nInvent;
- pView->TakeCurrentObj(nIdent, nInvent);
-
- pView->SetCurrentObj(nObj);
-
- pView->SetCreateMode();
- }
-}
-
-/*************************************************************************
-|*
|* Objekt in Edit-Mode setzen
|*
\************************************************************************/