Kaydet (Commit) e4e5cfb2 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

fix for the failed JUnit test

Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7
üst ffa560e0
......@@ -386,7 +386,8 @@ Size FixedText::GetOptimalSize() const
void FixedText::FillLayoutData() const
{
mpControlData->mpLayoutData = new vcl::ControlLayoutData();
const_cast<FixedText*>(this)->Invalidate();
ImplDraw(const_cast<FixedText*>(this), 0, Point(), GetOutputSizePixel(), true);
//const_cast<FixedText*>(this)->Invalidate();
}
void FixedText::setMaxWidthChars(sal_Int32 nWidth)
......
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