diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/breakpoint.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/breakpoint.hxx | 2 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 6 | ||||
-rw-r--r-- | basctl/source/inc/dlged.hxx | 2 |
4 files changed, 3 insertions, 9 deletions
diff --git a/basctl/source/basicide/breakpoint.cxx b/basctl/source/basicide/breakpoint.cxx index 411b99475d6d..b3e6a70e1617 100644 --- a/basctl/source/basicide/breakpoint.cxx +++ b/basctl/source/basicide/breakpoint.cxx @@ -61,7 +61,7 @@ void BreakPointList::InsertSorted(BreakPoint* pNewBrk) { if ( pNewBrk->nLine <= (*i)->nLine ) { - DBG_ASSERT( ( (*i)->nLine != pNewBrk->nLine ) || pNewBrk->bTemp, "BreakPoint existiert schon!" ); + DBG_ASSERT( (*i)->nLine != pNewBrk->nLine, "BreakPoint existiert schon!" ); maBreakPoints.insert( i, pNewBrk ); return; } diff --git a/basctl/source/basicide/breakpoint.hxx b/basctl/source/basicide/breakpoint.hxx index 926729795cc0..8431c3039af3 100644 --- a/basctl/source/basicide/breakpoint.hxx +++ b/basctl/source/basicide/breakpoint.hxx @@ -33,14 +33,12 @@ namespace basctl struct BreakPoint { bool bEnabled; - bool bTemp; size_t nLine; size_t nStopAfter; size_t nHitCount; explicit BreakPoint(size_t nL) : bEnabled(true) - , bTemp(false) , nLine(nL) , nStopAfter(0) , nHitCount(0) diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index fc4fab087f60..06669a45700d 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -192,8 +192,6 @@ DlgEditor::DlgEditor ( ,eActObj( OBJ_DLG_PUSHBUTTON ) ,bFirstDraw(false) ,aGridSize( 100, 100 ) // 100TH_MM - ,bGridVisible(false) - ,bGridSnap(true) ,bCreateOK(true) ,bDialogModelChanged(false) ,aMarkIdle("basctl DlgEditor Mark") @@ -233,8 +231,8 @@ DlgEditor::DlgEditor ( pDlgEdView->SetGridCoarse( aGridSize ); pDlgEdView->SetSnapGridWidth(Fraction(aGridSize.Width(), 1), Fraction(aGridSize.Height(), 1)); - pDlgEdView->SetGridSnap( bGridSnap ); - pDlgEdView->SetGridVisible( bGridVisible ); + pDlgEdView->SetGridSnap( true ); + pDlgEdView->SetGridVisible( false ); pDlgEdView->SetDragStripes(false); pDlgEdView->SetDesignMode(); diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index 82ad3530debe..76a0f0c2d23c 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -126,8 +126,6 @@ private: sal_uInt16 eActObj; bool bFirstDraw; Size aGridSize; - bool bGridVisible; - bool bGridSnap; bool bCreateOK; Rectangle aPaintRect; bool bDialogModelChanged; |