diff options
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/genericunodialog.hxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/svtools/genericunodialog.hxx b/include/svtools/genericunodialog.hxx index 36a836ff83bf..5809bea556e2 100644 --- a/include/svtools/genericunodialog.hxx +++ b/include/svtools/genericunodialog.hxx @@ -118,7 +118,6 @@ namespace svt bool m_bExecuting : 1; /// we're currently executing the dialog bool m_bTitleAmbiguous : 1; /// m_sTitle has not been set yet bool m_bInitialized : 1; /// has "initialize" been called? - bool m_bNeedInitialization : 1; /// do we need to be initialized before any other API call is allowed? // <properties> OUString m_sTitle; /// title of the dialog @@ -127,9 +126,6 @@ namespace svt css::uno::Reference<css::uno::XComponentContext> m_aContext; - public: - bool needInitialization() const { return m_bNeedInitialization && !m_bInitialized; } - protected: OGenericUnoDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxContext); virtual ~OGenericUnoDialog() override; @@ -208,8 +204,6 @@ namespace svt UnoDialogEntryGuard( OGenericUnoDialog& _rDialog ) :m_aGuard( _rDialog.GetMutex() ) { - if ( _rDialog.needInitialization() ) - throw css::lang::NotInitializedException(); } private: |