diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-31 13:49:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-03 06:24:33 +0000 |
commit | 4809096a1f60d9ef57a494ba6ae8fb8541361572 (patch) | |
tree | 6d83f7a2c806eeb28c72ba0f83cbb5ae8db275d0 /sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | |
parent | fcad02149f3a9964f36522d97faaf303fc321788 (diff) |
use actual UNO enums in sw
Change-Id: If0f4a6532cc255f632d88d97e6b1a9e57462f5fc
Reviewed-on: https://gerrit.libreoffice.org/35969
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/ooxmlexport/ooxmlexport3.cxx')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx index 4614e3fb2780..7f36628e2164 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx @@ -76,6 +76,37 @@ protected: } }; +namespace com { namespace sun { namespace star { namespace style { + +std::ostream& operator<<(std::ostream& rStrm, BreakType n) +{ + rStrm << (int) n; + return rStrm; +} + +} } } } + +namespace com { namespace sun { namespace star { namespace drawing { + +std::ostream& operator<<(std::ostream& rStrm, FillStyle n) +{ + rStrm << (int) n; + return rStrm; +} + +} } } } + + +namespace com { namespace sun { namespace star { namespace table { + +std::ostream& operator<<(std::ostream& rStrm, ShadowLocation n) +{ + rStrm << (int) n; + return rStrm; +} + +} } } } + DECLARE_OOXMLEXPORT_TEST(testFdo68418, "fdo68418.docx") { // The problem was that in 'MSWordExportBase::SectionProperties' function in 'wrt8sty.cxx' |