From e4e5cfb21120a34e314ec184451a09753dfb5b81 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sat, 23 May 2015 23:24:14 +0900 Subject: fix for the failed JUnit test Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7 --- vcl/source/control/fixed.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 55b8b0c6a6a8..9d2c38fe8155 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -386,7 +386,8 @@ Size FixedText::GetOptimalSize() const void FixedText::FillLayoutData() const { mpControlData->mpLayoutData = new vcl::ControlLayoutData(); - const_cast(this)->Invalidate(); + ImplDraw(const_cast(this), 0, Point(), GetOutputSizePixel(), true); + //const_cast(this)->Invalidate(); } void FixedText::setMaxWidthChars(sal_Int32 nWidth) -- cgit