summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/GraphicHelpers.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/GraphicHelpers.cxx')
-rw-r--r--writerfilter/source/dmapper/GraphicHelpers.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/GraphicHelpers.cxx b/writerfilter/source/dmapper/GraphicHelpers.cxx
index 54933b284e06..0bd7354fd962 100644
--- a/writerfilter/source/dmapper/GraphicHelpers.cxx
+++ b/writerfilter/source/dmapper/GraphicHelpers.cxx
@@ -68,8 +68,11 @@ void PositionHandler::lcl_attribute( Id aName, Value& rVal )
break;
case NS_ooxml::LN_Value_wordprocessingDrawing_ST_RelFromV_page:
- case NS_ooxml::LN_Value_wordprocessingDrawing_ST_RelFromV_topMargin: // fallthrough intended
- m_nRelation = text::RelOrientation::PAGE_FRAME;
+ m_nRelation = text::RelOrientation::PAGE_FRAME;
+ break;
+
+ case NS_ooxml::LN_Value_wordprocessingDrawing_ST_RelFromV_topMargin:
+ m_nRelation = text::RelOrientation::PAGE_PRINT_AREA_TOP;
break;
case NS_ooxml::LN_Value_wordprocessingDrawing_ST_RelFromV_bottomMargin: