Kaydet (Commit) 457bc1eb authored tarafından Michael Meeks's avatar Michael Meeks

fdo#67707 - avoid crash with sidebar when switching to writer from impress.

Change-Id: I0010663951fe67bfb864ffdaecb251b3da5a3ac3
üst 0acdeacb
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include "controller/SlsSelectionFunction.hxx" #include "controller/SlsSelectionFunction.hxx"
#include "SlideSorter.hxx" #include "SlideSorter.hxx"
...@@ -439,7 +438,7 @@ sal_Bool SelectionFunction::KeyInput (const KeyEvent& rEvent) ...@@ -439,7 +438,7 @@ sal_Bool SelectionFunction::KeyInput (const KeyEvent& rEvent)
mpModeHandler->SetCurrentPage(pDescriptor); mpModeHandler->SetCurrentPage(pDescriptor);
mpModeHandler->SwitchView(pDescriptor); mpModeHandler->SwitchView(pDescriptor);
} }
else else if (pViewShell->GetDispatcher() != NULL)
{ {
pViewShell->GetDispatcher()->Execute( pViewShell->GetDispatcher()->Execute(
SID_INSERTPAGE, SID_INSERTPAGE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment