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

Michael Stahl mstahl at redhat.com
Thu Apr 17 10:20:01 PDT 2014


 sw/source/filter/xml/xmlithlp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4af664af7003e93577a0aee67f251950fe529660
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Apr 17 19:07:14 2014 +0200

    this looks more like a "merge" than c34cc212
    
    Change-Id: I36307a8b676327b050cb5b5073325131a62bbebd

diff --git a/sw/source/filter/xml/xmlithlp.cxx b/sw/source/filter/xml/xmlithlp.cxx
index aade817..faa2dd5 100644
--- a/sw/source/filter/xml/xmlithlp.cxx
+++ b/sw/source/filter/xml/xmlithlp.cxx
@@ -292,7 +292,7 @@ void sw_frmitems_MergeXMLVertPos( SvxGraphicPosition& ePos,
     case GPOS_LT:
     case GPOS_LM:
     case GPOS_LB:
-        ePos = eVert;
+        ePos = GPOS_MT==eVert ? GPOS_LT : (GPOS_MM==eVert ? GPOS_LM : GPOS_LB);
         break;
 
     case GPOS_MT:


More information about the Libreoffice-commits mailing list