[PATCH] coverity#735375 Copy-paste error

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Sun Mar 17 10:20:53 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2799

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/99/2799/1

coverity#735375 Copy-paste error

Change-Id: Ib976de6a5a1c54fd80645b675b20186a4b9d6661
---
M filter/source/msfilter/svdfppt.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 44a0b521..28e3cef 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -5987,7 +5987,7 @@
             case PPT_ParaAttr_DefaultTab :
             {
                 nRetValue = rParaLevel.mnDefaultTab;
-                if ( pParaLevel && ( nRetValue != pParaLevel->mnBulletOfs ) )
+                if ( pParaLevel && ( nRetValue != pParaLevel->mnDefaultTab ) )
                     bIsHardAttribute = 1;
             }
             break;

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

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



More information about the LibreOffice mailing list