summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 12:26:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-15 06:35:33 +0000
commit6df2c90c08b67b943022286e7152b51d52e0ef5e (patch)
tree5f90aabc3ee0a31708ab5fef4651cacfea384d6b /vcl
parentc77b933f907e1d3c4778dd63cb4295c08d4d3f31 (diff)
loplugin:countusersofdefaultparams in vcl
Change-Id: I046e6f16c5b171a06e2be2da2f72340634f3e979 Reviewed-on: https://gerrit.libreoffice.org/28891 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/brdwin.hxx4
-rw-r--r--vcl/inc/headless/svpinst.hxx2
-rw-r--r--vcl/inc/listbox.hxx4
-rw-r--r--vcl/inc/salmenu.hxx4
-rw-r--r--vcl/inc/unx/gtk/gtkobject.hxx2
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.hxx2
-rw-r--r--vcl/source/filter/wmf/winmtf.hxx6
-rw-r--r--vcl/source/fontsubset/cff.cxx2
-rw-r--r--vcl/source/gdi/pngwrite.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_transferable.hxx2
-rw-r--r--vcl/unx/generic/print/prtsetup.hxx2
11 files changed, 16 insertions, 16 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx
index c0802ede56b7..67b900a9e8cb 100644
--- a/vcl/inc/brdwin.hxx
+++ b/vcl/inc/brdwin.hxx
@@ -119,9 +119,9 @@ private:
public:
ImplBorderWindow( vcl::Window* pParent,
SystemParentData* pParentData,
- WinBits nStyle = 0,
+ WinBits nStyle,
BorderWindowStyle nTypeStyle = BorderWindowStyle::NONE );
- ImplBorderWindow( vcl::Window* pParent, WinBits nStyle = 0,
+ ImplBorderWindow( vcl::Window* pParent, WinBits nStyle,
BorderWindowStyle nTypeStyle = BorderWindowStyle::NONE );
virtual ~ImplBorderWindow() override;
virtual void dispose() override;
diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx
index e7ed204528b5..df550c4f3616 100644
--- a/vcl/inc/headless/svpinst.hxx
+++ b/vcl/inc/headless/svpinst.hxx
@@ -70,7 +70,7 @@ class VCL_DLLPUBLIC SvpSalInstance : public SalGenericInstance
ImplSVEvent* m_pData;
SalEvent m_nEvent;
- SalUserEvent( const SalFrame* pFrame, ImplSVEvent* pData, SalEvent nEvent = SalEvent::UserEvent )
+ SalUserEvent( const SalFrame* pFrame, ImplSVEvent* pData, SalEvent nEvent )
: m_pFrame( pFrame ),
m_pData( pData ),
m_nEvent( nEvent )
diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx
index 14150bc6b385..abddd4eed0b9 100644
--- a/vcl/inc/listbox.hxx
+++ b/vcl/inc/listbox.hxx
@@ -530,7 +530,7 @@ protected:
virtual void FillLayoutData() const override;
public:
- ImplWin( vcl::Window* pParent, WinBits nWinStyle = 0 );
+ ImplWin( vcl::Window* pParent, WinBits nWinStyle );
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override;
@@ -576,7 +576,7 @@ private:
Link<void*,void> maMBDownHdl;
public:
- ImplBtn( vcl::Window* pParent, WinBits nWinStyle = 0 );
+ ImplBtn( vcl::Window* pParent, WinBits nWinStyle );
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
void MBDown();
diff --git a/vcl/inc/salmenu.hxx b/vcl/inc/salmenu.hxx
index 734518da2bca..8b2b5e20335f 100644
--- a/vcl/inc/salmenu.hxx
+++ b/vcl/inc/salmenu.hxx
@@ -41,10 +41,10 @@ struct SalMenuButtonItem
{
sal_uInt16 mnId;
Image maImage;
- OUString maToolTipText;
+ OUString maToolTipText;
SalMenuButtonItem() : mnId( 0 ) {}
- SalMenuButtonItem( sal_uInt16 i_nId, const Image& rImg, const OUString& i_rTTText = OUString() )
+ SalMenuButtonItem( sal_uInt16 i_nId, const Image& rImg, const OUString& i_rTTText )
: mnId( i_nId ), maImage( rImg ), maToolTipText( i_rTTText ) {}
};
diff --git a/vcl/inc/unx/gtk/gtkobject.hxx b/vcl/inc/unx/gtk/gtkobject.hxx
index df36a85ff187..12a9ff378575 100644
--- a/vcl/inc/unx/gtk/gtkobject.hxx
+++ b/vcl/inc/unx/gtk/gtkobject.hxx
@@ -40,7 +40,7 @@ class GtkSalObject : public SalObject
static gboolean signalFocus( GtkWidget*, GdkEventFocus*, gpointer );
static void signalDestroy( GtkWidget*, gpointer );
public:
- GtkSalObject( GtkSalFrame* pParent, bool bShow = true );
+ GtkSalObject( GtkSalFrame* pParent, bool bShow );
virtual ~GtkSalObject() override;
// override all pure virtual methods
diff --git a/vcl/source/filter/jpeg/JpegWriter.hxx b/vcl/source/filter/jpeg/JpegWriter.hxx
index 77822d667835..672792194982 100644
--- a/vcl/source/filter/jpeg/JpegWriter.hxx
+++ b/vcl/source/filter/jpeg/JpegWriter.hxx
@@ -43,7 +43,7 @@ class JPEGWriter
public:
JPEGWriter( SvStream& rStream,
const css::uno::Sequence< css::beans::PropertyValue >* pFilterData,
- bool* pExportWasGrey = nullptr );
+ bool* pExportWasGrey );
virtual ~JPEGWriter() {};
diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx
index d12a11cc540d..45f63b9f9b76 100644
--- a/vcl/source/filter/wmf/winmtf.hxx
+++ b/vcl/source/filter/wmf/winmtf.hxx
@@ -366,7 +366,7 @@ struct WinMtfLineStyle : GDIObj
, bTransparent(bTrans)
{}
- WinMtfLineStyle( const Color& rColor, const LineInfo& rStyle, bool bTrans = false)
+ WinMtfLineStyle( const Color& rColor, const LineInfo& rStyle, bool bTrans)
: aLineColor (rColor)
, aLineInfo (rStyle)
, bTransparent(bTrans)
@@ -673,7 +673,7 @@ protected:
WinMtf(
GDIMetaFile& rGDIMetaFile,
SvStream& rStreamWMF,
- FilterConfigItem* pConfigItem = nullptr
+ FilterConfigItem* pConfigItem
);
~WinMtf();
};
@@ -742,7 +742,7 @@ private:
public:
WMFReader(SvStream& rStreamWMF, GDIMetaFile& rGDIMetaFile,
- FilterConfigItem* pConfigItem = nullptr,
+ FilterConfigItem* pConfigItem,
WMF_EXTERNALHEADER* pExtHeader = nullptr);
// read WMF file from stream and fill the GDIMetaFile
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index dfe29d88bd5f..cca14eda7c64 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -1681,7 +1681,7 @@ const char* CffSubsetterContext::getGlyphName( int nGlyphIndex)
class Type1Emitter
{
public:
- explicit Type1Emitter( FILE* pOutFile, bool bPfbSubset = true);
+ explicit Type1Emitter( FILE* pOutFile, bool bPfbSubset);
~Type1Emitter();
void setSubsetName( const char* );
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index 4f61e92b1041..a55cf09bd784 100644
--- a/vcl/source/gdi/pngwrite.cxx
+++ b/vcl/source/gdi/pngwrite.cxx
@@ -48,7 +48,7 @@ class PNGWriterImpl
public:
PNGWriterImpl(const BitmapEx& BmpEx,
- const css::uno::Sequence<css::beans::PropertyValue>* pFilterData = nullptr);
+ const css::uno::Sequence<css::beans::PropertyValue>* pFilterData);
bool Write(SvStream& rOutStream);
diff --git a/vcl/unx/generic/dtrans/X11_transferable.hxx b/vcl/unx/generic/dtrans/X11_transferable.hxx
index 394253dcf6a3..7fa9b5509208 100644
--- a/vcl/unx/generic/dtrans/X11_transferable.hxx
+++ b/vcl/unx/generic/dtrans/X11_transferable.hxx
@@ -33,7 +33,7 @@ namespace x11 {
SelectionManager& m_rManager;
Atom m_aSelection;
public:
- X11Transferable( SelectionManager& rManager, Atom selection = None );
+ X11Transferable( SelectionManager& rManager, Atom selection );
virtual ~X11Transferable() override;
/*
diff --git a/vcl/unx/generic/print/prtsetup.hxx b/vcl/unx/generic/print/prtsetup.hxx
index 5722510f2361..6de4bf7a66de 100644
--- a/vcl/unx/generic/print/prtsetup.hxx
+++ b/vcl/unx/generic/print/prtsetup.hxx
@@ -64,7 +64,7 @@ class RTSDialog : public TabDialog
// helper functions
void insertAllPPDValues( ListBox&, const psp::PPDParser*, const psp::PPDKey* );
public:
- RTSDialog(const ::psp::PrinterInfo& rJobData, vcl::Window* pParent = nullptr);
+ RTSDialog(const ::psp::PrinterInfo& rJobData, vcl::Window* pParent);
virtual ~RTSDialog() override;
virtual void dispose() override;