diff options
Diffstat (limited to 'sw/source/filter/basflt/fltini.cxx')
-rw-r--r-- | sw/source/filter/basflt/fltini.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx index da64fa262012..ac001af12e29 100644 --- a/sw/source/filter/basflt/fltini.cxx +++ b/sw/source/filter/basflt/fltini.cxx @@ -118,9 +118,12 @@ namespace sw { Filters::Filters() { - SetFltPtr( READER_WRITER_BAS, (ReadAscii = new AsciiReader) ); - SetFltPtr( READER_WRITER_HTML, (ReadHTML = new HTMLReader) ); - SetFltPtr( READER_WRITER_XML, (ReadXML = new XMLReader) ); + ReadAscii = new AsciiReader; + ReadHTML = new HTMLReader; + ReadXML = new XMLReader; + SetFltPtr( READER_WRITER_BAS, ReadAscii ); + SetFltPtr( READER_WRITER_HTML, ReadHTML ); + SetFltPtr( READER_WRITER_XML, ReadXML ); SetFltPtr( READER_WRITER_TEXT_DLG, ReadAscii ); SetFltPtr( READER_WRITER_TEXT, ReadAscii ); } |