summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/sdwindow.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index abcaaeecea6c..bd60739f0515 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -26,6 +26,7 @@
#include <editeng/outliner.hxx>
#include <editeng/editview.hxx>
+#include <editeng/editeng.hxx>
#include "app.hrc"
#include "helpids.h"
@@ -224,6 +225,8 @@ void Window::KeyInput(const KeyEvent& rKEvt)
if (getenv("SD_DEBUG") && rKEvt.GetKeyCode().GetCode() == KEY_F12 && mpViewShell)
{
mpViewShell->GetDoc()->dumpAsXml(nullptr);
+ OutlinerView *pOLV = mpViewShell->GetView()->GetTextEditOutlinerView();
+ pOLV->GetEditView().GetEditEngine()->dumpAsXmlEditDoc(nullptr);
return;
}