diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-14 11:58:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 05:49:20 +0000 |
commit | c37b72c182894a481819b44b9a2dc9049dce2c61 (patch) | |
tree | 3a4d8c6c7acf4d18f3d7c0653733abc0a2cb0a07 | |
parent | 9259fcd40b1749cd421c433bcc436cb335cbbe43 (diff) |
loplugin:countusersofdefaultparams in include/vcl
Change-Id: I16979e6d49e7f1ff7ea53194cfc64fddf27d00cf
Reviewed-on: https://gerrit.libreoffice.org/30841
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/vcl/animate.hxx | 6 | ||||
-rw-r--r-- | include/vcl/bitmapex.hxx | 6 | ||||
-rw-r--r-- | include/vcl/graphicfilter.hxx | 8 | ||||
-rw-r--r-- | include/vcl/outdev.hxx | 2 | ||||
-rw-r--r-- | include/vcl/pdfextoutdevdata.hxx | 2 | ||||
-rw-r--r-- | include/vcl/pdfwriter.hxx | 2 | ||||
-rw-r--r-- | include/vcl/print.hxx | 2 | ||||
-rw-r--r-- | include/vcl/splitwin.hxx | 4 | ||||
-rw-r--r-- | include/vcl/tabctrl.hxx | 2 |
9 files changed, 17 insertions, 17 deletions
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx index 640ae95628cd..119499629d36 100644 --- a/include/vcl/animate.hxx +++ b/include/vcl/animate.hxx @@ -144,9 +144,9 @@ public: bool Adjust( short nLuminancePercent, short nContrastPercent, - short nChannelRPercent = 0, - short nChannelGPercent = 0, - short nChannelBPercent = 0, + short nChannelRPercent, + short nChannelGPercent, + short nChannelBPercent, double fGamma = 1.0, bool bInvert = false ); diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index 115e35316dde..c3e566b860dc 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -327,9 +327,9 @@ public: bool Adjust( short nLuminancePercent, short nContrastPercent, - short nChannelRPercent = 0, - short nChannelGPercent = 0, - short nChannelBPercent = 0, + short nChannelRPercent, + short nChannelGPercent, + short nChannelBPercent, double fGamma = 1.0, bool bInvert = false, bool msoBrightness = false ); diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index e5f974323bfb..f591e2ed28c5 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -275,12 +275,12 @@ public: sal_uInt16 nFormat, const css::uno::Sequence< css::beans::PropertyValue >* pFilterData = nullptr ); sal_uInt16 ExportGraphic( const Graphic& rGraphic, const OUString& rPath, - SvStream& rOStm, sal_uInt16 nFormat, - const css::uno::Sequence< css::beans::PropertyValue >* pFilterData = nullptr ); + SvStream& rOStm, sal_uInt16 nFormat, + const css::uno::Sequence< css::beans::PropertyValue >* pFilterData = nullptr ); sal_uInt16 CanImportGraphic( const INetURLObject& rPath, sal_uInt16 nFormat, - sal_uInt16 * pDeterminedFormat = nullptr); + sal_uInt16 * pDeterminedFormat); sal_uInt16 ImportGraphic( Graphic& rGraphic, const INetURLObject& rPath, sal_uInt16 nFormat = GRFILTER_FORMAT_DONTKNOW, @@ -288,7 +288,7 @@ public: sal_uInt16 CanImportGraphic( const OUString& rPath, SvStream& rStream, sal_uInt16 nFormat, - sal_uInt16 * pDeterminedFormat = nullptr); + sal_uInt16 * pDeterminedFormat); sal_uInt16 ImportGraphic( Graphic& rGraphic, const OUString& rPath, SvStream& rStream, diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 6b396fa16f67..0088136ca734 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1311,7 +1311,7 @@ public: SystemTextLayoutData GetSysTextLayoutData( const Point& rStartPt, const OUString& rStr, sal_Int32 nIndex, sal_Int32 nLen, - const long* pDXAry = nullptr ) const; + const long* pDXAry ) const; SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; SAL_DLLPRIVATE void ReMirror( Point &rPoint ) const; diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index e6468a6ba470..7095b9092dea 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -309,7 +309,7 @@ public: @returns the outline item id of the new item */ - sal_Int32 CreateOutlineItem( sal_Int32 nParent, const OUString& rText, sal_Int32 nDestID = -1 ); + sal_Int32 CreateOutlineItem( sal_Int32 nParent, const OUString& rText, sal_Int32 nDestID ); /** Create a new note on a page diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 0e059a601658..8db01f8e4ab1 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -1017,7 +1017,7 @@ The following structure describes the permissions used in PDF security @returns the outline item id of the new item */ - sal_Int32 CreateOutlineItem( sal_Int32 nParent, const OUString& rText, sal_Int32 nDestID = -1 ); + sal_Int32 CreateOutlineItem( sal_Int32 nParent, const OUString& rText, sal_Int32 nDestID ); /** Set an outline item's parent diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index f20a6471ff74..f452564c107d 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -678,7 +678,7 @@ public: */ static css::uno::Any setRangeControlOpt( const OUString& i_rID, const OUString& i_rTitle, const OUString& i_rHelpId, const OUString& i_rProperty, sal_Int32 i_nValue, sal_Int32 i_nMinValue, - sal_Int32 i_nMaxValue, const UIControlOptions& i_rControlOptions = UIControlOptions()); + sal_Int32 i_nMaxValue, const UIControlOptions& i_rControlOptions); /** Show a string field diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index 96ecd89f40f5..1f121746c025 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -145,10 +145,10 @@ public: void InsertItem( sal_uInt16 nId, vcl::Window* pWindow, long nSize, sal_uInt16 nPos, sal_uInt16 nIntoSetId, - SplitWindowItemFlags nBits = SplitWindowItemFlags::NONE ); + SplitWindowItemFlags nBits ); void InsertItem( sal_uInt16 nId, long nSize, sal_uInt16 nPos, sal_uInt16 nIntoSetId, - SplitWindowItemFlags nBits = SplitWindowItemFlags::NONE ); + SplitWindowItemFlags nBits ); void RemoveItem( sal_uInt16 nId ); void Clear(); diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 18f3e448f11d..fbd7d28a3d1e 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -72,7 +72,7 @@ protected: SAL_DLLPRIVATE void ImplShowFocus(); SAL_DLLPRIVATE void ImplDrawItem(vcl::RenderContext& rRenderContext, ImplTabItem* pItem, const Rectangle& rCurRect, bool bFirstInGroup, - bool bLastInGroup, bool bIsCurrentItem = false); + bool bLastInGroup, bool bIsCurrentItem); SAL_DLLPRIVATE void ImplFreeLayoutData(); SAL_DLLPRIVATE bool ImplHandleKeyEvent( const KeyEvent& rKeyEvent ); |