diff options
author | David Tardon <dtardon@redhat.com> | 2010-10-11 10:16:20 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-10-11 10:16:20 +0200 |
commit | 18c96c06428488fb4882a71aaafcee65c2485d33 (patch) | |
tree | d511406f5127e86339db764e464c4ac2dccea67e /desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | |
parent | 5438392e13a3f022073725dd85e4d71d6f56e55b (diff) |
#i113359# avoid possible null pointer dereference
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx index fce9bd8cdd..dfe28fb804 100644 --- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx +++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx @@ -167,7 +167,7 @@ public: m_bWarnUser( false ) {} - Dialog * activeDialog() { return m_pDialogHelper->getWindow(); } + Dialog * activeDialog() { return m_pDialogHelper ? m_pDialogHelper->getWindow() : NULL; } void setTitle( const OUString& rNewTitle ) { m_sTitle = rNewTitle; } void startProgress(); |