diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-23 23:24:14 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-23 23:25:28 +0900 |
commit | e4e5cfb21120a34e314ec184451a09753dfb5b81 (patch) | |
tree | a032c7cf6d219cda934584f73d199c74b6f002e8 /vcl | |
parent | ffa560e0dec34d71f4593b7bf23ad50321548c60 (diff) |
fix for the failed JUnit test
Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/fixed.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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<FixedText*>(this)->Invalidate(); + ImplDraw(const_cast<FixedText*>(this), 0, Point(), GetOutputSizePixel(), true); + //const_cast<FixedText*>(this)->Invalidate(); } void FixedText::setMaxWidthChars(sal_Int32 nWidth) |