diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-23 23:24:14 +0900 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-29 20:16:50 +0200 |
commit | e549c9d39e4c2594a176ccf59f2c2262d2d8684a (patch) | |
tree | d3888705c5a67eb652f1994e868d4bbf0af08411 | |
parent | 2b16c13862cd8f4a6be27747b58a40c50d8d83cb (diff) |
fix for the failed JUnit test
Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
-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 12f2ae239372..c81725ebf3bf 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) |