summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-17 09:32:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-22 11:16:54 +0200
commit51b49228ee7d3bb9788b7ff44e2c1737caa63818 (patch)
tree08a810a27a463537c86a56773adb1e32dc2f03f4 /basctl
parente129d1ae092e3605656ca4c58be3b77495444e5f (diff)
loplugin:unusedfields in avmedia..comphelper
Change-Id: I74f125103b67c506d9bb67537e4c4cd3f8f871da Reviewed-on: https://gerrit.libreoffice.org/54641 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlged.cxx2
-rw-r--r--basctl/source/inc/dlged.hxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index f3755414bfb3..5588752c4054 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -190,7 +190,6 @@ DlgEditor::DlgEditor (
,eMode( DlgEditor::SELECT )
,eActObj( OBJ_DLG_PUSHBUTTON )
,bFirstDraw(false)
- ,aGridSize( 100, 100 ) // 100TH_MM
,bCreateOK(true)
,bDialogModelChanged(false)
,aMarkIdle("basctl DlgEditor Mark")
@@ -227,6 +226,7 @@ DlgEditor::DlgEditor (
pDlgEdView->SetMoveSnapOnlyTopLeft(true);
pDlgEdView->SetWorkArea( tools::Rectangle( Point( 0, 0 ), pDlgEdPage->GetSize() ) );
+ Size aGridSize( 100, 100 ); // 100TH_MM
pDlgEdView->SetGridCoarse( aGridSize );
pDlgEdView->SetSnapGridWidth(Fraction(aGridSize.Width(), 1), Fraction(aGridSize.Height(), 1));
pDlgEdView->SetGridSnap( true );
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx
index d844255c837b..6654b454a42d 100644
--- a/basctl/source/inc/dlged.hxx
+++ b/basctl/source/inc/dlged.hxx
@@ -126,7 +126,6 @@ private:
Mode eMode;
sal_uInt16 eActObj;
bool bFirstDraw;
- Size aGridSize;
bool bCreateOK;
tools::Rectangle aPaintRect;
bool bDialogModelChanged;