diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-15 23:29:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-15 23:29:14 +0200 |
commit | 1f742c520d0cca536d1e8f59a435b014577b7b4c (patch) | |
tree | da1e6d4a13724dd8e8d5907246289bd25afb1905 /sw/qa/extras/rtfimport | |
parent | 78fcb7f256802232239b5acf8b11949a298c87e4 (diff) |
Properly #ifdef some per-platform test code
Change-Id: I286fb35e223f205ecc649aa388471ef1b0823d86
Diffstat (limited to 'sw/qa/extras/rtfimport')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 7ebd83ef43c1..19196a01631a 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -84,6 +84,7 @@ public: protected: /// Copy&paste helper. +#if !defined MACOSX && !defined WNT void paste(const OUString& aFilename, uno::Reference<text::XTextRange> xTextRange = uno::Reference<text::XTextRange>()) { uno::Reference<document::XFilter> xFilter(m_xSFactory->createInstance("com.sun.star.comp.Writer.RtfFilter"), uno::UNO_QUERY_THROW); @@ -103,6 +104,7 @@ protected: } xFilter->filter(aDescriptor); } +#endif AllSettings m_aSavedSettings; }; |