[Libreoffice-commits] .: oox/source

Tor Lillqvist tml at kemper.freedesktop.org
Mon Feb 20 09:12:27 PST 2012


 oox/source/xls/sheetdatacontext.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 3a6c12b32f9ca4ce060d1fed55a4bf3fbf5a4fbf
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Feb 20 19:08:39 2012 +0200

    Bin code that is never executed but calls a method that has been removed

diff --git a/oox/source/xls/sheetdatacontext.cxx b/oox/source/xls/sheetdatacontext.cxx
index b6415f3..7196e47 100644
--- a/oox/source/xls/sheetdatacontext.cxx
+++ b/oox/source/xls/sheetdatacontext.cxx
@@ -163,12 +163,7 @@ void SheetDataContext::onCharacters( const OUString& rChars )
             maCellValue = rChars;
         break;
         case XLS_TOKEN( f ):
-            if( 0 && maFmlaData.mnFormulaType == XML_normal )
-            {
-                maCellValue = rChars;
-                mrSheetData.putFormulaString( maCellData.maCellAddr, maCellValue );
-            }
-            else if( maFmlaData.mnFormulaType != XML_TOKEN_INVALID )
+            if( maFmlaData.mnFormulaType != XML_TOKEN_INVALID )
             {
                 maTokens = mrFormulaParser.importFormula( maCellData.maCellAddr, rChars );
             }


More information about the Libreoffice-commits mailing list