summaryrefslogtreecommitdiff
path: root/svl/source/numbers/numfmuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/numbers/numfmuno.cxx')
-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;