diff options
author | osnola <alonso@loria.fr> | 2017-04-02 09:42:59 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-04-02 13:42:19 +0200 |
commit | b0067c89e6b2a4e29465d9da9a731ae30a66dce6 (patch) | |
tree | 4f10cbb6eb212c9528e6e3410d4f28b230818f97 /writerperfect/source/common | |
parent | af45b3d48e3a027c14317db944a8d67de063352f (diff) |
libwps import filter improvements
+ some astyle modifications,
+ add .wk4 and .123 to the list of file extensions,
+ add support to open Lotus files protected by a password.
Change-Id: I94d4afffd73f0999ff2b1958704cb3985fcd0cc9
Diffstat (limited to 'writerperfect/source/common')
-rw-r--r-- | writerperfect/source/common/DocumentHandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx index 29788200b6de..a38f8fc0fcf8 100644 --- a/writerperfect/source/common/DocumentHandler.cxx +++ b/writerperfect/source/common/DocumentHandler.cxx @@ -111,10 +111,10 @@ using com::sun::star::xml::sax::XAttributeList; using com::sun::star::xml::sax::XDocumentHandler; DocumentHandler::DocumentHandler(Reference < XDocumentHandler > &xHandler) : - mxHandler( xHandler ) + mxHandler(xHandler) { - if (SvXMLImport *pFastHandler = dynamic_cast<SvXMLImport*>(mxHandler.get())) - mxHandler.set( new SvXMLLegacyToFastDocHandler( pFastHandler ) ); + if (SvXMLImport *pFastHandler = dynamic_cast<SvXMLImport *>(mxHandler.get())) + mxHandler.set(new SvXMLLegacyToFastDocHandler(pFastHandler)); } void DocumentHandler::startDocument() |