summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 13:08:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:10:22 +0100
commit26a016be816826c80fc914a927758a814f29136c (patch)
treea9737eb927d6d23264ed818ba2d1c2d79dac4307 /svl
parent9a97b9c051735afb3797888d111f1b6b2cab1a83 (diff)
use more Color in sfx2..svtools
Change-Id: Idd951841ce7e9c4b4e5229bc24efe5c7b8042617 Reviewed-on: https://gerrit.libreoffice.org/50817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/numfmuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index 88302f86d026..3d465ed17183 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -203,7 +203,7 @@ util::Color SAL_CALL SvNumberFormatterServiceObj::queryColorForNumber( sal_Int32
Color* pColor = nullptr;
pFormatter->GetOutputString(fValue, nKey, aStr, &pColor);
if (pColor)
- nRet = pColor->GetColor();
+ nRet = sal_uInt32(*pColor);
// Else keep Default
return nRet;
@@ -245,7 +245,7 @@ util::Color SAL_CALL SvNumberFormatterServiceObj::queryColorForString( sal_Int32
pFormatter->GetOutputString(aString, nKey, aStr, &pColor);
if (pColor)
{
- nRet = pColor->GetColor();
+ nRet = sal_uInt32(*pColor);
}
// Else keep Default
@@ -322,7 +322,7 @@ util::Color SAL_CALL SvNumberFormatterServiceObj::queryPreviewColorForNumber( co
throw util::MalformedNumberFormatException();
if (pColor)
- nRet = pColor->GetColor();
+ nRet = sal_uInt32(*pColor);
// Else keep Default
return nRet;