[Libreoffice-commits] core.git: sw/qa

Miklos Vajna vmiklos at collabora.co.uk
Tue May 12 08:23:19 PDT 2015


 sw/qa/extras/rtfimport/rtfimport.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 8f822faa709b85c282ccc25b1e6988d26fc5a6f5
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue May 12 17:22:16 2015 +0200

    CppunitTest_sw_rtfimport: error C3861: 'paste': identifier not found
    
    Change-Id: I6abcce4f526834648409ebce17c8b9f13bf956e2

diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx
index fff3c7d..1a4dbfe 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -91,7 +91,6 @@ public:
 
 protected:
     /// Copy&paste helper.
-#if !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);
@@ -111,7 +110,6 @@ protected:
         }
         xFilter->filter(aDescriptor);
     }
-#endif
     AllSettings m_aSavedSettings;
 };
 


More information about the Libreoffice-commits mailing list