summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/viewuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 16:15:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 12:52:35 +0200
commit9f4421039a40f385489cb2f3ad8a1b02fb32251c (patch)
tree4a5c4b5bb46484e1a9963f4ea7db9cdc23f5d0a4 /sc/source/ui/unoobj/viewuno.cxx
parent998532d8542b87b4069416ca48d1fc90e8d8ed70 (diff)
loplugin:unusedfields in sc part3
Change-Id: I7323e8644e5d336d52fa21b063264b0847b5e780 Reviewed-on: https://gerrit.libreoffice.org/39064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/viewuno.cxx')
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index d76a9fcfb7cc..56a8f44a75f6 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -447,8 +447,7 @@ ScTabViewObj::ScTabViewObj( ScTabViewShell* pViewSh ) :
nPreviousTab( 0 ),
bDrawSelModeSet(false),
bFilteredRangeSelection(false),
- mbLeftMousePressed(false),
- mbPendingSelectionChanged(false)
+ mbLeftMousePressed(false)
{
if (pViewSh)
nPreviousTab = pViewSh->GetViewData().GetTabNo();
@@ -1259,7 +1258,6 @@ bool ScTabViewObj::MouseReleased( const awt::MouseEvent& e )
{
try
{
- mbPendingSelectionChanged = false;
ScTabViewShell* pViewSh = GetViewShell();
ScViewData& rViewData = pViewSh->GetViewData();
ScDocShell* pDocSh = rViewData.GetDocShell();
@@ -1721,7 +1719,6 @@ void ScTabViewObj::SelectionChanged()
}
if ( !mbLeftMousePressed ) // selection still in progress
{
- mbPendingSelectionChanged = false;
try
{
uno::Reference< script::vba::XVBAEventProcessor > xVbaEvents( rDoc.GetVbaEventProcessor(), uno::UNO_SET_THROW );
@@ -1733,10 +1730,6 @@ void ScTabViewObj::SelectionChanged()
{
}
}
- else
- {
- mbPendingSelectionChanged = true;
- }
}
// XPropertySet (view options)