summaryrefslogtreecommitdiff
path: root/writerperfect/source/common/DocumentHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/common/DocumentHandler.cxx')
-rw-r--r--writerperfect/source/common/DocumentHandler.cxx6
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()