summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-01 11:23:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-01 14:55:58 +0200
commit564db9f6fc286431cd1fa41c26b9682ae8e74974 (patch)
tree94d0b8268bb28688df5a21991b201840b149b0cf
parentc5b27af5be11758ecb8c248f9415a696bb7ab0ba (diff)
fix out of range spinbutton value reformat
Change-Id: I5da9da35d4bf40e2c4107df7ab9b07a6ca2fc836 Reviewed-on: https://gerrit.libreoffice.org/53684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/control/field.cxx1
1 files changed, 0 insertions, 1 deletions
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);
}