[PATCH] coverity#735389 Copy-paste error

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Tue Mar 19 15:57:31 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2858

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/58/2858/1

coverity#735389 Copy-paste error

Change-Id: I74098cd2b58a64ff231d86549812d5a565835bed
---
M sw/source/filter/html/css1atr.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 561fc48..500b66c 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -3080,7 +3080,7 @@
             else if( nMode & CSS1_FRMSIZE_PIXEL )
             {
                 rHTMLWrt.OutCSS1_PixelProperty( sCSS1_P_height,
-                                                rFSItem.GetSize().Width(),
+                                                rFSItem.GetSize().Height(),
                                                 sal_True );
             }
             else

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

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



More information about the LibreOffice mailing list