diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-05 11:44:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-05 11:44:05 +0000 |
commit | 3440440dbf433d98673d114959d862d6bbcf5de2 (patch) | |
tree | e5c77d9a83d4f2f3b4b62dddce94e3e7773c9c37 /svx | |
parent | a41d064568f3e69238a60c0df803c746b03b2b34 (diff) |
Resolves: fdo#34396 use default units in extrusion depth dialog
Change-Id: I43b80d0fd70c97f923977aa1d496e9ed7d9a61f1
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/extrusioncontrols.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx index 8ebf54ea92e8..0ff5b9212c67 100644 --- a/svx/source/tbxctrls/extrusioncontrols.cxx +++ b/svx/source/tbxctrls/extrusioncontrols.cxx @@ -300,8 +300,7 @@ ExtrusionDepthDialog::ExtrusionDepthDialog( Window* pParent, double fDepth, Fiel : ModalDialog( pParent, "ExtrustionDepthDialog", "svx/ui/extrustiondepthdialog.ui" ) { get(m_pMtrDepth, "depth"); - bool bMetric = IsMetric( eDefaultUnit ); - m_pMtrDepth->SetUnit( bMetric ? FUNIT_CM : FUNIT_INCH ); + m_pMtrDepth->SetUnit( eDefaultUnit ); m_pMtrDepth->SetValue( (int) fDepth * 100, FUNIT_100TH_MM ); } |