summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2013-11-05 11:19:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-11-05 04:24:44 -0600
commitaf93243d06d81e996c1fae92190bc9622503e25b (patch)
treeabc1ed1ca0b70617dc2ff18cd2686a0b51986fdf /vcl
parentebf3df49118dad83acaf045b71815d7900289046 (diff)
Resolves: fdo#70588 MultiLineEdits don't need WB_WORDBREAK set
and inherits from Edit which reuses that same bit for password Change-Id: I8add146fdbc1b3402b5409f01f75c620da25a313 Reviewed-on: https://gerrit.libreoffice.org/6579 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/msgbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 31c0c863fc3f..0e95ea8adced 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -233,7 +233,7 @@ void MessBox::ImplPosControls()
long nMaxWidth = GetDesktopRectPixel().GetWidth()-8;
long nMaxLineWidth;
long nWidth;
- WinBits nWinStyle = WB_LEFT | WB_WORDBREAK | WB_NOLABEL;
+ WinBits nWinStyle = WB_LEFT | WB_NOLABEL;
sal_uInt16 nTextStyle = TEXT_DRAW_MULTILINE | TEXT_DRAW_TOP | TEXT_DRAW_LEFT;
delete mpVCLMultiLineEdit;