diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-08 18:24:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-11 11:03:58 +0100 |
commit | 9bba3a604d12566bfb5e8ab8d2788fe8d3690a96 (patch) | |
tree | 99575c120c49c4c0541113ce3163dd0ec51064df /sw/source/uibase | |
parent | f5926c8cfbd5af1fb7214428b4b03453b826f9a5 (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 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/AnnotationWin.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/docvw/AnnotationWin2.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwtxtsh.cxx | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx index 5ed6780b455a..714c1419d2ed 100644 --- a/sw/source/uibase/docvw/AnnotationWin.cxx +++ b/sw/source/uibase/docvw/AnnotationWin.cxx @@ -41,6 +41,7 @@ #include <editeng/postitem.hxx> #include <editeng/fhgtitem.hxx> #include <editeng/langitem.hxx> +#include <editeng/editund2.hxx> #include <editeng/editview.hxx> #include <editeng/outliner.hxx> diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx index 6a97433272b6..4864cba499c4 100644 --- a/sw/source/uibase/docvw/AnnotationWin2.cxx +++ b/sw/source/uibase/docvw/AnnotationWin2.cxx @@ -45,6 +45,7 @@ #include <editeng/editeng.hxx> #include <editeng/eeitem.hxx> #include <editeng/outlobj.hxx> +#include <editeng/editund2.hxx> #include <svl/undo.hxx> #include <svl/stritem.hxx> diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 920089b623c0..4c6d5becc5f0 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -33,6 +33,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/request.hxx> +#include <editeng/editund2.hxx> #include <editeng/eeitem.hxx> #include <editeng/flstitem.hxx> #include <editeng/spltitem.hxx> diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index e767c8b86c11..4d9a1817305f 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -24,6 +24,7 @@ #include <svl/slstitm.hxx> #include <svl/stritem.hxx> #include <editeng/fontitem.hxx> +#include <editeng/editund2.hxx> #include <svx/svdview.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/objface.hxx> |