diff options
author | Justin Luth <justin_luth@sil.org> | 2016-07-23 08:23:08 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-26 11:39:17 +0000 |
commit | eb345a155bc9cb92fffd3e5ea0269207b3bac0f1 (patch) | |
tree | 65762e599e3d0918ba071d2b903a9f2a3799790e /writerfilter | |
parent | 20438e3e63bc78e877f344437448a038a8a01985 (diff) |
tdf#75573 allow style to define vAnchor
If the default property value is valid, a style is never able to override.
oddball default caused by commit 20c1a485774c7586401f6c1821c52f0bc39cb84a
RĂ¼diger Timm <rt@openoffice.org> 2008-04-18 11:36:12 (GMT)
INTEGRATION: CWS xmlfilter04 (1.22.14); FILE MERGED
2008/03/05 11:07:44 os 1.22.14.3: default vAnchor changed
Change-Id: I665b52ae75a9282d51c79f3351315cf3fed4776c
Reviewed-on: https://gerrit.libreoffice.org/27454
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx index f4b4a1579c34..094e2b41849c 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -1559,7 +1559,7 @@ ParagraphProperties::ParagraphProperties() : m_h(-1), m_nWrap(-1), m_hAnchor(-1), - m_vAnchor(text::RelOrientation::FRAME), + m_vAnchor(-1), m_x(-1), m_bxValid( false ), m_y(-1), @@ -1639,7 +1639,7 @@ void ParagraphProperties::ResetFrameProperties() m_h = -1; m_nWrap = -1; m_hAnchor = -1; - m_vAnchor = text::RelOrientation::FRAME; + m_vAnchor = -1; m_x = -1; m_bxValid = false; m_y = -1; |