diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 11:57:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:40:10 +0000 |
commit | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (patch) | |
tree | bc18d71a94b1a9015d45155ad79179e61e6aa3c0 /sd | |
parent | cedbc4031f26ea13b188a4ecc5b90cc9646095fb (diff) |
loplugin:constantparam
Change-Id: I1996319e5b664dff95f7a9b2346aea6092d333ec
Reviewed-on: https://gerrit.libreoffice.org/36070
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/undo/undomanager.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/animations/CategoryListBox.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/diactrl.cxx | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/core/undo/undomanager.cxx b/sd/source/core/undo/undomanager.cxx index a8144231cbb7..e4caf4df4cb7 100644 --- a/sd/source/core/undo/undomanager.cxx +++ b/sd/source/core/undo/undomanager.cxx @@ -24,8 +24,7 @@ using namespace sd; UndoManager::UndoManager() - : SdrUndoManager( 20/*nMaxUndoActionCount*/ ) - , mpLinkedUndoManager(nullptr) + : mpLinkedUndoManager(nullptr) , mpViewShell(nullptr) { } diff --git a/sd/source/ui/animations/CategoryListBox.cxx b/sd/source/ui/animations/CategoryListBox.cxx index f81b65ecec49..ca332ea788d5 100644 --- a/sd/source/ui/animations/CategoryListBox.cxx +++ b/sd/source/ui/animations/CategoryListBox.cxx @@ -69,7 +69,7 @@ void CategoryListBox::UserDraw( const UserDrawEvent& rUDEvt ) } else { - DrawEntry( rUDEvt, true, false ); + DrawEntry( rUDEvt ); } } diff --git a/sd/source/ui/dlg/diactrl.cxx b/sd/source/ui/dlg/diactrl.cxx index a0cb60c16a25..e8737c19e6e9 100644 --- a/sd/source/ui/dlg/diactrl.cxx +++ b/sd/source/ui/dlg/diactrl.cxx @@ -40,7 +40,7 @@ SFX_IMPL_TOOLBOX_CONTROL( SdTbxCtlDiaPages, SfxUInt16Item ) // SdPagesField SdPagesField::SdPagesField( vcl::Window* pParent, const uno::Reference< frame::XFrame >& rFrame ) : - SvxMetricField ( pParent, rFrame, WB_BORDER | WB_SPIN | WB_REPEAT ), + SvxMetricField ( pParent, rFrame ), m_xFrame ( rFrame ) { OUString aStr( SD_RESSTR( STR_SLIDE_PLURAL ) ); |