[Libreoffice-commits] core.git: vcl/inc vcl/source vcl/unx writerfilter/inc xmlhelp/source xmloff/inc xmloff/source xmlsecurity/source

Noel Grandin noel at peralex.com
Fri Aug 12 06:55:02 UTC 2016


 vcl/inc/fontsubset.hxx                         |    2 +-
 vcl/inc/graphite_layout.hxx                    |    2 +-
 vcl/inc/listbox.hxx                            |    4 ++--
 vcl/inc/openglgdiimpl.hxx                      |    8 ++++----
 vcl/inc/sallayout.hxx                          |    6 +++---
 vcl/inc/spin.hxx                               |    2 +-
 vcl/inc/unx/printergfx.hxx                     |    2 +-
 vcl/inc/unx/salframe.h                         |    4 ++--
 vcl/inc/unx/salobj.h                           |    2 +-
 vcl/inc/unx/wmadaptor.hxx                      |    2 +-
 vcl/source/control/longcurr.cxx                |    2 +-
 vcl/source/filter/ixbm/xbmread.cxx             |    2 +-
 vcl/source/filter/wmf/winmtf.hxx               |    4 ++--
 vcl/source/filter/wmf/wmfwr.hxx                |    2 +-
 vcl/source/gdi/pdfwriter_impl.cxx              |    2 +-
 vcl/source/gdi/pdfwriter_impl.hxx              |    2 +-
 vcl/source/window/menubarwindow.hxx            |    2 +-
 vcl/unx/generic/app/wmadaptor.cxx              |    2 +-
 vcl/unx/generic/gdi/xrender_peer.hxx           |    2 +-
 vcl/unx/generic/print/glyphset.hxx             |    2 +-
 vcl/unx/generic/printer/ppdparser.cxx          |    4 ++--
 writerfilter/inc/ooxml/OOXMLDocument.hxx       |    2 +-
 xmlhelp/source/cxxhelp/provider/databases.hxx  |    2 +-
 xmlhelp/source/cxxhelp/provider/db.hxx         |    2 +-
 xmloff/inc/txtflde.hxx                         |    2 +-
 xmloff/inc/txtlists.hxx                        |    2 +-
 xmloff/source/chart/SchXMLTools.hxx            |    2 +-
 xmloff/source/transform/TransformerBase.hxx    |    4 ++--
 xmlsecurity/source/dialogs/resourcemanager.hxx |    2 +-
 29 files changed, 39 insertions(+), 39 deletions(-)

New commits:
commit 500a3be0ea9184fc2823d704acf4037f70c6721e
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Aug 10 13:48:02 2016 +0200

    loplugin:countusersofdefaultparams in vcl..xmlsecurity
    
    Change-Id: I538596a99e632178d928ff7e66ad45c71b73c6fd
    Reviewed-on: https://gerrit.libreoffice.org/28018
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/vcl/inc/fontsubset.hxx b/vcl/inc/fontsubset.hxx
index 5c17e86..335c8ff 100644
--- a/vcl/inc/fontsubset.hxx
+++ b/vcl/inc/fontsubset.hxx
@@ -81,7 +81,7 @@ private:
     int                     mnReqGlyphCount;
 
 protected:
-    bool    CreateFontSubsetFromCff( sal_Int32* pOutGlyphWidths = nullptr );
+    bool    CreateFontSubsetFromCff( sal_Int32* pOutGlyphWidths );
     bool    CreateFontSubsetFromSfnt( sal_Int32* pOutGlyphWidths );
     static bool CreateFontSubsetFromType1( sal_Int32* pOutGlyphWidths );
 };
diff --git a/vcl/inc/graphite_layout.hxx b/vcl/inc/graphite_layout.hxx
index 75a38db..83141fd 100644
--- a/vcl/inc/graphite_layout.hxx
+++ b/vcl/inc/graphite_layout.hxx
@@ -113,7 +113,7 @@ public:
     virtual void  AdjustLayout( ImplLayoutArgs& ) override;  // adjusting positions
 
     // methods using string indexing
-    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra=0, int nFactor=1) const override;
+    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const override;
     virtual DeviceCoordinate FillDXArray( DeviceCoordinate* pDXArray ) const override;
     void  ApplyDXArray(ImplLayoutArgs &rArgs, std::vector<int> & rDeltaWidth);
 
diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx
index abde99b..5a6a317 100644
--- a/vcl/inc/listbox.hxx
+++ b/vcl/inc/listbox.hxx
@@ -111,7 +111,7 @@ public:
     /// GetAddedHeight( 0 ) @return 0
     /// GetAddedHeight( LISTBOX_ENTRY_NOTFOUND ) @return 0
     /// GetAddedHeight( i, k ) with k > i is equivalent -GetAddedHeight( k, i )
-    long            GetAddedHeight( sal_Int32  nEndIndex, sal_Int32  nBeginIndex = 0 ) const;
+    long            GetAddedHeight( sal_Int32  nEndIndex, sal_Int32  nBeginIndex ) const;
     long            GetEntryHeight( sal_Int32  nPos ) const;
 
     sal_Int32       GetEntryCount() const { return (sal_Int32 )maEntries.size(); }
@@ -561,7 +561,7 @@ public:
     bool            IsUserDrawEnabled() const           { return mbUserDrawEnabled; }
 
     void DrawEntry(vcl::RenderContext& rRenderContext, bool bDrawImage,
-                   bool bDrawTextAtImagePos = false, bool bLayout = false);
+                   bool bDrawTextAtImagePos, bool bLayout = false);
 
     bool GetEdgeBlending() const { return mbEdgeBlending; }
     void SetEdgeBlending(bool bNew) { mbEdgeBlending = bNew; }
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index 1bc9ef5..7e712f1 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -104,7 +104,7 @@ protected:
 
     void ImplInitClipRegion();
     void ImplSetClipBit( const vcl::Region& rClip, GLuint nMask );
-    void ImplDrawLineAA( double nX1, double nY1, double nX2, double nY2, bool edge = false );
+    void ImplDrawLineAA( double nX1, double nY1, double nX2, double nY2, bool edge );
     bool CheckOffscreenTexture();
 
     void ApplyProgramMatrices(float fPixelOffset = 0.0);
@@ -121,7 +121,7 @@ public:
     bool UseInvert(SalInvert nFlags);
 
     void DrawConvexPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, bool blockAA = false );
-    void DrawConvexPolygon( const tools::Polygon& rPolygon, bool blockAA = false );
+    void DrawConvexPolygon( const tools::Polygon& rPolygon, bool blockAA );
     void DrawTrapezoid( const basegfx::B2DTrapezoid& trapezoid, bool blockAA );
     void DrawRect( long nX, long nY, long nWidth, long nHeight );
     void DrawRect( const Rectangle& rRect );
@@ -133,7 +133,7 @@ public:
     void DrawTexture( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted = false );
     void DrawTransformedTexture( OpenGLTexture& rTexture, OpenGLTexture& rMask, const basegfx::B2DPoint& rNull, const basegfx::B2DPoint& rX, const basegfx::B2DPoint& rY );
     void DrawAlphaTexture( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted, bool pPremultiplied );
-    void DrawTextureDiff( OpenGLTexture& rTexture, OpenGLTexture& rMask, const SalTwoRect& rPosAry, bool bInverted = false );
+    void DrawTextureDiff( OpenGLTexture& rTexture, OpenGLTexture& rMask, const SalTwoRect& rPosAry, bool bInverted );
     void DrawTextureWithMask( OpenGLTexture& rTexture, OpenGLTexture& rMask, const SalTwoRect& rPosAry );
     void DrawBlendedTexture( OpenGLTexture& rTexture, OpenGLTexture& rMask, OpenGLTexture& rAlpha, const SalTwoRect& rPosAry );
     void DrawMask( OpenGLTexture& rTexture, SalColor nMaskColor, const SalTwoRect& rPosAry );
@@ -162,7 +162,7 @@ public:
     enum XOROption { IGNORE_XOR, IMPLEMENT_XOR };
 
     // initialize pre-draw state
-    void InitializePreDrawState(XOROption eOpt = IGNORE_XOR);
+    void InitializePreDrawState(XOROption eOpt);
 
     // operations to do before painting
     void PreDraw(XOROption eOpt = IGNORE_XOR);
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index b348ace..b6f44d4 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -174,7 +174,7 @@ public:
     int             GetOrientation() const                  { return mnOrientation; }
 
     // methods using string indexing
-    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra=0, int nFactor=1) const = 0;
+    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const = 0;
     virtual DeviceCoordinate FillDXArray( DeviceCoordinate* pDXArray ) const = 0;
     virtual DeviceCoordinate GetTextWidth() const { return FillDXArray( nullptr ); }
     virtual void    GetCaretPositions( int nArraySize, long* pCaretXArray ) const = 0;
@@ -234,7 +234,7 @@ class VCL_PLUGIN_PUBLIC MultiSalLayout : public SalLayout
 {
 public:
     virtual void    DrawText( SalGraphics& ) const override;
-    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra=0, int nFactor=1) const override;
+    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const override;
     virtual DeviceCoordinate FillDXArray( DeviceCoordinate* pDXArray ) const override;
     virtual void    GetCaretPositions( int nArraySize, long* pCaretXArray ) const override;
     virtual int     GetNextGlyphs( int nLen, sal_GlyphId* pGlyphIdxAry, Point& rPos,
@@ -336,7 +336,7 @@ public:
     // used by upper layers
     virtual DeviceCoordinate GetTextWidth() const override;
     virtual DeviceCoordinate FillDXArray( DeviceCoordinate* pDXArray ) const override;
-    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra=0, int nFactor=1) const override;
+    virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const override;
     virtual void    GetCaretPositions( int nArraySize, long* pCaretXArray ) const override;
 
     // used by display layers
diff --git a/vcl/inc/spin.hxx b/vcl/inc/spin.hxx
index 0ccfca5..4522666 100644
--- a/vcl/inc/spin.hxx
+++ b/vcl/inc/spin.hxx
@@ -34,7 +34,7 @@ void ImplDrawSpinButton(vcl::RenderContext& rRenderContext, vcl::Window* pWindow
 // Draw Up/Down buttons suitable for use in any context
 void ImplDrawUpDownButtons(vcl::RenderContext& rRenderContext,
                            const Rectangle& rUpperRect, const Rectangle& rLowerRect,
-                           bool bUpperIn, bool bLowerIn, bool bUpperEnabled = true, bool bLowerEnabled = true,
+                           bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled = true,
                            bool bHorz = false, bool bMirrorHorz = false);
 
 
diff --git a/vcl/inc/unx/printergfx.hxx b/vcl/inc/unx/printergfx.hxx
index f7f1367..eed4209 100644
--- a/vcl/inc/unx/printergfx.hxx
+++ b/vcl/inc/unx/printergfx.hxx
@@ -245,7 +245,7 @@ public:
 
     void            PSUploadPS1Font (sal_Int32 nFontID);
     void            PSSetFont (const OString& rName,
-                               rtl_TextEncoding nEncoding = RTL_TEXTENCODING_DONTKNOW)
+                               rtl_TextEncoding nEncoding)
     { maVirtualStatus.maFont = rName; maVirtualStatus.maEncoding = nEncoding; }
 
     /* graphics status stack */
diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h
index f2c3122..057520b 100644
--- a/vcl/inc/unx/salframe.h
+++ b/vcl/inc/unx/salframe.h
@@ -162,8 +162,8 @@ public:
     virtual ~X11SalFrame();
 
     long            Dispatch( XEvent *pEvent );
-    void            Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nScreen = SalX11Screen( -1 ),
-                          SystemParentData* pParentData = nullptr, bool bUseGeometry = false );
+    void            Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nScreen,
+                          SystemParentData* pParentData, bool bUseGeometry = false );
 
     SalDisplay* GetDisplay() const
     {
diff --git a/vcl/inc/unx/salobj.h b/vcl/inc/unx/salobj.h
index 424f3aa..a163ea9 100644
--- a/vcl/inc/unx/salobj.h
+++ b/vcl/inc/unx/salobj.h
@@ -61,7 +61,7 @@ public:
     bool            mbVisible;
 
     static VCL_DLLPUBLIC bool Dispatch( XEvent* pEvent );
-    static VCL_DLLPUBLIC X11SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
+    static VCL_DLLPUBLIC X11SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow );
 
     X11SalObject();
     virtual ~X11SalObject();
diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx
index 3c0c129..2aae1ac 100644
--- a/vcl/inc/unx/wmadaptor.hxx
+++ b/vcl/inc/unx/wmadaptor.hxx
@@ -258,7 +258,7 @@ public:
      *  set hints what decoration is needed;
      *  must be called before showing the frame
      */
-    virtual void setFrameTypeAndDecoration( X11SalFrame* pFrame, WMWindowType eType, int nDecorationFlags, X11SalFrame* pTransientFrame = nullptr ) const;
+    virtual void setFrameTypeAndDecoration( X11SalFrame* pFrame, WMWindowType eType, int nDecorationFlags, X11SalFrame* pTransientFrame ) const;
 
     /*
      *  tells whether there is WM support for splash screens
diff --git a/vcl/source/control/longcurr.cxx b/vcl/source/control/longcurr.cxx
index 75ddd72..656693a 100644
--- a/vcl/source/control/longcurr.cxx
+++ b/vcl/source/control/longcurr.cxx
@@ -122,7 +122,7 @@ bool ImplNumericProcessKeyInput( Edit*, const KeyEvent& rKEvt,
 
 bool ImplNumericGetValue( const OUString& rStr, BigInt& rValue,
                                  sal_uInt16 nDecDigits, const LocaleDataWrapper& rLocaleDataWrapper,
-                                 bool bCurrency = false )
+                                 bool bCurrency )
 {
     OUString aStr = rStr;
     OUStringBuffer aStr1;
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index 4053f05..50ecf8c 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -49,7 +49,7 @@ class XBMReader : public GraphicReader
 
     void            InitTable();
     OString         FindTokenLine( SvStream* pInStm, const char* pTok1,
-                                       const char* pTok2 = nullptr, const char* pTok3 = nullptr );
+                                       const char* pTok2, const char* pTok3 = nullptr );
     long            ParseDefine( const sal_Char* pDefine );
     bool            ParseData( SvStream* pInStm, const OString& aLastLine, XBMFormat eFormat );
 
diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx
index 6177d08..1f4e274 100644
--- a/vcl/source/filter/wmf/winmtf.hxx
+++ b/vcl/source/filter/wmf/winmtf.hxx
@@ -621,8 +621,8 @@ public:
                                       bool bRecordPath = false
                         );
     void                DrawPolyBezier( tools::Polygon& rPolygin,
-                                        bool bDrawTo = false,
-                                        bool bRecordPath = false
+                                        bool bDrawTo,
+                                        bool bRecordPath
                         );
     void                DrawText( Point& rPosition,
                                   OUString& rString,
diff --git a/vcl/source/filter/wmf/wmfwr.hxx b/vcl/source/filter/wmf/wmfwr.hxx
index 32cf5cf..47e0d56 100644
--- a/vcl/source/filter/wmf/wmfwr.hxx
+++ b/vcl/source/filter/wmf/wmfwr.hxx
@@ -199,7 +199,7 @@ private:
 
 public:
     WMFWriter();
-    bool WriteWMF(const GDIMetaFile & rMTF, SvStream & rTargetStream, FilterConfigItem* pFilterConfigItem, bool bPlaceable=true);
+    bool WriteWMF(const GDIMetaFile & rMTF, SvStream & rTargetStream, FilterConfigItem* pFilterConfigItem, bool bPlaceable);
 };
 
 #endif
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index d5f683f..76beeaa 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -898,7 +898,7 @@ static void appendDouble( double fValue, OStringBuffer& rBuffer, sal_Int32 nPrec
     }
 }
 
-static void appendColor( const Color& rColor, OStringBuffer& rBuffer, bool bConvertToGrey = false )
+static void appendColor( const Color& rColor, OStringBuffer& rBuffer, bool bConvertToGrey )
 {
 
     if( rColor != Color( COL_TRANSPARENT ) )
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 669bd92..4eb9a18 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -1176,7 +1176,7 @@ public:
 
     // links
     sal_Int32 createLink( const Rectangle& rRect, sal_Int32 nPageNr );
-    sal_Int32 createDest( const Rectangle& rRect, sal_Int32 nPageNr = -1, PDFWriter::DestAreaType eType = PDFWriter::XYZ );
+    sal_Int32 createDest( const Rectangle& rRect, sal_Int32 nPageNr, PDFWriter::DestAreaType eType );
     sal_Int32 registerDestReference( sal_Int32 nDestId, const Rectangle& rRect, sal_Int32 nPageNr, PDFWriter::DestAreaType eType );
     void      setLinkDest( sal_Int32 nLinkId, sal_Int32 nDestId );
     void      setLinkURL( sal_Int32 nLinkId, const OUString& rURL );
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx
index 06aac8d..f82d9bd 100644
--- a/vcl/source/window/menubarwindow.hxx
+++ b/vcl/source/window/menubarwindow.hxx
@@ -45,7 +45,7 @@ public:
 
     void    DataChanged( const DataChangedEvent& rDCEvt ) override;
 
-    void    SetImages( long nMaxHeight = 0, bool bForce = false );
+    void    SetImages( long nMaxHeight, bool bForce = false );
 
     void    calcMinSize();
     const Size& getMinSize() { return maMinSize;}
diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx
index f61082c..640c16f 100644
--- a/vcl/unx/generic/app/wmadaptor.cxx
+++ b/vcl/unx/generic/app/wmadaptor.cxx
@@ -55,7 +55,7 @@ public:
     virtual void setWMName( X11SalFrame* pFrame, const OUString& rWMName ) const override;
     virtual void maximizeFrame( X11SalFrame* pFrame, bool bHorizontal = true, bool bVertical = true ) const override;
     virtual void shade( X11SalFrame* pFrame, bool bToShaded ) const override;
-    virtual void setFrameTypeAndDecoration( X11SalFrame* pFrame, WMWindowType eType, int nDecorationFlags, X11SalFrame* pTransientFrame = nullptr ) const override;
+    virtual void setFrameTypeAndDecoration( X11SalFrame* pFrame, WMWindowType eType, int nDecorationFlags, X11SalFrame* pTransientFrame ) const override;
     virtual void enableAlwaysOnTop( X11SalFrame* pFrame, bool bEnable ) const override;
     virtual int handlePropertyNotify( X11SalFrame* pFrame, XPropertyEvent* pEvent ) const override;
     virtual void showFullScreen( X11SalFrame* pFrame, bool bFullScreen ) const override;
diff --git a/vcl/unx/generic/gdi/xrender_peer.hxx b/vcl/unx/generic/gdi/xrender_peer.hxx
index dbd6cb4..6bba583 100644
--- a/vcl/unx/generic/gdi/xrender_peer.hxx
+++ b/vcl/unx/generic/gdi/xrender_peer.hxx
@@ -135,7 +135,7 @@ inline void XRenderPeer::CompositeTrapezoids( int nOp,
         nXSrc, nYSrc, pXT, nCount );
 }
 
-inline XRenderColor GetXRenderColor( SalColor rSalColor, double fTransparency = 0.0 )
+inline XRenderColor GetXRenderColor( SalColor rSalColor, double fTransparency )
 {
     XRenderColor aRetVal;
     // convert the SalColor
diff --git a/vcl/unx/generic/print/glyphset.hxx b/vcl/unx/generic/print/glyphset.hxx
index c35ac42..07d9cba 100644
--- a/vcl/unx/generic/print/glyphset.hxx
+++ b/vcl/unx/generic/print/glyphset.hxx
@@ -106,7 +106,7 @@ public:
 
     void            DrawText (PrinterGfx &rGfx, const Point& rPoint,
                               const sal_Unicode* pStr, sal_Int16 nLen,
-                              const sal_Int32* pDeltaArray = nullptr);
+                              const sal_Int32* pDeltaArray);
     void            DrawGlyphs (PrinterGfx& rGfx,
                                 const Point& rPoint,
                                 const sal_GlyphId* pGlyphIds,
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 2a62dcf..ca60281 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -84,13 +84,13 @@ namespace psp
             const OUString& i_rOption,
             const OUString& i_rValue,
             const OUString& i_rTranslation,
-            const css::lang::Locale& i_rLocale = css::lang::Locale()
+            const css::lang::Locale& i_rLocale
             );
 
         void insertOption( const OUString& i_rKey,
                            const OUString& i_rOption,
                            const OUString& i_rTranslation,
-                           const css::lang::Locale& i_rLocale = css::lang::Locale() )
+                           const css::lang::Locale& i_rLocale )
         {
             insertValue( i_rKey, i_rOption, OUString(), i_rTranslation, i_rLocale );
         }
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx b/writerfilter/inc/ooxml/OOXMLDocument.hxx
index 4ab17d5..af06038 100644
--- a/writerfilter/inc/ooxml/OOXMLDocument.hxx
+++ b/writerfilter/inc/ooxml/OOXMLDocument.hxx
@@ -242,7 +242,7 @@ public:
 
     static OOXMLStream::Pointer_t
     createStream(const OOXMLStream::Pointer_t& pStream,
-                 OOXMLStream::StreamType_t nStreamType = OOXMLStream::DOCUMENT);
+                 OOXMLStream::StreamType_t nStreamType);
 
     static OOXMLStream::Pointer_t
     createStream(const OOXMLStream::Pointer_t& pStream, const OUString & rId);
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index b1e0230..f725e74 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -435,7 +435,7 @@ namespace chelp {
     private:
         css::uno::Reference< css::container::XHierarchicalNameAccess >
             implGetJarFromPackage(const css::uno::Reference< css::deployment::XPackage >& xPackage,
-                OUString* o_pExtensionPath = nullptr, OUString* o_pExtensionRegistryPath = nullptr );
+                OUString* o_pExtensionPath, OUString* o_pExtensionRegistryPath );
 
     }; // end class JarFileIterator
 
diff --git a/xmlhelp/source/cxxhelp/provider/db.hxx b/xmlhelp/source/cxxhelp/provider/db.hxx
index 6ef89ff..f214079 100644
--- a/xmlhelp/source/cxxhelp/provider/db.hxx
+++ b/xmlhelp/source/cxxhelp/provider/db.hxx
@@ -88,7 +88,7 @@ namespace helpdatafileproxy {
         ~Hdf()
             { releaseHashMap(); }
 
-        void createHashMap( bool bOptimizeForPerformance = false );
+        void createHashMap( bool bOptimizeForPerformance );
         void releaseHashMap();
 
         bool getValueForKey( const OString& rKey, HDFData& rValue );
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 515191b..595de0a 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -326,7 +326,7 @@ protected:
         enum ::xmloff::token::XMLTokenEnum eXMLName,    /// attribute token
         double dValue,              /// date/time value
         bool bIsDate,           /// export as date (rather than date/time)?
-        bool bIsDuration = false,           /// export as duration
+        bool bIsDuration,           /// export as duration
         bool bOmitDurationIfZero = true,    /// omit zero-length durat.
         sal_uInt16 nPrefix = XML_NAMESPACE_TEXT);   /// attribute name prefix
 
diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx
index d1c2ede..68b9a61 100644
--- a/xmloff/inc/txtlists.hxx
+++ b/xmloff/inc/txtlists.hxx
@@ -44,7 +44,7 @@ class XMLTextListsHelper
         /// list stack for importing:
 
         /// push a list context on the list context stack
-        void PushListContext(XMLTextListBlockContext *i_pListBlock = nullptr);
+        void PushListContext(XMLTextListBlockContext *i_pListBlock);
         void PushListContext(XMLNumberedParaContext *i_pNumberedParagraph);
         /// pop the list context stack
         void PopListContext();
diff --git a/xmloff/source/chart/SchXMLTools.hxx b/xmloff/source/chart/SchXMLTools.hxx
index 456cf67..c8b888d 100644
--- a/xmloff/source/chart/SchXMLTools.hxx
+++ b/xmloff/source/chart/SchXMLTools.hxx
@@ -123,7 +123,7 @@ namespace SchXMLTools
     bool getXMLRangePropertyFromDataSequence(
         const css::uno::Reference< css::chart2::data::XDataSequence > & xDataSequence,
         OUString & rOutXMLRange,
-        bool bClearProp = false );
+        bool bClearProp );
 
     css::uno::Reference< css::chart2::data::XDataProvider > getDataProviderFromParent( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc );
 
diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx
index 4dbb03c..045d768 100644
--- a/xmloff/source/transform/TransformerBase.hxx
+++ b/xmloff/source/transform/TransformerBase.hxx
@@ -153,9 +153,9 @@ public:
                                     sal_uInt16 nPrefixOnly=0xffffU ) const;
 
     bool ConvertURIToOASIS( OUString& rURI,
-                                bool bSupportPackage=false ) const;
+                                bool bSupportPackage ) const;
     bool ConvertURIToOOo( OUString& rURI,
-                                bool bSupportPackage=false ) const;
+                                bool bSupportPackage ) const;
 
     /** renames the given rOutAttributeValue if one of the parameters contains a
         matching token in its lower 16 bits.  The value is converted to the
diff --git a/xmlsecurity/source/dialogs/resourcemanager.hxx b/xmlsecurity/source/dialogs/resourcemanager.hxx
index cd31f35..4b30549 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.hxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.hxx
@@ -47,7 +47,7 @@ namespace XmlSec
         const OUString & rRawString);
     OUString        GetContentPart( const OUString& _rRawString );
 
-    OUString        GetHexString( const css::uno::Sequence< sal_Int8 >& _rSeq, const char* _pSep = ":", sal_uInt16 _nLineBreak = 0xFFFF );
+    OUString        GetHexString( const css::uno::Sequence< sal_Int8 >& _rSeq, const char* _pSep, sal_uInt16 _nLineBreak = 0xFFFF );
 }
 
 #define XMLSEC_RES(id)      ResId(id,*XmlSec::GetResMgr())


More information about the Libreoffice-commits mailing list