summaryrefslogtreecommitdiff
path: root/include/svx/numfmtsh.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-09-03 16:47:06 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-09-03 19:32:28 +0200
commitf12050bfb15580b564e342b704d5c55128fac644 (patch)
treee4a825d72c93548bf7ec39e7a8325855d58b288e /include/svx/numfmtsh.hxx
parent07dcb0dab759d4ab535d99c0e6d326959906b87e (diff)
Make ImpSvNumberformatScan::GetColor const
Change-Id: Idbcce18029944ab884cdde03e21190cbb574a00f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102005 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/svx/numfmtsh.hxx')
-rw-r--r--include/svx/numfmtsh.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx
index 2e4f8fb2716f..9e5a0a8a18ee 100644
--- a/include/svx/numfmtsh.hxx
+++ b/include/svx/numfmtsh.hxx
@@ -88,7 +88,7 @@ public:
sal_uInt16& nFmtLbSelPos,
std::vector<OUString>& rFmtEntries,
OUString& rPrevString,
- Color*& rpPrevColor );
+ const Color*& rpPrevColor );
void CategoryChanged( sal_uInt16 nCatLbPos,
short& rFmtSelPos,
@@ -100,7 +100,7 @@ public:
void FormatChanged( sal_uInt16 nFmtLbPos,
OUString& rPreviewStr,
- Color*& rpFontColor );
+ const Color*& rpFontColor );
bool AddFormat( OUString& rFormat,
sal_Int32& rErrPos,
@@ -131,11 +131,11 @@ public:
void MakePreviewString( const OUString& rFormatStr,
OUString& rPreviewStr,
- Color*& rpFontColor );
+ const Color*& rpFontColor );
void MakePrevStringFromVal( const OUString& rFormatStr,
OUString& rPreviewStr,
- Color*& rpFontColor,
+ const Color*& rpFontColor,
double nValue);
bool IsUserDefined( const OUString& rFmtString );
@@ -218,7 +218,7 @@ private:
SVX_DLLPRIVATE ::std::vector<sal_uInt32>::iterator GetAdded_Impl( size_t nKey );
SVX_DLLPRIVATE void GetPreviewString_Impl( OUString& rString,
- Color*& rpColor );
+ const Color*& rpColor );
SVX_DLLPRIVATE static void PosToCategory_Impl(sal_uInt16 nPos, SvNumFormatType& rCategory);
SVX_DLLPRIVATE static void CategoryToPos_Impl(SvNumFormatType nCategory, sal_uInt16& rPos);
};