summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-09-29 18:53:44 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-09-29 18:56:26 +0200
commit16dba68cf1eff65b81fbc75d1138604acc8abd08 (patch)
tree119874b199b5e7a12a7c20ad490f1e83defc0c0a
parentb3bee2b8f8603700751941477504c47286355c3a (diff)
map FRAME to VML's text
Again, that's what this file does elsewhere, that's what (incomplete) import did before my changes, and it seems to match better the position that such an element gets in Word. Change-Id: Id09150eaaa505e6ddcd4baaf4a833000d52dd71d
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 03ed12528bf8..f206acf805cc 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -7320,9 +7320,9 @@ void DocxAttributeOutput::FormatVertOrientation( const SwFmtVertOrient& rFlyVert
case text::RelOrientation::CHAR:
case text::RelOrientation::PRINT_AREA:
case text::RelOrientation::TEXT_LINE:
+ case text::RelOrientation::FRAME:
sVAnchor = OString( "text" );
break;
- case text::RelOrientation::FRAME:
case text::RelOrientation::PAGE_LEFT:
case text::RelOrientation::PAGE_RIGHT:
case text::RelOrientation::FRAME_LEFT:
@@ -7380,9 +7380,9 @@ void DocxAttributeOutput::FormatHorizOrientation( const SwFmtHoriOrient& rFlyHor
{
case text::RelOrientation::CHAR:
case text::RelOrientation::PRINT_AREA:
+ case text::RelOrientation::FRAME:
sHAnchor = OString( "text" );
break;
- case text::RelOrientation::FRAME:
case text::RelOrientation::PAGE_LEFT:
case text::RelOrientation::PAGE_RIGHT:
case text::RelOrientation::FRAME_LEFT: