diff options
Diffstat (limited to 'framework/source/uielement/statusbarmanager.cxx')
-rw-r--r-- | framework/source/uielement/statusbarmanager.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx index a071889c8f23..f1195068a464 100644 --- a/framework/source/uielement/statusbarmanager.cxx +++ b/framework/source/uielement/statusbarmanager.cxx @@ -370,9 +370,8 @@ void StatusBarManager::CreateControllers() } } - if ( pController ) - xController.set(static_cast< ::cppu::OWeakObject *>( pController ), - uno::UNO_QUERY ); + xController.set(static_cast< ::cppu::OWeakObject *>( pController ), + uno::UNO_QUERY ); } m_aControllerMap[nId] = xController; |