diff options
author | László Németh <nemeth@numbertext.org> | 2019-05-29 11:56:50 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-05-29 14:31:15 +0200 |
commit | 868d9212a1b4cce7faa3eabc047ab7f312c613de (patch) | |
tree | 207a066aab42664bfc10dbf7e678e62d6a4bab06 /cui | |
parent | bdfb3edb981ff04f1f3f6dc1ef335e37a0980245 (diff) |
tdf#120412 character formatting UI: allow >100% raising
in superscript/subscript text positions instead of
changing the greater values (eg. imported from DOCX)
to 100% by accident, simply using the character
formatting window.
Change-Id: I3adf6445070c183bd6005a02239962f18f504f9d
Reviewed-on: https://gerrit.libreoffice.org/73151
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 9236a26a2dbd..d1340a4463b3 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -2704,6 +2704,9 @@ void SvxCharPositionPage::Reset( const SfxItemSet* rSet ) m_nSuperProp = static_cast<sal_uInt8>(sUser.getToken( 0, ';', nIdx ).toInt32()); m_nSubProp = static_cast<sal_uInt8>(sUser.getToken( 0, ';', nIdx ).toInt32()); + // tdf#120412 up to 14400% (eg. 1584 pt with 11 pt letters) + m_xHighLowMF->set_max(14400, FieldUnit::PERCENT); + //fdo#75307 validate all the entries and discard all of them if any are //out of range bool bValid = true; |