summaryrefslogtreecommitdiff
authorCaolán McNamara <caolanm@redhat.com>2013-01-22 13:51:39 (GMT)
committer Caolán McNamara <caolanm@redhat.com>2013-01-22 16:57:43 (GMT)
commit63065fa781d2568f22a5cc70d9390a2407f40ad8 (patch) (side-by-side diff)
treed9afca1048811800cf97ee9348f2d6f4ef288eac
parent0a28e23be70d1e61dd176259b12e63bb128972f7 (diff)
downloadcore-63065fa781d2568f22a5cc70d9390a2407f40ad8.zip
core-63065fa781d2568f22a5cc70d9390a2407f40ad8.tar.gz
Tutorial step #3 change Dialog constructor
Change-Id: Ibdd805d568da2006caaa2d0b756e809e48786f0c
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
index f50679c..298a927 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
@@ -44,7 +44,8 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
ChineseTranslationDialog::ChineseTranslationDialog( Window* pParent )
- : ModalDialog( pParent, TextConversionDlgs_ResId( DLG_CHINESETRANSLATION ) )
+ : 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 ) )