diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-21 20:34:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:04 +0100 |
commit | 6581e2f30ea18bfc9deaeafc2bae11249fd73487 (patch) | |
tree | 08d31216a2b4769ca692a758600206b9bf0d288c /sw/source | |
parent | ce7e5c914c2b0997034d25b64dbf594f1154e6f0 (diff) |
can drop the debugging size setting now it works
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/dialog/wordcountdialog.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx index 8adfb1fc0270..a15ea7be8210 100644 --- a/sw/source/ui/dialog/wordcountdialog.cxx +++ b/sw/source/ui/dialog/wordcountdialog.cxx @@ -74,8 +74,6 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) , aOK(&dialog_action_area1, SW_RES(PB_OK)) , aHelp(&dialog_action_area1, SW_RES(PB_HELP)) { - Size aSize; - rtl::OUString sForceInitialSize(RTL_CONSTASCII_USTRINGPARAM("00000000")); aCurrentWordFI.SetText(sForceInitialSize); aCurrentCharacterFI.SetText(sForceInitialSize); @@ -152,16 +150,6 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) aBottomFL.setChildProperty(sFill, true); aBottomFL.setChildProperty(sFill, true); - aSize = dialog_vbox1.GetOptimalSize(WINDOWSIZE_PREFERRED); - dialog_vbox1.SetSizePixel(aSize); - - aSize = pParent->GetOptimalSize(WINDOWSIZE_PREFERRED); - pParent->SetSizePixel(aSize); - fprintf(stderr, "size is %ld %ld on %p\n", aSize.Width(), aSize.Height(), pParent); - - aSize = dialog_vbox1.GetOptimalSize(WINDOWSIZE_PREFERRED); - dialog_vbox1.SetSizePixel(aSize); - aOK.setChildProperty<sal_Int32>(sPackType, VCL_PACK_END); aHelp.setChildProperty<sal_Int32>(sPackType, VCL_PACK_END); |