From 1b616752eaa389ebefd7caef437368052aecbfa5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 20 Dec 2016 11:44:27 +0100 Subject: Result of css::ui::ContextChangeEventMultiplexer::get cannot be null Change-Id: I00fba6c2a79404c824feaa5bb302d37c4158f9a3 --- svx/source/sidebar/paragraph/ParaSpacingControl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/sidebar/paragraph/ParaSpacingControl.cxx b/svx/source/sidebar/paragraph/ParaSpacingControl.cxx index e4dc5d0c897f..6fde98830cfe 100644 --- a/svx/source/sidebar/paragraph/ParaSpacingControl.cxx +++ b/svx/source/sidebar/paragraph/ParaSpacingControl.cxx @@ -113,7 +113,7 @@ void ParaLRSpacingControl::StateChanged(sal_uInt16 nSID, SfxItemState eState, m_xMultiplexer = css::ui::ContextChangeEventMultiplexer::get( ::comphelper::getProcessComponentContext()); - if(m_xFrame.is() && m_xMultiplexer.is()) + if(m_xFrame.is()) m_xMultiplexer->addContextChangeEventListener(this, m_xFrame->getController()); } -- cgit