[PATCH] coverity#704341 Logically dead code

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Mon Mar 25 15:13:10 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3046

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/46/3046/1

coverity#704341 Logically dead code

Change-Id: I5a097afe1c582eab023cecadc0b1cc77faf774a1
---
M svx/source/table/tablecontroller.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 1cb3035..ee1d971 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -2516,7 +2516,7 @@
         {
             if( (*pRanges != EE_PARA_START) && (*pRanges != EE_CHAR_START) )
             {
-                bTextOnly = true;
+                bTextOnly = false;
                 break;
             }
             pRanges += 2;

-- 
To view, visit https://gerrit.libreoffice.org/3046
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a097afe1c582eab023cecadc0b1cc77faf774a1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list