From 564db9f6fc286431cd1fa41c26b9682ae8e74974 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 May 2018 11:23:50 +0100 Subject: fix out of range spinbutton value reformat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5da9da35d4bf40e2c4107df7ab9b07a6ca2fc836 Reviewed-on: https://gerrit.libreoffice.org/53684 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/control/field.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'vcl/source/control') 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); } -- cgit