[Libreoffice-commits] .: sc/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Mon Nov 1 14:55:23 PDT 2010


 sc/source/filter/excel/xiescher.cxx |    2 +-
 sc/source/filter/inc/xiescher.hxx   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 323521951fcf5736721d69670c77ed7e2857870b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Nov 1 15:27:38 2010 -0500

    conversion of FASTBOOL in the filters repo lead to a slight api change.

diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index c9cc3ab..f32a6e2 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 2ae222d..d73bf1b 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;
 };
 
 // ----------------------------------------------------------------------------


More information about the Libreoffice-commits mailing list