summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorThorsten Behrens <thb@documentfoundation.org>2013-11-29 18:26:17 +0100
committerThorsten Behrens <thb@documentfoundation.org>2013-11-29 18:26:17 +0100
commitb807b2d9291a2328a55de55d67c4874803d8b7fd (patch)
tree61600b2c570d397ce003b857b07523099680bbce /sdext
parent72aa51185fb7b1ff2ad9006f2067a680b70ab66d (diff)
Revert "Resolves: fdo#71527 don't crash in presenter console"
This reverts commit bae01385c895a100b5371879889e606927cff877. Change-Id: Id149bae0904fd6c2120209d69490d0b257ac3f64
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterPaneContainer.cxx b/sdext/source/presenter/PresenterPaneContainer.cxx
index c8de7bfbdab3..105c1240f760 100644
--- a/sdext/source/presenter/PresenterPaneContainer.cxx
+++ b/sdext/source/presenter/PresenterPaneContainer.cxx
@@ -192,8 +192,7 @@ PresenterPaneContainer::SharedPaneDescriptor
{
pDescriptor->mxView = rxView;
pDescriptor->mpViewBackground = rpViewBackground;
- if (pDescriptor->mxPane.is())
- pDescriptor->mxPane->SetBackground(rpViewBackground);
+ pDescriptor->mxPane->SetBackground(rpViewBackground);
try
{
if ( ! pDescriptor->maViewInitialization.empty())