summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-10 13:44:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-11 06:04:52 +0000
commitb796b24793827583550279d40bfe565c66ad284d (patch)
treec727fbab95059956287850ac817d8f9c1bb422f4 /svl
parentrecognize another release's unknown currency saved as symbol we know (diff)
downloadcore-b796b24793827583550279d40bfe565c66ad284d.tar.gz
core-b796b24793827583550279d40bfe565c66ad284d.zip
loplugin:countusersofdefaultparams in svl..unodevtools
Change-Id: Ie3d2cf29e99b8a51b80246aafa23a92e6c3404b2 Reviewed-on: https://gerrit.libreoffice.org/28017 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/stylepool.cxx4
-rw-r--r--svl/source/numbers/zforfind.hxx12
2 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index 8ac1e4f96f19..347334ab12c9 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -371,8 +371,8 @@ public:
std::shared_ptr<SfxItemSet> insertItemSet( const SfxItemSet& rSet );
// #i86923#
- IStylePoolIteratorAccess* createIterator( bool bSkipUnusedItemSets = false,
- bool bSkipIgnorableItems = false );
+ IStylePoolIteratorAccess* createIterator( bool bSkipUnusedItemSets,
+ bool bSkipIgnorableItems );
};
std::shared_ptr<SfxItemSet> StylePoolImpl::insertItemSet( const SfxItemSet& rSet )
diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx
index ba24b87bb98e..e7b7a60effb9 100644
--- a/svl/source/numbers/zforfind.hxx
+++ b/svl/source/numbers/zforfind.hxx
@@ -294,7 +294,7 @@ private:
// Get currency symbol and advance string position
bool GetCurrency( const OUString& rString,
sal_Int32& nPos,
- const SvNumberformat* pFormat = nullptr ); // optional number format to match against
+ const SvNumberformat* pFormat ); // optional number format to match against
// Get symbol AM or PM and advance string position
bool GetTimeAmPm( const OUString& rString,
@@ -335,21 +335,21 @@ private:
// Conversion of date to number
bool GetDateRef( double& fDays, // OUT: days diff to null date
sal_uInt16& nCounter, // Count of date substrings
- const SvNumberformat* pFormat = nullptr ); // optional number format to match against
+ const SvNumberformat* pFormat ); // optional number format to match against
// Analyze start of string
bool ScanStartString( const OUString& rString,
- const SvNumberformat* pFormat = nullptr );
+ const SvNumberformat* pFormat );
// Analyze middle substring
bool ScanMidString( const OUString& rString,
sal_uInt16 nStringPos,
- const SvNumberformat* pFormat = nullptr );
+ const SvNumberformat* pFormat );
// Analyze end of string
bool ScanEndString( const OUString& rString,
- const SvNumberformat* pFormat = nullptr );
+ const SvNumberformat* pFormat );
// Compare rString to substring of array indexed by nString
// nString == 0xFFFF => last substring
@@ -369,7 +369,7 @@ private:
// Main analyzing function
bool IsNumberFormatMain( const OUString& rString,
- const SvNumberformat* pFormat = nullptr); // optional number format to match against
+ const SvNumberformat* pFormat); // optional number format to match against
static inline bool MyIsdigit( sal_Unicode c );