From d0e65716347377628635c053ccb425d6284e3533 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 8 Jul 2013 16:27:04 +0100 Subject: add degrees and pixels as known spin field units Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d --- sd/source/ui/dlg/copydlg.cxx | 2 -- sd/uiconfig/sdraw/ui/copydlg.ui | 36 +++++++----------------------------- 2 files changed, 7 insertions(+), 31 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx index caf6956b87ee..4f8baa3c5e67 100644 --- a/sd/source/ui/dlg/copydlg.cxx +++ b/sd/source/ui/dlg/copydlg.cxx @@ -55,8 +55,6 @@ CopyDlg::CopyDlg(::Window* pWindow, const SfxItemSet& rInAttrs, get(m_pMtrFldMoveX, "x"); get(m_pMtrFldMoveY, "y"); get(m_pMtrFldAngle, "angle"); - m_pMtrFldAngle->SetUnit(FUNIT_CUSTOM); - m_pMtrFldAngle->SetCustomUnitText(get("degrees")->GetText()); get(m_pMtrFldWidth, "width"); get(m_pMtrFldHeight, "height"); get(m_pLbStartColor, "start"); diff --git a/sd/uiconfig/sdraw/ui/copydlg.ui b/sd/uiconfig/sdraw/ui/copydlg.ui index 6719126412ad..5d8f3207381f 100644 --- a/sd/uiconfig/sdraw/ui/copydlg.ui +++ b/sd/uiconfig/sdraw/ui/copydlg.ui @@ -228,6 +228,7 @@ 0 _Angle True + angle:0degrees 0 @@ -269,36 +270,13 @@ - + True - False - - - True - True - True - - True - adjustment2 - - - False - True - 0 - - - - - False - True - degrees - - - False - True - 1 - - + True + True + + True + adjustment2 1 -- cgit