[Libreoffice-commits] core.git: include/vcl

Noel Grandin noel.grandin at collabora.co.uk
Tue Nov 15 05:49:49 UTC 2016


 include/vcl/animate.hxx          |    6 +++---
 include/vcl/bitmapex.hxx         |    6 +++---
 include/vcl/graphicfilter.hxx    |    8 ++++----
 include/vcl/outdev.hxx           |    2 +-
 include/vcl/pdfextoutdevdata.hxx |    2 +-
 include/vcl/pdfwriter.hxx        |    2 +-
 include/vcl/print.hxx            |    2 +-
 include/vcl/splitwin.hxx         |    4 ++--
 include/vcl/tabctrl.hxx          |    2 +-
 9 files changed, 17 insertions(+), 17 deletions(-)

New commits:
commit c37b72c182894a481819b44b9a2dc9049dce2c61
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Nov 14 11:58:16 2016 +0200

    loplugin:countusersofdefaultparams in include/vcl
    
    Change-Id: I16979e6d49e7f1ff7ea53194cfc64fddf27d00cf
    Reviewed-on: https://gerrit.libreoffice.org/30841
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index 640ae95..1194996 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 115e353..c3e566b 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 e5f9743..f591e2e 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 6b396fa..0088136 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 e6468a6..7095b90 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 0e059a6..8db01f8 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 f20a647..f452564 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 96ecd89..1f12174 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 18f3e44..fbd7d28 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 );
 


More information about the Libreoffice-commits mailing list