summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-03-09 10:26:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-03-09 13:25:56 +0100
commit633b2f4dffedaf4a162a5fa92eeaeb509efab173 (patch)
tree56b0ee015b834444da703fb7779d4b171c22c5a1 /cui
parentAdapt CLANGSYSINCLUDE to Git-based LLVM builds (diff)
downloadcore-633b2f4dffedaf4a162a5fa92eeaeb509efab173.tar.gz
core-633b2f4dffedaf4a162a5fa92eeaeb509efab173.zip
save/restore the entry text of the fontsize widget
instead of its value, because the min value is 2, but we set empty text to indicate multiple values are selected in the underlying text. Change-Id: If4232b500cd177a264aa5e6ca0537021483db95f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90208 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/chardlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index c6e4340be1bb..d8ab1aa1e9d1 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -766,7 +766,7 @@ void SvxCharNamePage::Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp
}
else
{
- pSizeBox->set_active_text( OUString() );
+ pSizeBox->set_entry_text( OUString() );
if ( eState <= SfxItemState::READONLY )
{
pSizeBox->set_sensitive(false);