summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ooxmlimport
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 13:12:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 13:12:12 +0200
commit882dc72e675b28859eff8f9e5f4fcc6cdbc48128 (patch)
tree700e359984e60a86182eda24cd73e39170f3387e /sw/qa/extras/ooxmlimport
parent8438cd334a6116425b1039c34807ddcf54b056f2 (diff)
loplugin:unreffun (clang-cl)
Change-Id: Ifd5522ce1be31f9c9bd432ccf40a0c971063c8da
Diffstat (limited to 'sw/qa/extras/ooxmlimport')
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index c1155bdb69cb..f8c5ec9feecf 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -88,14 +88,17 @@ std::ostream& operator<<(std::ostream& rStrm, TextContentAnchorType n)
rStrm << (int) n;
return rStrm;
}
+#if !defined _WIN32
std::ostream& operator<<(std::ostream& rStrm, WrapTextMode n)
{
rStrm << (int) n;
return rStrm;
}
+#endif
} } } }
+#if !defined _WIN32
namespace com { namespace sun { namespace star { namespace style {
@@ -107,7 +110,6 @@ std::ostream& operator<<(std::ostream& rStrm, BreakType n)
} } } }
-#if !defined _WIN32
class FailTest : public Test
{
public:
@@ -141,6 +143,7 @@ public:
finish();
}
};
+
#endif
DECLARE_OOXMLIMPORT_TEST(testImageHyperlink, "image-hyperlink.docx")