diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-23 14:46:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:00 +0200 |
commit | 4e6410ba0155d4c2ac539fd37f75aa72d489e206 (patch) | |
tree | d6200cbd141bb37350a42dd1ba833fc831f5dd68 /include/unotools | |
parent | adef956348b9ad0420a482367f34ca1df81ab159 (diff) |
loplugin:constantfunction: unotools
Change-Id: Icf543973dc9edde270016c8af7e4c08c57eff650
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/localedatawrapper.hxx | 6 | ||||
-rw-r--r-- | include/unotools/moduleoptions.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx index 7c5d6278af71..d6448599e596 100644 --- a/include/unotools/localedatawrapper.hxx +++ b/include/unotools/localedatawrapper.hxx @@ -296,12 +296,12 @@ public: // dummy returns, to be implemented inline sal_Unicode getCurrZeroChar() const { return cCurrZeroChar; } - inline bool isNumLeadingZero() const + static inline bool isNumLeadingZero() { return true; } /// standard decimal places - inline sal_uInt16 getNumDigits() const + static inline sal_uInt16 getNumDigits() { return 2; } - inline bool isNumTrailingZeros() const + static inline bool isNumTrailingZeros() { return true; } // reserved words diff --git a/include/unotools/moduleoptions.hxx b/include/unotools/moduleoptions.hxx index d1e2499062ea..29dff59d2d75 100644 --- a/include/unotools/moduleoptions.hxx +++ b/include/unotools/moduleoptions.hxx @@ -161,7 +161,7 @@ class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtModuleOptions : public utl::detail:: bool IsDraw () const; bool IsWriter () const; bool IsImpress () const; - bool IsBasicIDE () const; + static bool IsBasicIDE () { return true; } bool IsDataBase () const; ::com::sun::star::uno::Sequence < OUString > GetAllServiceNames(); |