diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-01 10:30:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-01 18:35:58 +0200 |
commit | 9c4ae2ac2b13f9c0f034f64fb7ad0b4dcae3bb96 (patch) | |
tree | 5489446160f2c5dd346f40124fd23473926607db /include/svtools | |
parent | 5a098fea05fd32d8473730bbf7d35c36540c9df3 (diff) |
loplugin:unusedfields
Change-Id: I73e94fe2bcf6e206ae8f78380abf2a399aa6dc01
Reviewed-on: https://gerrit.libreoffice.org/78365
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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: |