summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-11 13:01:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-11 19:42:52 +0000
commit89cb169b49de363ac290c23cb228675d022f5cda (patch)
tree552d2393045b2c5b97fa326a481773345b0673d0 /filter/source
parentb6f8bc08cdb514639fcc15d6ad76406478e44f54 (diff)
use sizegroups instead of explicit code
Change-Id: I2376e69adf235d1e6f89296c50a9cea76041f9d7
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 0c04cad42b1c..45742df584e3 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -156,18 +156,6 @@ XMLFilterTestDialog::XMLFilterTestDialog(Window* pParent,
get(m_pPBRecentFile, "recentfile");
get(m_pFTNameOfRecentFile, "recentfilename");
- long nWidth =
- std::max(m_pPBExportBrowse->get_preferred_size().Width(),
- std::max(m_pPBCurrentDocument->get_preferred_size().Width(),
- std::max(m_pPBImportBrowse->get_preferred_size().Width(),
- m_pPBRecentFile->get_preferred_size().Width())));
-
- //make sure that the second columns of the two disconnected
- //grids are of equal width by ensuring that the widest
- //entry in each equals
- m_pPBExportBrowse->set_width_request(nWidth);
- m_pPBImportBrowse->set_width_request(nWidth);
-
get(m_pPBClose, "close");
m_pPBExportBrowse->SetClickHdl(LINK( this, XMLFilterTestDialog, ClickHdl_Impl ) );