summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-08-31 13:58:34 +0000
committerKurt Zenker <kz@openoffice.org>2004-08-31 13:58:34 +0000
commite6678f60b5c0e3698543bb385cc9c55b6414421d (patch)
tree1355293ba6d420dbe7497cedfddfee5dbe8e7f5e /configmgr
parentc3b7353ad0fb2ec41938b8aa3b02c2cd6f80f7e0 (diff)
INTEGRATION: CWS cfglogging (1.5.120); FILE MERGED
2004/08/27 07:49:01 jb 1.5.120.1: #i25940#,#i25939# Add log output to parsing services
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/xml/basicparser.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/configmgr/source/xml/basicparser.hxx b/configmgr/source/xml/basicparser.hxx
index ff9df035be23..1f744c8fcec6 100644
--- a/configmgr/source/xml/basicparser.hxx
+++ b/configmgr/source/xml/basicparser.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basicparser.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 17:19:31 $
+ * last change: $Author: kz $ $Date: 2004-08-31 14:58:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -72,6 +72,9 @@
#ifndef CONFIGMGR_STACK_HXX_
#include "stack.hxx"
#endif
+#ifndef CONFIGMGR_LOGGER_HXX_
+#include "logger.hxx"
+#endif
#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HPP_
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
@@ -121,9 +124,9 @@ namespace configmgr
#endif // OSL_DEBUG_LEVEL
public:
- typedef uno::Reference< lang::XMultiServiceFactory > ServiceFactory;
+ typedef uno::Reference< uno::XComponentContext > Context;
- explicit BasicParser(ServiceFactory const & _xSvcFactory);
+ explicit BasicParser(Context const & _xContext);
virtual ~BasicParser();
// XDocumentHandler
@@ -154,6 +157,8 @@ namespace configmgr
protected:
ElementParser const & getDataParser() const { return m_aDataParser; }
+ Logger const & getLogger() { return m_aDataParser.logger(); }
+
/// start an node
void startNode( ElementInfo const & aInfo, const uno::Reference< sax::XAttributeList >& xAttribs );
/// are we in the content of a node ?