diff options
author | Armin Le Grand <alg@apache.org> | 2012-09-06 11:41:07 +0000 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-04-07 23:37:37 +0200 |
commit | 7a90044df279e1ec2336e7c398fa938a6fa3ad56 (patch) | |
tree | 2b7c5f870f2b7a9cb9c53bee4b6132184fdf76e9 /editeng/source/uno | |
parent | 92c6a38175a3d8bc77250a85d9574134a1166151 (diff) |
#120650# truncate mis-sized bullet sizes to useful values
Patch by: Tang Meng
Review by: alg(cherry picked from commit e5720990bd3691222363bb2d674b7d39a0d8829f)
Diffstat (limited to 'editeng/source/uno')
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index a69fdc7be1fd..ea028e1d90aa 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -439,6 +439,12 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex( const Sequence< beans::Prope sal_Int16 nSize = sal_Int16(); if( aVal >>= nSize ) { + // [Bug 120650] the slide content corrupt when open in Aoo + if ((nSize>250)||(nSize<=0)) + { + nSize = 100; + } + aFmt.SetBulletRelSize( (short)nSize ); continue; } |