diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-09-29 18:30:44 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-09-29 18:56:24 +0200 |
commit | b3bee2b8f8603700751941477504c47286355c3a (patch) | |
tree | 3dd4ae213ea3aad9a18d2d7728b4aee2bcacfaf3 /sw | |
parent | 6ceeb0df6987bb7f70423b473b31eec54526481d (diff) |
map PAGE_PRINT_AREA to VML's margin
That's what the code does elsewhere in this file, and also import does it.
Change-Id: I30e608f86a9cae66eed48dbb2e719b1455327ae3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 6b49cbf5f492..03ed12528bf8 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -7327,10 +7327,10 @@ void DocxAttributeOutput::FormatVertOrientation( const SwFmtVertOrient& rFlyVert case text::RelOrientation::PAGE_RIGHT: case text::RelOrientation::FRAME_LEFT: case text::RelOrientation::FRAME_RIGHT: + case text::RelOrientation::PAGE_PRINT_AREA: sVAnchor = OString( "margin" ); break; case text::RelOrientation::PAGE_FRAME: - case text::RelOrientation::PAGE_PRINT_AREA: default: break; } @@ -7387,10 +7387,10 @@ void DocxAttributeOutput::FormatHorizOrientation( const SwFmtHoriOrient& rFlyHor case text::RelOrientation::PAGE_RIGHT: case text::RelOrientation::FRAME_LEFT: case text::RelOrientation::FRAME_RIGHT: + case text::RelOrientation::PAGE_PRINT_AREA: sHAnchor = OString( "margin" ); break; case text::RelOrientation::PAGE_FRAME: - case text::RelOrientation::PAGE_PRINT_AREA: default: break; } |