Kaydet (Commit) 6f2ce153 authored tarafından Armin Le Grand's avatar Armin Le Grand

i124389 for tables refresh TextFrame when OutlinerParaObject changes

üst b885f484
......@@ -63,6 +63,7 @@
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <vcl/virdev.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <svx/svdotable.hxx>
//////////////////////////////////////////////////////////////////////////////
......@@ -1500,8 +1501,11 @@ void SdrTextObj::NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObjec
}
SetTextSizeDirty();
if (IsTextFrame() && (IsAutoGrowHeight() || IsAutoGrowWidth()))
{ // Textrahmen anpassen!
// #124389# also need to call NbcAdjustTextFrameWidthAndHeight when we are a table object (triggered from undo)
if((IsTextFrame() || 0 != dynamic_cast< sdr::table::SdrTableObj* >(this)) && (IsAutoGrowHeight() || IsAutoGrowWidth()))
{
// adapt text frame
NbcAdjustTextFrameWidthAndHeight();
}
if (!IsTextFrame())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment