diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/numfmuno.cxx | 12 | ||||
-rw-r--r-- | svl/source/numbers/numfmuno.hxx | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index 4fa91ec9a0cd..29024c7cc6f9 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -188,9 +188,9 @@ OUString SAL_CALL SvNumberFormatterServiceObj::convertNumberToString( sal_Int32 return aRet; } -util::Color SAL_CALL SvNumberFormatterServiceObj::queryColorForNumber( sal_Int32 nKey, +sal_Int32 SAL_CALL SvNumberFormatterServiceObj::queryColorForNumber( sal_Int32 nKey, double fValue, - util::Color aDefaultColor ) + sal_Int32 aDefaultColor ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -227,9 +227,9 @@ OUString SAL_CALL SvNumberFormatterServiceObj::formatString( sal_Int32 nKey, return aRet; } -util::Color SAL_CALL SvNumberFormatterServiceObj::queryColorForString( sal_Int32 nKey, +sal_Int32 SAL_CALL SvNumberFormatterServiceObj::queryColorForString( sal_Int32 nKey, const OUString& aString, - util::Color aDefaultColor ) + sal_Int32 aDefaultColor ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -295,11 +295,11 @@ OUString SAL_CALL SvNumberFormatterServiceObj::convertNumberToPreviewString( con return aRet; } -util::Color SAL_CALL SvNumberFormatterServiceObj::queryPreviewColorForNumber( const OUString& aFormat, +sal_Int32 SAL_CALL SvNumberFormatterServiceObj::queryPreviewColorForNumber( const OUString& aFormat, double fValue, const lang::Locale& nLocale, sal_Bool bAllowEnglish, - util::Color aDefaultColor ) + sal_Int32 aDefaultColor ) { ::osl::MutexGuard aGuard( m_aMutex ); diff --git a/svl/source/numbers/numfmuno.hxx b/svl/source/numbers/numfmuno.hxx index f68f73459b75..7be9b1aa2493 100644 --- a/svl/source/numbers/numfmuno.hxx +++ b/svl/source/numbers/numfmuno.hxx @@ -57,22 +57,22 @@ public: virtual sal_Int32 SAL_CALL detectNumberFormat( sal_Int32 nKey, const OUString& aString ) override; virtual double SAL_CALL convertStringToNumber( sal_Int32 nKey, const OUString& aString ) override; virtual OUString SAL_CALL convertNumberToString( sal_Int32 nKey, double fValue ) override; - virtual css::util::Color SAL_CALL queryColorForNumber( sal_Int32 nKey, - double fValue, css::util::Color aDefaultColor ) override; + virtual sal_Int32 SAL_CALL queryColorForNumber( sal_Int32 nKey, + double fValue, sal_Int32 aDefaultColor ) override; virtual OUString SAL_CALL formatString( sal_Int32 nKey, const OUString& aString ) override; - virtual css::util::Color SAL_CALL queryColorForString( sal_Int32 nKey, - const OUString& aString, - css::util::Color aDefaultColor ) override; + virtual sal_Int32 SAL_CALL queryColorForString( sal_Int32 nKey, + const OUString& aString, + sal_Int32 aDefaultColor ) override; virtual OUString SAL_CALL getInputString( sal_Int32 nKey, double fValue ) override; // XNumberFormatPreviewer virtual OUString SAL_CALL convertNumberToPreviewString( const OUString& aFormat, double fValue, const css::lang::Locale& nLocale, sal_Bool bAllowEnglish ) override; - virtual css::util::Color SAL_CALL queryPreviewColorForNumber( + virtual sal_Int32 SAL_CALL queryPreviewColorForNumber( const OUString& aFormat, double fValue, const css::lang::Locale& nLocale, sal_Bool bAllowEnglish, - css::util::Color aDefaultColor ) override; + sal_Int32 aDefaultColor ) override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) override; |