[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Sat May 23 07:26:08 PDT 2015
vcl/source/control/fixed.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit e4e5cfb21120a34e314ec184451a09753dfb5b81
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date: Sat May 23 23:24:14 2015 +0900
fix for the failed JUnit test
Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 55b8b0c..9d2c38f 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<FixedText*>(this)->Invalidate();
+ ImplDraw(const_cast<FixedText*>(this), 0, Point(), GetOutputSizePixel(), true);
+ //const_cast<FixedText*>(this)->Invalidate();
}
void FixedText::setMaxWidthChars(sal_Int32 nWidth)
More information about the Libreoffice-commits
mailing list