From 33a3368ff513c8996c5eee38c5a64b42a1ffea30 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Oct 2014 09:51:51 +0100 Subject: coverity#1242909 Unused value and const things up Change-Id: Ib98a81a04f721917ee3c1fdd19d23a37c5d2c481 --- include/svx/numfmtsh.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.2.3