summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 14:26:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 11:13:52 +0200
commit95c348afa8f4f17c058c449ded75025175af0e4a (patch)
tree88f21ab151fbbf5c79e9adf4bae8dfb920c9e85a /sd
parent2149d4a88e9dc88c30e7475f8ea317e5c7b78529 (diff)
loplugin:unusedfields in svx part2
Change-Id: Ie9fd55b71a152f428a397d9917918f0e9de39aaf Reviewed-on: https://gerrit.libreoffice.org/39014 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/brkdlg.cxx2
-rw-r--r--sd/source/ui/func/futext.cxx2
-rw-r--r--sd/source/ui/view/sdview.cxx1
3 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index e6da3e880f27..78d2ab62a195 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -62,7 +62,7 @@ BreakDlg::BreakDlg(
pProgrInfo = new SvdProgressInfo( LINK(this, BreakDlg, UpDate) );
// every action is edited 3 times in DoImport()
- pProgrInfo->Init( nSumActionCount*3, nObjCount );
+ pProgrInfo->Init( nObjCount );
pDrView = _pDrView;
bCancel = false;
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 488032f4bf54..9262929aabba 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -255,7 +255,6 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
bool bReturn = FuDraw::MouseButtonDown(rMEvt);
- mpView->SetMarkHdlWhenTextEdit(true);
SdrViewEvent aVEvt;
SdrHitKind eHit = mpView->PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
@@ -900,7 +899,6 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
bool FuText::KeyInput(const KeyEvent& rKEvt)
{
bool bReturn = false;
- mpView->SetMarkHdlWhenTextEdit(true);
vcl::KeyCode nCode = rKEvt.GetKeyCode();
bool bShift = nCode.IsShift();
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index b3008725d98d..9d9b2dc8d880 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -133,7 +133,6 @@ View::View(SdDrawDocument& rDrawDoc, OutputDevice* pOutDev,
EnableExtendedMouseEventDispatcher(false);
SetUseIncompatiblePathCreateInterface(false);
- SetMarkHdlWhenTextEdit(true);
SetMinMoveDistancePixel(2);
SetHitTolerancePixel(2);