diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-04 09:11:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-04 09:11:43 +0200 |
commit | 236ae9392fcd1ab890500bb34b0bd2c2d6a0c1b9 (patch) | |
tree | 1886f2f04c598c3015e52cee9432cd810fbf9118 /sw/qa | |
parent | d53398fe04cb1ba1ed4d74c74377f71f697911b0 (diff) |
sw: indentation fixes
Nested namespaces were always declared in new lines in these files,
let's keep the consistency.
Change-Id: I1dcfdd2b1f54ec56b3554f3c0095513cec33e49c
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/rtfexport/rtfexport.cxx | 70 | ||||
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 56 |
2 files changed, 108 insertions, 18 deletions
diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index 9dba6712a039..76a82593aafb 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -93,7 +93,14 @@ public: } }; -namespace com { namespace sun { namespace star { namespace awt { +namespace com +{ +namespace sun +{ +namespace star +{ +namespace awt +{ std::ostream& operator<<(std::ostream& rStrm, GradientStyle n) { @@ -101,9 +108,19 @@ std::ostream& operator<<(std::ostream& rStrm, GradientStyle n) return rStrm; } -} } } } +} +} +} +} -namespace com { namespace sun { namespace star { namespace drawing { +namespace com +{ +namespace sun +{ +namespace star +{ +namespace drawing +{ std::ostream& operator<<(std::ostream& rStrm, FillStyle n) { @@ -111,9 +128,19 @@ std::ostream& operator<<(std::ostream& rStrm, FillStyle n) return rStrm; } -} } } } +} +} +} +} -namespace com { namespace sun { namespace star { namespace style { +namespace com +{ +namespace sun +{ +namespace star +{ +namespace style +{ std::ostream& operator<<(std::ostream& rStrm, PageStyleLayout n) { @@ -121,9 +148,19 @@ std::ostream& operator<<(std::ostream& rStrm, PageStyleLayout n) return rStrm; } -} } } } +} +} +} +} -namespace com { namespace sun { namespace star { namespace text { +namespace com +{ +namespace sun +{ +namespace star +{ +namespace text +{ std::ostream& operator<<(std::ostream& rStrm, TextContentAnchorType n) { @@ -131,9 +168,19 @@ std::ostream& operator<<(std::ostream& rStrm, TextContentAnchorType n) return rStrm; } -} } } } +} +} +} +} -namespace com { namespace sun { namespace star { namespace table { +namespace com +{ +namespace sun +{ +namespace star +{ +namespace table +{ std::ostream& operator<<(std::ostream& rStrm, ShadowLocation n) { @@ -141,7 +188,10 @@ std::ostream& operator<<(std::ostream& rStrm, ShadowLocation n) return rStrm; } -} } } } +} +} +} +} DECLARE_RTFEXPORT_TEST(testZoom, "zoom.rtf") { diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 191fc7a2664b..28c96fb690d3 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -63,7 +63,14 @@ #include <bordertest.hxx> -namespace com { namespace sun { namespace star { namespace beans { +namespace com +{ +namespace sun +{ +namespace star +{ +namespace beans +{ std::ostream& operator<<(std::ostream& rStrm, PropertyState n) { @@ -71,8 +78,18 @@ std::ostream& operator<<(std::ostream& rStrm, PropertyState n) return rStrm; } -} } } } -namespace com { namespace sun { namespace star { namespace style { +} +} +} +} +namespace com +{ +namespace sun +{ +namespace star +{ +namespace style +{ std::ostream& operator<<(std::ostream& rStrm, BreakType n) { @@ -90,8 +107,18 @@ std::ostream& operator<<(std::ostream& rStrm, ParagraphAdjust n) return rStrm; } -} } } } -namespace com { namespace sun { namespace star { namespace drawing { +} +} +} +} +namespace com +{ +namespace sun +{ +namespace star +{ +namespace drawing +{ std::ostream& operator<<(std::ostream& rStrm, FillStyle n) { @@ -99,8 +126,18 @@ std::ostream& operator<<(std::ostream& rStrm, FillStyle n) return rStrm; } -} } } } -namespace com { namespace sun { namespace star { namespace text { +} +} +} +} +namespace com +{ +namespace sun +{ +namespace star +{ +namespace text +{ std::ostream& operator<<(std::ostream& rStrm, TextContentAnchorType n) { @@ -113,7 +150,10 @@ std::ostream& operator<<(std::ostream& rStrm, WrapTextMode n) return rStrm; } -} } } } +} +} +} +} class Test : public SwModelTestBase { |