basctl/source/basicide/breakpoint.cxx | 2 +- basctl/source/basicide/breakpoint.hxx | 2 -- basctl/source/dlged/dlged.cxx | 6 ++---- basctl/source/inc/dlged.hxx | 2 -- 4 files changed, 3 insertions(+), 9 deletions(-)
New commits: commit 2b7109a12ab772bf53766d6e06b422c8e687d482 Author: Noel Grandin <n...@peralex.com> Date: Fri Jun 24 12:00:51 2016 +0200 loplugin:singlevalfields in basctl Change-Id: Ia533309bb0e7f33b492b230a372916c0c6fd6ec3 Reviewed-on: https://gerrit.libreoffice.org/26631 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/basctl/source/basicide/breakpoint.cxx b/basctl/source/basicide/breakpoint.cxx index 411b994..b3e6a70 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 9267297..8431c30 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 fc4fab0..06669a4 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 82ad353..76a0f0c 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits