[PATCH] coverity#735374 Copy-paste error

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


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2798

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/98/2798/1

coverity#735374 Copy-paste error

Change-Id: Icbd64c87f6a8fb87f4f2d82f23d3df613bbb6cfb
---
M editeng/source/rtf/rtfitem.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 19cc0b2..462e688 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -910,7 +910,7 @@
                         aOL = *(SvxOverlineItem*)pItem;
                     }
                     else
-                        aOL = (const SvxOverlineItem&)pSet->Get( PLAINID->nUnderline, sal_False );
+                        aOL = (const SvxOverlineItem&)pSet->Get( PLAINID->nOverline, sal_False );
 
                     if( UNDERLINE_NONE == aOL.GetLineStyle() )
                         aOL.SetLineStyle( UNDERLINE_SINGLE );

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

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



More information about the LibreOffice mailing list