summaryrefslogtreecommitdiff
path: root/include/oox/ole
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-02 16:39:41 +0200
committerNoel Grandin <noel@peralex.com>2016-03-03 08:11:02 +0200
commit2b7215e6fa12cd947bdbbe195909642a850cfd69 (patch)
treedadafac588440a970fe5de3106388f6f8276b775 /include/oox/ole
parentfecfd9c4987229c7fb335c6c6ba847e2ec30d40d (diff)
loplugin:unuseddefaultparams in oox
Change-Id: If05662102e161d3dd56bbb6ed3964e63ba853cf9
Diffstat (limited to 'include/oox/ole')
-rw-r--r--include/oox/ole/axbinarywriter.hxx8
-rw-r--r--include/oox/ole/vbaproject.hxx3
2 files changed, 5 insertions, 6 deletions
diff --git a/include/oox/ole/axbinarywriter.hxx b/include/oox/ole/axbinarywriter.hxx
index 02fa348c513e..66dc5000dca1 100644
--- a/include/oox/ole/axbinarywriter.hxx
+++ b/include/oox/ole/axbinarywriter.hxx
@@ -54,7 +54,7 @@ public:
position of the wrapped stream at construction time). */
void align( size_t nSize );
- void pad( sal_Int32 nBytes, size_t nAtomSize = 1);
+ void pad( sal_Int32 nBytes );
/** Aligns the stream according to the passed type and reads a value. */
template< typename Type >
@@ -84,13 +84,13 @@ public:
{ if( startNextProperty() ) maOutStrm.writeAligned< StreamType >( ornValue ); }
/** Write a boolean property value to the stream, the
respective flag in the property mask is set. */
- void writeBoolProperty( bool orbValue, bool bReverse = false );
+ void writeBoolProperty( bool orbValue );
/** Write a pair property the stream, the respective flag in
the property mask is set. */
void writePairProperty( AxPairData& orPairData );
/** Write a string property to the stream, the respective flag
in the property mask is set. */
- void writeStringProperty( OUString& orValue, bool bCompressed = true );
+ void writeStringProperty( OUString& orValue );
/** Skips the next property clears the respective
flag in the property mask. */
@@ -100,7 +100,7 @@ public:
void finalizeExport();
private:
- bool ensureValid( bool bCondition = true );
+ bool ensureValid();
bool startNextProperty( bool bSkip = false );
private:
diff --git a/include/oox/ole/vbaproject.hxx b/include/oox/ole/vbaproject.hxx
index e4ed68255bdb..d5230988e211 100644
--- a/include/oox/ole/vbaproject.hxx
+++ b/include/oox/ole/vbaproject.hxx
@@ -118,8 +118,7 @@ public:
*/
void importVbaProject(
StorageBase& rVbaPrjStrg,
- const GraphicHelper& rGraphicHelper,
- bool bDefaultColorBgr = true );
+ const GraphicHelper& rGraphicHelper );
bool importVbaProject(
StorageBase& rVbaPrjStrg );