summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-22 16:51:42 (GMT)
committerCaolán McNamara <caolanm@redhat.com>2013-01-22 16:57:44 (GMT)
commit1b995cd4a6af8e8be60419ce76b7463ded72af8d (patch)
tree44f890bd66302ecc46ef03235d4ba7c561814fcc
parentb12527bf0ec4964a16240f9535b6fcab53ed1cf7 (diff)
Tutorial step #4 remove redundant FixedLine/FixedText constructors
1. It's nearly always the case that the FixedLine can be elided entirely as its only a visual effect with no methods called on it except its ctor, so explicit mention of it can be removed. 2. Thats's often the case for FixedText labels as well. Change-Id: Icd7434ee28d044d169f1d1ea230fbe9df9156bdc
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx3
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx6
2 files changed, 0 insertions, 9 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
index 7b08a50..1293d40 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
@@ -46,13 +46,10 @@ using namespace ::com::sun::star::uno;
ChineseTranslationDialog::ChineseTranslationDialog( Window* pParent )
: ModalDialog(pParent, "ChineseConversionDialog", "svx/ui/chineseconversiondialog.ui")
- , m_aFL_Direction( this, TextConversionDlgs_ResId( FL_DIRECTION ) )
, m_aRB_To_Simplified( this, TextConversionDlgs_ResId( RB_TO_SIMPLIFIED ) )
, m_aRB_To_Traditional( this, TextConversionDlgs_ResId( RB_TO_TRADITIONAL ) )
- , m_aFL_Commonterms( this, TextConversionDlgs_ResId( FL_COMMONTERMS ) )
, m_aCB_Translate_Commonterms( this, TextConversionDlgs_ResId( CB_TRANSLATE_COMMONTERMS ) )
, m_aPB_Editterms( this, TextConversionDlgs_ResId( PB_EDITTERMS ) )
- , m_aFL_Bottomline( this, TextConversionDlgs_ResId( T_FL_BOTTOMLINE ) )
, m_aBP_OK( this, TextConversionDlgs_ResId( PB_OK ) )
, m_pDictionaryDialog(0)
{
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
index 92c920c..a91a966 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
@@ -52,18 +52,12 @@ private:
void impl_UpdateVariantsCheckBox();
private:
- FixedLine m_aFL_Direction;
-
RadioButton m_aRB_To_Simplified;
RadioButton m_aRB_To_Traditional;
- FixedLine m_aFL_Commonterms;
-
CheckBox m_aCB_Translate_Commonterms;
PushButton m_aPB_Editterms;
- FixedLine m_aFL_Bottomline;
-
OKButton m_aBP_OK;
ChineseDictionaryDialog* m_pDictionaryDialog;