summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/wordcountdialog.cxx
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 /sw/source/ui/dialog/wordcountdialog.cxx
parentb6f8bc08cdb514639fcc15d6ad76406478e44f54 (diff)
use sizegroups instead of explicit code
Change-Id: I2376e69adf235d1e6f89296c50a9cea76041f9d7
Diffstat (limited to 'sw/source/ui/dialog/wordcountdialog.cxx')
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index 5a43642bb20a..5264293ccd6e 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -102,17 +102,6 @@ SwWordCountFloatDlg::SwWordCountFloatDlg(SfxBindings* _pBindings,
get(m_pClosePB, "close");
- long nPrefWidth = m_pCurrentWordFT->get_preferred_size().Width();
-
- m_pCurrentWordFT->set_width_request(nPrefWidth);
- m_pCurrentCharacterFT->set_width_request(nPrefWidth);
- m_pCurrentCharacterExcludingSpacesFT->set_width_request(nPrefWidth);
- m_pCurrentCjkcharsFT->set_width_request(nPrefWidth);
- m_pDocWordFT->set_width_request(nPrefWidth);
- m_pDocCharacterFT->set_width_request(nPrefWidth);
- m_pDocCharacterExcludingSpacesFT->set_width_request(nPrefWidth);
- m_pDocCjkcharsFT->set_width_request(nPrefWidth);
-
showCJK(SvtCJKOptions().IsAnyEnabled());
Initialize(pInfo);