summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-11-08 18:24:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-11-11 11:03:58 +0100
commit9bba3a604d12566bfb5e8ab8d2788fe8d3690a96 (patch)
tree99575c120c49c4c0541113ce3163dd0ec51064df /starmath
parentf5926c8cfbd5af1fb7214428b4b03453b826f9a5 (diff)
use more concrete type in ImpEditEngine::SetUndoManager
instead of dynamic_cast'ing to the type we want, and __ignoring__ the parameter if it is not, just adjust the type that we want, which luckily everything is already sending Change-Id: If083e11c9818cdcae199afc1261efbdb652e1c76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159295 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx1
-rw-r--r--starmath/source/view.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index e644288ff35e..ff28f448cbbd 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -83,6 +83,7 @@
#include <oox/mathml/imexport.hxx>
#include <ElementsDockingWindow.hxx>
#include <smediteng.hxx>
+#include <editeng/editund2.hxx>
#define ShellClass_SmDocShell
#include <smslots.hxx>
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 704d15b1ad7a..fd765986c659 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -63,6 +63,7 @@
#include <svx/zoomslideritem.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
+#include <editeng/editund2.hxx>
#include <svx/svxdlg.hxx>
#include <sfx2/zoomitem.hxx>
#include <vcl/commandevent.hxx>