[Libreoffice-commits] core.git: sc/source

Noel Power noel.power at suse.com
Mon May 27 11:57:49 PDT 2013


 sc/source/filter/oox/condformatbuffer.cxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit fa19934a04118a1060e696710bfff3a0c9585b29
Author: Noel Power <noel.power at suse.com>
Date:   Mon May 27 19:56:26 2013 +0100

    remove commented out ( duplicated ) RgbToRgbComponents method
    
    bah, added that, found a name clash, commented it out ( forgot to remove it )
    
    Change-Id: I99b09b7745963afc477524eb6713cfdf71fc7730

diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index 70a8b65..763ad96 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -1089,16 +1089,6 @@ CondFormatRef CondFormatBuffer::createCondFormat()
     maCondFormats.push_back( xCondFmt );
     return xCondFmt;
 }
-/*
-::Color RgbToRgbComponents( sal_Int32 nRgb )
-{
-    sal_Int32 ornR = (nRgb >> 16) & 0xFF;
-    sal_Int32 ornG = (nRgb >> 8) & 0xFF;
-    sal_Int32 ornB = nRgb & 0xFF;
-
-    return ::Color(ornR, ornG, ornB);
-}
-*/
 
 void ExtCfRule::finalizeImport()
 {


More information about the Libreoffice-commits mailing list