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

Julien Nabet serval2412 at yahoo.fr
Wed Mar 27 10:43:41 PDT 2013


 svx/source/table/tablecontroller.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7b1f5cc16fdbc0c53d0b7f9e3f45decd1136f4fa
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Mar 25 23:10:59 2013 +0100

    coverity#704341 Logically dead code
    
    Change-Id: I5a097afe1c582eab023cecadc0b1cc77faf774a1
    Reviewed-on: https://gerrit.libreoffice.org/3046
    Reviewed-by: Petr Mladek <pmladek at suse.cz>
    Tested-by: Petr Mladek <pmladek at suse.cz>

diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 74c42cb..0277aaf 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -2521,7 +2521,7 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo
         {
             if( (*pRanges != EE_PARA_START) && (*pRanges != EE_CHAR_START) )
             {
-                bTextOnly = true;
+                bTextOnly = false;
                 break;
             }
             pRanges += 2;


More information about the Libreoffice-commits mailing list