diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-10 13:48:02 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-12 06:54:08 +0000 |
commit | 500a3be0ea9184fc2823d704acf4037f70c6721e (patch) | |
tree | 9ceff28559b0b56c58c44313894589e564496a6b /vcl/unx | |
parent | 8806a86c9d1ba63259ea79dd1c955ef970ab1989 (diff) |
loplugin:countusersofdefaultparams in vcl..xmlsecurity
Change-Id: I538596a99e632178d928ff7e66ad45c71b73c6fd
Reviewed-on: https://gerrit.libreoffice.org/28018
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/wmadaptor.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/xrender_peer.hxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/print/glyphset.hxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx index f61082c7f9f4..640c16f2cdb2 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 dbd6cb4955af..6bba583c1f56 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 c35ac42730ac..07d9cbac8f9b 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 2a62dcf21ce0..ca602810a504 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 ); } |