[Libreoffice-commits] .: sc/source

Michael Stahl mst at kemper.freedesktop.org
Fri Jul 27 09:11:53 PDT 2012


 sc/source/filter/excel/tokstack.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 114ccd28e09f0fd13c8ff4e61e82e3f13198febf
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Jul 27 18:10:33 2012 +0200

    warning: statement has no effect
    
    Change-Id: I06a26ebd1703e1d753e35daeed610671fc451a8f

diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index cf8c400..003dc5c 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -521,7 +521,7 @@ bool TokenPool::GetElement( const sal_uInt16 nId )
                     pScToken->AddExternalSingleReference(r.mnFileId, r.maTabName, r.maRef);
                 }
                 else
-                    bRet - false;
+                    bRet = false;
             }
             break;
             case T_ExtRefA:
@@ -533,7 +533,7 @@ bool TokenPool::GetElement( const sal_uInt16 nId )
                     pScToken->AddExternalDoubleReference(r.mnFileId, r.maTabName, r.maRef);
                 }
                 else
-                    bRet - false;
+                    bRet = false;
             }
             break;
             default:


More information about the Libreoffice-commits mailing list