diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:34 +0200 |
commit | 65fe84d273a4fe099cd03be088165672788cf32e (patch) | |
tree | 0795ea30238cb3b8f8ab65efc894b909cd14cfc8 /svtools/source/brwbox | |
parent | 5a3f4ccd6e98412b3e773f9790b8f078569578ae (diff) |
loplugin:defaultparams
Change-Id: I7f24a05bdf01b455d470f5b560359dea3f407c58
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 10 | ||||
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index 52fec260e6f3..47f0101cc862 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -504,7 +504,7 @@ void BrowseBox::ExpandRowSelection( const BrowserMouseEvent& rEvt ) } else if ( !bMultiSelection || !IsRowSelected( rEvt.GetRow() ) ) - SelectRow( rEvt.GetRow(), true ); + SelectRow( rEvt.GetRow() ); GoToRow( rEvt.GetRow(), false ); DoShowCursor( "ExpandRowSelection" ); @@ -1620,7 +1620,7 @@ void BrowseBox::MouseButtonDown( const BrowserMouseEvent& rEvt ) // select directly SetNoSelection(); GoToRow( rEvt.GetRow() ); - SelectRow( rEvt.GetRow(), true ); + SelectRow( rEvt.GetRow() ); aSelRange = Range( rEvt.GetRow(), rEvt.GetRow() ); bSelect = true; } @@ -1682,7 +1682,7 @@ void BrowseBox::MouseButtonUp( const BrowserMouseEvent &rEvt ) else { GoToRow( rEvt.GetRow() ); - SelectRow( rEvt.GetRow(), true ); + SelectRow( rEvt.GetRow() ); } } bSelect = true; @@ -1834,7 +1834,7 @@ void BrowseBox::Dispatch( sal_uInt16 nId ) SelectRow( nRow, bLocalSelect ); bool bDone = GoToRow( GetCurRow() + 1, false ); if ( bDone ) - SelectRow( GetCurRow(), true ); + SelectRow( GetCurRow() ); } else ScrollRows( 1 ); @@ -1851,7 +1851,7 @@ void BrowseBox::Dispatch( sal_uInt16 nId ) SelectRow( nCurRow, bLocalSelect ); bool bDone = GoToRow( nRow - 1, false ); if ( bDone ) - SelectRow( GetCurRow(), true ); + SelectRow( GetCurRow() ); } break; case BROWSER_CURSORPAGEDOWN: diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index daa21121282e..3968c17aee8b 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -288,9 +288,9 @@ void BrowserDataWin::DataChanged( const DataChangedEvent& rDCEvt ) { if( !bOwnDataChangedHdl ) { - InitSettings_Impl(this, true, true); + InitSettings_Impl(this); Invalidate(); - InitSettings_Impl(GetParent(), true, true); + InitSettings_Impl(GetParent()); GetParent()->Invalidate(); GetParent()->Resize(); } |