summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 12:28:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 13:37:24 +0100
commita6bcb8c35e926a5d8965636f3561fec91880c7f7 (patch)
tree59feb1e228c45b8b5c857cc29420cb868f391ffc /include/oox
parentae510e67cdc644c541ffa26b2f91bba71a9856d2 (diff)
loplugin:constantparam in linguistic..sfx2
Change-Id: I0e8c506df0beb0b05d9c32723876b11b6577280a Reviewed-on: https://gerrit.libreoffice.org/50938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/export/drawingml.hxx2
-rw-r--r--include/oox/helper/binaryinputstream.hxx7
2 files changed, 3 insertions, 6 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index 33c301285a27..115f6d46148c 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -216,7 +216,7 @@ public:
void WriteLinespacing( const css::style::LineSpacing& rLineSpacing );
OUString WriteBlip( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet,
- const OUString& rURL, bool bRelPathToMedia, const Graphic *pGraphic=nullptr );
+ const OUString& rURL, bool bRelPathToMedia );
OUString WriteXGraphicBlip(css::uno::Reference<css::beans::XPropertySet> const & rXPropSet,
css::uno::Reference<css::graphic::XGraphic> const & rxGraphic,
diff --git a/include/oox/helper/binaryinputstream.hxx b/include/oox/helper/binaryinputstream.hxx
index c6b59459f0d8..1b0a7e46918b 100644
--- a/include/oox/helper/binaryinputstream.hxx
+++ b/include/oox/helper/binaryinputstream.hxx
@@ -163,15 +163,12 @@ public:
OUString readCharArrayUC( sal_Int32 nChars, rtl_TextEncoding eTextEnc );
/** Reads a Unicode character array and returns the string.
+ NUL characters are replaced by question marks (default).
@param nChars
Number of 16-bit characters to read from the stream.
-
- @param bAllowNulChars
- True = NUL characters are inserted into the imported string.
- False = NUL characters are replaced by question marks (default).
*/
- OUString readUnicodeArray( sal_Int32 nChars, bool bAllowNulChars = false );
+ OUString readUnicodeArray( sal_Int32 nChars );
/** Reads a Unicode character array (may be compressed) and returns the
string.