Kaydet (Commit) e489729d authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Resolves: #i124425# corrected SvxMetricField::Down() behaviour

(cherry picked from commit d6020179)

Conflicts:
	svx/source/tbxctrls/itemwin.cxx

Change-Id: Ic4d24c3045513e36d895098898df60da0fec487e
üst 1649caef
......@@ -526,34 +526,21 @@ void SvxMetricField::ReleaseFocus_Impl()
}
}
void SvxMetricField::Down()
{
sal_Int64 nValue = GetValue();
nValue -= GetSpinSize();
// To prevent OS/2 to jump on Max
if ( nValue >= GetMin() )
MetricField::Down();
MetricField::Down();
}
void SvxMetricField::Up()
{
MetricField::Up();
}
void SvxMetricField::SetCoreUnit( SfxMapUnit eUnit )
{
ePoolUnit = eUnit;
}
void SvxMetricField::RefreshDlgUnit()
{
FieldUnit eTmpUnit = SfxModule::GetModuleFieldUnit( mxFrame );
......@@ -564,8 +551,6 @@ void SvxMetricField::RefreshDlgUnit()
}
}
bool SvxMetricField::PreNotify( NotifyEvent& rNEvt )
{
sal_uInt16 nType = rNEvt.GetType();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment