summaryrefslogtreecommitdiff
path: root/framework/source/uielement/statusbarmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/statusbarmanager.cxx')
-rw-r--r--framework/source/uielement/statusbarmanager.cxx5
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;