diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 09:51:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:48:50 +0100 |
commit | 33a3368ff513c8996c5eee38c5a64b42a1ffea30 (patch) | |
tree | 0b8a23b1f17a31bb061c33289e0add9583727ecc /include/svx/numfmtsh.hxx | |
parent | 10a17fe72998a951fb4fca9da4467df84700b0a2 (diff) |
coverity#1242909 Unused value and const things up
Change-Id: Ib98a81a04f721917ee3c1fdd19d23a37c5d2c481
Diffstat (limited to 'include/svx/numfmtsh.hxx')
-rw-r--r-- | include/svx/numfmtsh.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index d7282d1abe19..0c1626591f64 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -155,7 +155,7 @@ public: OUString GetStandardName() const; OUString GetComment4Entry(short nEntry); - short GetCategory4Entry(short nEntry); + short GetCategory4Entry(short nEntry) const; bool GetUserDefined4Entry(short nEntry); OUString GetFormat4Entry(short nEntry); void SetComment4Entry(short nEntry, const OUString& aCommentString); @@ -217,8 +217,8 @@ private: SVX_DLLPRIVATE void GetPreviewString_Impl( OUString& rString, Color*& rpColor ); - SVX_DLLPRIVATE void PosToCategory_Impl( sal_uInt16 nPos, short& rCategory ); - SVX_DLLPRIVATE void CategoryToPos_Impl( short nCategory, sal_uInt16& rPos ); + SVX_DLLPRIVATE void PosToCategory_Impl(sal_uInt16 nPos, short& rCategory) const; + SVX_DLLPRIVATE void CategoryToPos_Impl(short nCategory, sal_uInt16& rPos) const; }; #endif |