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

Jan Holesovsky kendy at collabora.com
Wed Sep 13 07:11:54 UTC 2017


 sw/inc/shellio.hxx                   |    2 +-
 sw/qa/extras/txtexport/txtexport.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d0d026a1589b8d8d97d4c64a48343c2d55774741
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Sep 13 09:09:42 2017 +0200

    Actually no need to make GetASCWriter public.
    
    Change-Id: I6f0f18629c6a61b6a4c52c2b16cc7b45525a5259

diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 92544413bdfa..cec8b453e3f4 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -544,7 +544,7 @@ namespace SwReaderWriter
 }
 
 void GetRTFWriter( const OUString&, const OUString&, WriterRef& );
-SW_DLLPUBLIC void GetASCWriter(const OUString&, const OUString&, WriterRef&);
+void GetASCWriter(const OUString&, const OUString&, WriterRef&);
 void GetHTMLWriter( const OUString&, const OUString&, WriterRef& );
 void GetXMLWriter( const OUString&, const OUString&, WriterRef& );
 
diff --git a/sw/qa/extras/txtexport/txtexport.cxx b/sw/qa/extras/txtexport/txtexport.cxx
index 59e64d215872..2213f53b34b7 100644
--- a/sw/qa/extras/txtexport/txtexport.cxx
+++ b/sw/qa/extras/txtexport/txtexport.cxx
@@ -27,7 +27,7 @@ public:
     void assertExportedRange(const OString& aExpected, SwPaM& rPaM)
     {
         WriterRef rAsciiWriter;
-        GetASCWriter(aEmptyOUStr, OUString(), rAsciiWriter);
+        SwReaderWriter::GetWriter(FILTER_TEXT, OUString(), rAsciiWriter);
         CPPUNIT_ASSERT(rAsciiWriter.is());
 
         // no start char


More information about the Libreoffice-commits mailing list