diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-14 10:52:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-14 10:53:30 +0200 |
commit | faf4bf0c3e017b9caec27a1f7355c9cf636bf19b (patch) | |
tree | eec729652be79c6733b3461265d65697bc340066 /svtools | |
parent | e9f28d0d98fef5aff63131a8e1c3395da0a422ad (diff) |
loplugin:countusersofdefaultparams in sot..svtools
Change-Id: Ifce19de3518f3eaf5a1b6439f9053feee4a33c14
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/roadmap.hxx | 2 | ||||
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 6 | ||||
-rw-r--r-- | svtools/source/control/roadmap.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/tabbar.cxx | 4 | ||||
-rw-r--r-- | svtools/source/graphic/grfcache.hxx | 4 |
5 files changed, 10 insertions, 8 deletions
diff --git a/svtools/inc/roadmap.hxx b/svtools/inc/roadmap.hxx index da1047e6d0d1..04b20f9eb5e5 100644 --- a/svtools/inc/roadmap.hxx +++ b/svtools/inc/roadmap.hxx @@ -50,7 +50,7 @@ protected: void implInit(vcl::RenderContext& rRenderContext); public: - ORoadmap( vcl::Window* _pParent, WinBits _nWinStyle = 0 ); + ORoadmap( vcl::Window* _pParent, WinBits _nWinStyle ); virtual ~ORoadmap( ) override; virtual void dispose() override; diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index cb190b4af2a7..269abf707764 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -444,8 +444,10 @@ private: public: ImpLineListData( BorderWidthImpl aWidthImpl, sal_uInt16 nStyle, - long nMinWidth=0, Color ( *pColor1Fn ) ( Color ) = &sameColor, - Color ( *pColor2Fn ) ( Color ) = &sameColor, Color ( *pColorDistFn ) ( Color, Color ) = &sameDistColor ); + long nMinWidth, + Color ( *pColor1Fn ) ( Color ), + Color ( *pColor2Fn ) ( Color ), + Color ( *pColorDistFn ) ( Color, Color ) ); /** Returns the computed width of the line 1 in twips. */ long GetLine1ForWidth( long nWidth ) { return m_aWidthImpl.GetLine1( nWidth ); } diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 638159100126..cd9b9a0e9a12 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -40,7 +40,7 @@ typedef std::vector< RoadmapItem* > HL_Vector; class IDLabel : public FixedText { public: - IDLabel( vcl::Window* _pParent, WinBits _nWinStyle = 0 ); + IDLabel( vcl::Window* _pParent, WinBits _nWinStyle ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; }; diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 2d7c5d83c96d..446bb6a47942 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -311,7 +311,7 @@ bool ImplTabButton::PreNotify(NotifyEvent& rNotifyEvent) class ImplTabSizer : public vcl::Window { public: - ImplTabSizer( TabBar* pParent, WinBits nWinStyle = 0 ); + ImplTabSizer( TabBar* pParent, WinBits nWinStyle ); TabBar* GetParent() const { return static_cast<TabBar*>(Window::GetParent()); } @@ -392,7 +392,7 @@ private: DECL_LINK( ImplEndTimerHdl, Idle*, void ); public: - TabBarEdit( TabBar* pParent, WinBits nWinStyle = 0 ); + TabBarEdit( TabBar* pParent, WinBits nWinStyle ); TabBar* GetParent() const { return static_cast<TabBar*>(Window::GetParent()); } diff --git a/svtools/source/graphic/grfcache.hxx b/svtools/source/graphic/grfcache.hxx index eaffeb40d219..8db16aee1d52 100644 --- a/svtools/source/graphic/grfcache.hxx +++ b/svtools/source/graphic/grfcache.hxx @@ -53,8 +53,8 @@ private: public: GraphicCache( - sal_uLong nDisplayCacheSize = 10000000UL, - sal_uLong nMaxObjDisplayCacheSize = 2400000UL + sal_uLong nDisplayCacheSize, + sal_uLong nMaxObjDisplayCacheSize ); ~GraphicCache(); |