summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 10:22:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-28 10:00:01 +0100
commitae25d5d3a333f58723eb9449cd3694cc0b80b3a6 (patch)
treeea2e7aa8375bb5142c7a67bbf4def4cc06269037 /svtools
parent6db4b97ee12805ce993bd7663a0613b4b4f25587 (diff)
loplugin:unusedfields
Change-Id: Iffbb4e7107a0b1ae35c879c193a9ec209addf453 Reviewed-on: https://gerrit.libreoffice.org/64144 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 4054a437d245..7c7510416097 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -126,9 +126,7 @@ namespace svt
,m_pFocusWhileRequest(nullptr)
,nPaintRow(-1)
,nEditRow(-1)
- ,nOldEditRow(-1)
,nEditCol(0)
- ,nOldEditCol(0)
,bHasFocus(false)
,bPaintStatus(true)
,bActiveBeforeTracking( false )
@@ -167,8 +165,8 @@ namespace svt
void EditBrowseBox::RemoveRows()
{
BrowseBox::Clear();
- nOldEditRow = nEditRow = nPaintRow = -1;
- nEditCol = nOldEditCol = 0;
+ nEditRow = nPaintRow = -1;
+ nEditCol = 0;
}
@@ -1019,9 +1017,6 @@ return;
if (bUpdate)
Update();
- nOldEditCol = nEditCol;
- nOldEditRow = nEditRow;
-
// release the controller (asynchronously)
if (nEndEvent)
Application::RemoveUserEvent(nEndEvent);
@@ -1046,8 +1041,6 @@ return;
nEndEvent = nullptr;
aOldController = CellControllerRef();
- nOldEditRow = -1;
- nOldEditCol = 0;
}