summaryrefslogtreecommitdiff
path: root/include/svl/zformat.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 16:43:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-26 11:43:40 +0200
commitb9fd0d1c42686fed09ec8781780a8ffc61198bcf (patch)
tree953d0ab655786b13d3314c9bffed66be019948eb /include/svl/zformat.hxx
parentd9b6f4fd38da9f875b78f6ff365bcb16fb2c8e8b (diff)
loplugin:constmethod in svl
Change-Id: If92869e19c413e11f1f299a97f96b9637aaba65d Reviewed-on: https://gerrit.libreoffice.org/43864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl/zformat.hxx')
-rw-r--r--include/svl/zformat.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index a5ceeeac2e64..9f6305e807b3 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -468,7 +468,7 @@ public:
#endif
/// Whether it's a (YY)YY-M(M)-D(D) format.
- bool IsIso8601( sal_uInt16 nNumFor )
+ bool IsIso8601( sal_uInt16 nNumFor ) const
{
if ( nNumFor < 4 )
return ImpIsIso8601( NumFor[nNumFor]);
@@ -535,7 +535,7 @@ private:
// divide in substrings and color conditions
SVL_DLLPRIVATE short ImpNextSymbol( OUStringBuffer& rString,
sal_Int32& nPos,
- OUString& sSymbol );
+ OUString& sSymbol ) const;
// read string until ']' and strip blanks (after condition)
SVL_DLLPRIVATE static sal_Int32 ImpGetNumber( OUStringBuffer& rString,
@@ -585,11 +585,11 @@ private:
const LocaleType & aTmpLocale );
// standard number output
- SVL_DLLPRIVATE void ImpGetOutputStandard( double& fNumber, OUString& OutString );
- SVL_DLLPRIVATE void ImpGetOutputStandard( double& fNumber, OUStringBuffer& OutString );
+ SVL_DLLPRIVATE void ImpGetOutputStandard( double& fNumber, OUString& OutString ) const;
+ SVL_DLLPRIVATE void ImpGetOutputStandard( double& fNumber, OUStringBuffer& OutString ) const;
SVL_DLLPRIVATE void ImpGetOutputStdToPrecision( double& rNumber, OUString& rOutString, sal_uInt16 nPrecision ) const;
// numbers in input line
- SVL_DLLPRIVATE void ImpGetOutputInputLine( double fNumber, OUString& OutString );
+ SVL_DLLPRIVATE void ImpGetOutputInputLine( double fNumber, OUString& OutString ) const;
// check subcondition
// OP undefined => -1