diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-10 20:57:27 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-10 21:04:49 +0200 |
commit | 656ab07b2924dd2703f31f460c8586c375c7878a (patch) | |
tree | 980ef07ab8d5138d0d495d294a09f7d54d5f086a /writerfilter/source/dmapper/PageBordersHandler.cxx | |
parent | e617c5173b17f3b6ce0c81d5bec189407cea9662 (diff) |
Sync oox -> writerfilter alias for wordprocessingml
The motivation is that once all the namespace aliases in
writerfilter/source/ooxml/model.xml match the ones in
oox/source/token/namespaces.txt, then the writerfilter copies could be
dropped.
Change-Id: I1f9abb8bb457189997f28c99b0f6b00660252c14
Diffstat (limited to 'writerfilter/source/dmapper/PageBordersHandler.cxx')
-rw-r--r-- | writerfilter/source/dmapper/PageBordersHandler.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/writerfilter/source/dmapper/PageBordersHandler.cxx b/writerfilter/source/dmapper/PageBordersHandler.cxx index 471a85a3b0ca..10b36e64095c 100644 --- a/writerfilter/source/dmapper/PageBordersHandler.cxx +++ b/writerfilter/source/dmapper/PageBordersHandler.cxx @@ -58,13 +58,13 @@ void PageBordersHandler::lcl_attribute( Id eName, Value& rVal ) switch ( nIntValue ) { default: - case NS_ooxml::LN_Value_wordprocessingml_ST_PageBorderDisplay_allPages: + case NS_ooxml::LN_Value_doc_ST_PageBorderDisplay_allPages: m_nDisplay = 0; break; - case NS_ooxml::LN_Value_wordprocessingml_ST_PageBorderDisplay_firstPage: + case NS_ooxml::LN_Value_doc_ST_PageBorderDisplay_firstPage: m_nDisplay = 1; break; - case NS_ooxml::LN_Value_wordprocessingml_ST_PageBorderDisplay_notFirstPage: + case NS_ooxml::LN_Value_doc_ST_PageBorderDisplay_notFirstPage: m_nDisplay = 2; break; } @@ -75,10 +75,10 @@ void PageBordersHandler::lcl_attribute( Id eName, Value& rVal ) switch ( nIntValue ) { default: - case NS_ooxml::LN_Value_wordprocessingml_ST_PageBorderOffset_page: + case NS_ooxml::LN_Value_doc_ST_PageBorderOffset_page: m_nOffset = 1; break; - case NS_ooxml::LN_Value_wordprocessingml_ST_PageBorderOffset_text: + case NS_ooxml::LN_Value_doc_ST_PageBorderOffset_text: m_nOffset = 0; break; } |