summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source')
-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;