summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-22 16:56:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-22 16:57:44 +0000
commit125ff276ae727ef5c1283e364693064a57c4f4b4 (patch)
treebfb4a624feaec2720b6af13ea02e36050fcbf32e
parentc22bdc3cc47c769dd1e1c59103e59b5f6762a065 (diff)
Tutorial step #7 remove FreeResource
1. Remove the call to FreeResource, the dialog is no long resource based, so it will crash otherwise 2. make dev-install, cross fingers, launch app and dialog 3. launch under gdb if it crashes, typically asserts indicate typos in widget names or mismatched widget types Change-Id: I50df1b5d73e904c8d64feb06f23a9331340e40af
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
index 9f3462da1565..34c11fa12d9b 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star::uno;
ChineseTranslationDialog::ChineseTranslationDialog( Window* pParent )
: ModalDialog(pParent, "ChineseConversionDialog", "svx/ui/chineseconversiondialog.ui")
-
, m_pDictionaryDialog(0)
{
get(m_pBP_OK, "ok");
@@ -53,7 +52,6 @@ ChineseTranslationDialog::ChineseTranslationDialog( Window* pParent )
get(m_pRB_To_Simplified, "tosimplified");
get(m_pRB_To_Traditional, "totraditional");
get(m_pCB_Translate_Commonterms, "commonterms");
- FreeResource();
m_pRB_To_Simplified->SetHelpId( HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_SIMPLIFIED );
m_pRB_To_Traditional->SetHelpId( HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_TRADITIONAL );