diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index b96b8d6b5e87..5ac64dc567c4 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -3121,7 +3121,7 @@ XclImpSimpleDffConverter::~XclImpSimpleDffConverter() { } -int XclImpSimpleDffConverter::GetColorFromPalette( USHORT nIndex, Color& rColor ) const +bool XclImpSimpleDffConverter::GetColorFromPalette( USHORT nIndex, Color& rColor ) const { ColorData nColor = GetPalette().GetColorData( static_cast< sal_uInt16 >( nIndex ) ); diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx index bf623b4a2da5..4d9a4618490a 100644 --- a/sc/source/filter/inc/xiescher.hxx +++ b/sc/source/filter/inc/xiescher.hxx @@ -977,7 +977,7 @@ public: protected: /** Returns a color from the Excel color palette. */ - virtual int GetColorFromPalette( USHORT nIndex, Color& rColor ) const; + virtual bool GetColorFromPalette( USHORT nIndex, Color& rColor ) const; }; // ----------------------------------------------------------------------------