diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/SfxRedactionHelper.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/doc/SfxRedactionHelper.cxx b/sfx2/source/doc/SfxRedactionHelper.cxx index 28cf18d94ebf..5bb43fcc422a 100644 --- a/sfx2/source/doc/SfxRedactionHelper.cxx +++ b/sfx2/source/doc/SfxRedactionHelper.cxx @@ -141,9 +141,11 @@ tools::Rectangle ImplCalcActionBounds(const MetaAction& rAct, const OutputDevice { // #105987# ImplLayout takes everything in logical coordinates std::unique_ptr<SalLayout> pSalLayout1 = rOut.ImplLayout( - aString, 0, nStrStartPos, rTextAct.GetPoint(), 0, rTextAct.GetDXArray()); + aString, 0, nStrStartPos, rTextAct.GetPoint(), 0, + { rTextAct.GetDXArray().data(), rTextAct.GetDXArray().size() }); std::unique_ptr<SalLayout> pSalLayout2 = rOut.ImplLayout( - aString, 0, nStrEndPos, rTextAct.GetPoint(), 0, rTextAct.GetDXArray()); + aString, 0, nStrEndPos, rTextAct.GetPoint(), 0, + { rTextAct.GetDXArray().data(), rTextAct.GetDXArray().size() }); if (pSalLayout2) { tools::Rectangle aBoundRect2(rOut.ImplGetTextBoundRect(*pSalLayout2)); |