vcl/source/control/field.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 564db9f6fc286431cd1fa41c26b9682ae8e74974
Author: Caolán McNamara <[email protected]>
Date: Tue May 1 11:23:50 2018 +0100
fix out of range spinbutton value reformat
Change-Id: I5da9da35d4bf40e2c4107df7ab9b07a6ca2fc836
Reviewed-on: https://gerrit.libreoffice.org/53684
Tested-by: Jenkins <[email protected]>
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index a59557dcbb9b..706a56a93a93 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -455,7 +455,6 @@ void FormatterBase::ImplSetText( const OUString& rText,
Selection const * pNewSe
if (maOutputHdl.IsSet())
{
OUString sText(mpField->GetText());
- mpField->SetText(OUString());
if (!maOutputHdl.Call(*mpField))
mpField->SetText(sText);
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits