summaryrefslogtreecommitdiff
path: root/vcl/source
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/source
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/source')
-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
4 files changed, 6 insertions, 6 deletions
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);