diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-11 13:01:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-11 19:42:52 +0000 |
commit | 89cb169b49de363ac290c23cb228675d022f5cda (patch) | |
tree | 552d2393045b2c5b97fa326a481773345b0673d0 /sw/source/ui/dialog/wordcountdialog.cxx | |
parent | b6f8bc08cdb514639fcc15d6ad76406478e44f54 (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.cxx | 11 |
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); |