diff options
Diffstat (limited to 'svx/source/svdraw/svdorect.cxx')
-rw-r--r-- | svx/source/svdraw/svdorect.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx index 7a9bf136bb9a..68f52587851a 100644 --- a/svx/source/svdraw/svdorect.cxx +++ b/svx/source/svdraw/svdorect.cxx @@ -316,7 +316,9 @@ SdrHdl* SdrRectObj::GetHdl(sal_uInt32 nHdlNum) const { case 0: { - pH = new ImpTextframeHdl(aRect); + // hack for calc grid sync to ensure the hatched area + // for a textbox is displayed at correct position + pH = new ImpTextframeHdl(aRect + GetGridOffset() ); pH->SetObj((SdrObject*)this); pH->SetDrehWink(aGeo.nDrehWink); break; |