svx/source/tbxctrls/itemwin.cxx | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-)
New commits: commit e489729dd6a66769bf96cb8e87344861af13d7c8 Author: Armin Le Grand <a...@apache.org> Date: Thu Mar 20 13:01:49 2014 +0000 Resolves: #i124425# corrected SvxMetricField::Down() behaviour (cherry picked from commit d602017961ec03ada7cdd8c08358870dcd674555) Conflicts: svx/source/tbxctrls/itemwin.cxx Change-Id: Ic4d24c3045513e36d895098898df60da0fec487e diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 44583b7..96365b3 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits