INTEGRATION: CWS chart18_SRC680 (1.8.34); FILE MERGED

2007/09/27 11:16:26 iha 1.8.34.1: #i82006# don't loop
This commit is contained in:
Ivo Hinkelmann 2007-10-15 15:33:33 +00:00
parent ca4113297a
commit 94eaf97912

View file

@ -4,9 +4,9 @@
*
* $RCSfile: ScaleAutomatism.cxx,v $
*
* $Revision: 1.9 $
* $Revision: 1.10 $
*
* last change: $Author: vg $ $Date: 2007-09-18 15:11:31 $
* last change: $Author: ihi $ $Date: 2007-10-15 16:33:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -118,8 +118,8 @@ void ScaleAutomatism::setAutoScalingOptions(
void ScaleAutomatism::setMaximumAutoMainIncrementCount( sal_Int32 nMaximumAutoMainIncrementCount )
{
if( nMaximumAutoMainIncrementCount < 1 )
m_nMaximumAutoMainIncrementCount = 1;
if( nMaximumAutoMainIncrementCount < 2 )
m_nMaximumAutoMainIncrementCount = 2; //#i82006
else if( nMaximumAutoMainIncrementCount > MAXIMUM_AUTO_INCREMENT_COUNT )
m_nMaximumAutoMainIncrementCount = MAXIMUM_AUTO_INCREMENT_COUNT;
else