summaryrefslogtreecommitdiffstats
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2014-03-20 13:01:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-20 16:38:48 +0000
commite489729dd6a66769bf96cb8e87344861af13d7c8 (patch)
tree1f8dddf26430906f51c8c04e44b5a9a7c6a2ca50 /svx/source/tbxctrls
parentRemove unused include (diff)
downloadcore-e489729dd6a66769bf96cb8e87344861af13d7c8.tar.gz
core-e489729dd6a66769bf96cb8e87344861af13d7c8.zip
Resolves: #i124425# corrected SvxMetricField::Down() behaviour
(cherry picked from commit d602017961ec03ada7cdd8c08358870dcd674555) Conflicts: svx/source/tbxctrls/itemwin.cxx Change-Id: Ic4d24c3045513e36d895098898df60da0fec487e
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/itemwin.cxx17
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();