summaryrefslogtreecommitdiff
path: root/svx/source/form/fmtextcontroldialogs.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-24 22:21:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-24 22:24:45 +0000
commit2a1d60f76d84f4c617792b1dcf4196b4289fb51f (patch)
tree8e0d626c2691dee062c311f82a0b851cb96b8085 /svx/source/form/fmtextcontroldialogs.cxx
parent1346055530f27acb53cafdfd0e2022a3382b1857 (diff)
convert text control paragraph dialog to .ui
Change-Id: Iedaa5db0add3e6f65d4e207f1514b8eb8344b6da
Diffstat (limited to 'svx/source/form/fmtextcontroldialogs.cxx')
-rw-r--r--svx/source/form/fmtextcontroldialogs.cxx28
1 files changed, 9 insertions, 19 deletions
diff --git a/svx/source/form/fmtextcontroldialogs.cxx b/svx/source/form/fmtextcontroldialogs.cxx
index 40be5a888a56..92a5402b4432 100644
--- a/svx/source/form/fmtextcontroldialogs.cxx
+++ b/svx/source/form/fmtextcontroldialogs.cxx
@@ -78,33 +78,23 @@ namespace svx
}
}
- //====================================================================
- //= TextControlParaAttribDialog
- //====================================================================
- //--------------------------------------------------------------------
- TextControlParaAttribDialog::TextControlParaAttribDialog( Window* _pParent, const SfxItemSet& _rCoreSet )
- :SfxTabDialog( _pParent, SVX_RES( RID_SVXDLG_TEXTCONTROL_PARAATTR ), &_rCoreSet )
+ TextControlParaAttribDialog::TextControlParaAttribDialog(Window* _pParent,
+ const SfxItemSet& _rCoreSet)
+ : SfxTabDialog( _pParent, "TextControlParagraphPropertiesDialog",
+ "svx/ui/textcontrolparadialog.ui", &_rCoreSet )
{
- FreeResource();
-
- AddTabPage( RID_SVXPAGE_STD_PARAGRAPH );
- AddTabPage( RID_SVXPAGE_ALIGN_PARAGRAPH );
+ AddTabPage("labelTP_PARA_STD", RID_SVXPAGE_STD_PARAGRAPH);
+ AddTabPage("labelTP_PARA_ALIGN", RID_SVXPAGE_ALIGN_PARAGRAPH);
SvtCJKOptions aCJKOptions;
if( aCJKOptions.IsAsianTypographyEnabled() )
- AddTabPage( RID_SVXPAGE_PARA_ASIAN );
+ AddTabPage("labelTP_PARA_ASIAN", RID_SVXPAGE_PARA_ASIAN);
else
- RemoveTabPage( RID_SVXPAGE_PARA_ASIAN );
+ RemoveTabPage("labelTP_PARA_ASIAN");
- AddTabPage( RID_SVXPAGE_TABULATOR );
+ AddTabPage("labelTP_TABULATOR", RID_SVXPAGE_TABULATOR);
}
- //--------------------------------------------------------------------
- TextControlParaAttribDialog::~TextControlParaAttribDialog()
- {
- }
-
-//........................................................................
} // namespace svx
//........................................................................