summaryrefslogtreecommitdiff
path: root/include/oox/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-30 11:58:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-30 11:25:25 +0000
commit92a302146e626c877c493086ff518fde70c3141b (patch)
treeb6b879d090cb08a9959cbc5d3a4b6076415ba482 /include/oox/helper
parent4e1336ca349506d9e4c413f63ef18535eea7c2a7 (diff)
loplugin:countusersofdefaultparams in include/oox..sax
Change-Id: Ifb24c0f536d9c00bc9eb8c782d6854052f2d37b9 Reviewed-on: https://gerrit.libreoffice.org/31408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/helper')
-rw-r--r--include/oox/helper/binaryinputstream.hxx4
-rw-r--r--include/oox/helper/binarystreambase.hxx2
-rw-r--r--include/oox/helper/containerhelper.hxx2
-rw-r--r--include/oox/helper/graphichelper.hxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/oox/helper/binaryinputstream.hxx b/include/oox/helper/binaryinputstream.hxx
index 2e952d3ba9e5..bbc2550cb2c6 100644
--- a/include/oox/helper/binaryinputstream.hxx
+++ b/include/oox/helper/binaryinputstream.hxx
@@ -152,7 +152,7 @@ public:
True = NUL characters are inserted into the imported string.
False = NUL characters are replaced by question marks (default).
*/
- OString readCharArray( sal_Int32 nChars, bool bAllowNulChars = false );
+ OString readCharArray( sal_Int32 nChars, bool bAllowNulChars );
/** Reads a byte character array and returns a Unicode string.
@@ -351,7 +351,7 @@ public:
*/
explicit RelativeInputStream(
BinaryInputStream& rInStrm,
- sal_Int64 nSize = SAL_MAX_INT64 );
+ sal_Int64 nSize );
/** Returns the size of the data block in the wrapped stream offered by
this wrapper. */
diff --git a/include/oox/helper/binarystreambase.hxx b/include/oox/helper/binarystreambase.hxx
index d5f2387872f8..9868fc542400 100644
--- a/include/oox/helper/binarystreambase.hxx
+++ b/include/oox/helper/binarystreambase.hxx
@@ -100,7 +100,7 @@ public:
@param nAnchorPos
Position in the stream the data blocks are aligned to.
*/
- void alignToBlock( sal_Int32 nBlockSize, sal_Int64 nAnchorPos = 0 );
+ void alignToBlock( sal_Int32 nBlockSize, sal_Int64 nAnchorPos );
protected:
explicit BinaryStreamBase( bool bSeekable ) : mbEof( false ), mbSeekable( bSeekable ) {}
diff --git a/include/oox/helper/containerhelper.hxx b/include/oox/helper/containerhelper.hxx
index 016df0d60d3f..9c0632a53aa0 100644
--- a/include/oox/helper/containerhelper.hxx
+++ b/include/oox/helper/containerhelper.hxx
@@ -44,7 +44,7 @@ struct ValueRange
sal_Int32 mnFirst;
sal_Int32 mnLast;
- explicit ValueRange( sal_Int32 nValue = 0 ) : mnFirst( nValue ), mnLast( nValue ) {}
+ explicit ValueRange( sal_Int32 nValue ) : mnFirst( nValue ), mnLast( nValue ) {}
explicit ValueRange( sal_Int32 nFirst, sal_Int32 nLast ) : mnFirst( nFirst ), mnLast( nLast ) {}
bool operator==( const ValueRange& rRange ) const { return (mnFirst == rRange.mnFirst) && (mnLast == rRange.mnLast); }
diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx
index 6301332fc7eb..c2773ae6af0e 100644
--- a/include/oox/helper/graphichelper.hxx
+++ b/include/oox/helper/graphichelper.hxx
@@ -133,7 +133,7 @@ public:
@return The URL of the created and internally cached graphic object. */
OUString importGraphicObject(
const css::uno::Reference< css::io::XInputStream >& rxInStrm,
- const WMF_EXTERNALHEADER* pExtHeader = nullptr ) const;
+ const WMF_EXTERNALHEADER* pExtHeader ) const;
/** Creates a persistent graphic object from the passed binary memory block.
@return The URL of the created and internally cached graphic object. */