diff options
author | Justin Luth <justin_luth@sil.org> | 2016-07-23 08:23:08 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-10-10 19:37:44 +0200 |
commit | 92ff1627e3eef3b838500e058d77d8c198ec9566 (patch) | |
tree | f5ad74b93ae82d32d42ad5b1e79f5c3f36a6e35c | |
parent | a895a7051f2cca37595f755212399843116678c9 (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
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>
(cherry picked from commit eb345a155bc9cb92fffd3e5ea0269207b3bac0f1)
Change-Id: I665b52ae75a9282d51c79f3351315cf3fed4776c
-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 e1d5987c5b22..fc0f2d5f30b5 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -1573,7 +1573,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), @@ -1653,7 +1653,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; |