summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-03-18 09:41:46 +0000
committerOliver Bolte <obo@openoffice.org>2005-03-18 09:41:46 +0000
commit16a8b834f0db6495ddc84eb9ec3258cf3e236eb4 (patch)
tree71b095c3d4f2c49d68d6bb14b780bf300b749248 /desktop
parent15f03e5a5481f6f4ece001fcd8f3e678e153a0fa (diff)
INTEGRATION: CWS cfgfix01 (1.3.120); FILE MERGED
2005/02/18 10:57:30 jb 1.3.120.1: #i41985# Don't create interaction handler unless needed - avoids loading uui dll unnecessarily
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/configinit.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/source/app/configinit.hxx b/desktop/source/app/configinit.hxx
index 3ba7b43de419..5bfcc61cab14 100644
--- a/desktop/source/app/configinit.hxx
+++ b/desktop/source/app/configinit.hxx
@@ -46,10 +46,12 @@ com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >
public:
typedef com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > InteractionHandler;
+ /// Constructor: Uses the default interaction handler
ConfigurationErrorHandler()
- : m_pContext(0), m_xHandler( getDefaultInteractionHandler())
+ : m_pContext(0), m_xHandler()
{}
+ /// Constructor: Uses an externally provided interaction handler
ConfigurationErrorHandler(const InteractionHandler & xHandler)
: m_pContext(0), m_xHandler( xHandler )
{}