diff options
author | Armin Le Grand <alg@apache.org> | 2014-03-20 13:01:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-20 16:38:48 +0000 |
commit | e489729dd6a66769bf96cb8e87344861af13d7c8 (patch) | |
tree | 1f8dddf26430906f51c8c04e44b5a9a7c6a2ca50 | |
parent | 1649caefc995e0a62a312a9e3df2477209db54cd (diff) |
Resolves: #i124425# corrected SvxMetricField::Down() behaviour
(cherry picked from commit d602017961ec03ada7cdd8c08358870dcd674555)
Conflicts:
svx/source/tbxctrls/itemwin.cxx
Change-Id: Ic4d24c3045513e36d895098898df60da0fec487e
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 44583b75db7d..96365b3a872a 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(); |