summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 9559b30adbae..acaebcb1b71f 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -31,6 +31,7 @@
#include <DocumentSettingManager.hxx>
#include <IDocumentState.hxx>
#include <txtfly.hxx>
+#include <viewimp.hxx>
using namespace ::com::sun::star;
@@ -113,6 +114,12 @@ SwPosNotify::~SwPosNotify()
mpAnchoredDrawObj->AnchorFrame()->InvalidatePos();
}
}
+ // tdf#101464 notify SwAccessibleMap about new drawing object position
+ if (mpOldPageFrame->getRootFrame()->IsAnyShellAccessible())
+ {
+ mpOldPageFrame->getRootFrame()->GetCurrShell()->Imp()->MoveAccessible(
+ nullptr, mpAnchoredDrawObj->GetDrawObj(), maOldObjRect);
+ }
}
// --> #i32795#