diff options
Diffstat (limited to 'sw/source/core/doc/textboxhelper.cxx')
-rw-r--r-- | sw/source/core/doc/textboxhelper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx index b7ee2ec2c677..43774cbf78cf 100644 --- a/sw/source/core/doc/textboxhelper.cxx +++ b/sw/source/core/doc/textboxhelper.cxx @@ -15,6 +15,7 @@ #include <fmtornt.hxx> #include <fmtfsize.hxx> #include <doc.hxx> +#include <IDocumentLayoutAccess.hxx> #include <ndtxt.hxx> #include <docsh.hxx> #include <docary.hxx> @@ -111,7 +112,7 @@ void SwTextBoxHelper::destroy(SwFrmFmt* pShape) // Delete the associated TextFrame. if (pFmt) - pShape->GetDoc()->DelLayoutFmt(pFmt); + pShape->GetDoc()->getIDocumentLayoutAccess().DelLayoutFmt(pFmt); } } |