diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-28 16:49:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:04 +0100 |
commit | 5f8328a13c914a3a86b3cb50c84e6762aa70aa94 (patch) | |
tree | b48c5e2a00893b50de1e822ee72b5445de3e834c /sw/source/ui | |
parent | 6581e2f30ea18bfc9deaeafc2bae11249fd73487 (diff) |
rename these
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dialog/wordcountdialog.cxx | 24 | ||||
-rw-r--r-- | sw/source/ui/inc/wordcountdialog.hxx | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx index a15ea7be8210..af1dcf8e8518 100644 --- a/sw/source/ui/dialog/wordcountdialog.cxx +++ b/sw/source/ui/dialog/wordcountdialog.cxx @@ -41,8 +41,8 @@ //TODO, add asian/non-asian word count to UI when CJK mode is enabled. SwWordCountDialog::SwWordCountDialog(Dialog* pParent) - : dialog_vbox1(pParent) - , box1(&dialog_vbox1) + : dialog_vbox(pParent) + , box1(&dialog_vbox) , aCurrentSelection(&box1, false, 3) , aCurrentSelectionText(&aCurrentSelection, SW_RES(FT_CURRENT)) , aCurrentSelectionLine(&aCurrentSelection, SW_RES(FL_CURRENT)) @@ -69,10 +69,10 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) , aDocRow3(&aDocBox) , aDocCharacterExcludingSpacesFT(&aDocRow3, SW_RES(FT_DOCCHARACTEREXCLUDINGSPACES)) , aDocCharacterExcludingSpacesFI(&aDocRow3, SW_RES(FI_DOCCHARACTEREXCLUDINGSPACES)) - , aBottomFL(&dialog_vbox1, SW_RES(FL_BOTTOM)) - , dialog_action_area1(&dialog_vbox1) - , aOK(&dialog_action_area1, SW_RES(PB_OK)) - , aHelp(&dialog_action_area1, SW_RES(PB_HELP)) + , aBottomFL(&dialog_vbox, SW_RES(FL_BOTTOM)) + , dialog_action_area(&dialog_vbox) + , aOK(&dialog_action_area, SW_RES(PB_OK)) + , aHelp(&dialog_action_area, SW_RES(PB_HELP)) { rtl::OUString sForceInitialSize(RTL_CONSTASCII_USTRINGPARAM("00000000")); aCurrentWordFI.SetText(sForceInitialSize); @@ -87,12 +87,12 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) rtl::OString sPackType(RTL_CONSTASCII_STRINGPARAM("pack-type")); rtl::OString sBorderWidth(RTL_CONSTASCII_STRINGPARAM("border-width")); - dialog_vbox1.setChildProperty(sFill, true); + dialog_vbox.setChildProperty(sFill, true); //TO-DO, when vbox1 belongs to dialog via builder, this becomes //content-area-border on the dialog - dialog_vbox1.setChildProperty(sBorderWidth, sal_Int32(7)); + dialog_vbox.setChildProperty(sBorderWidth, sal_Int32(7)); - dialog_action_area1.setChildProperty(sFill, true); + dialog_action_area.setChildProperty(sFill, true); box1.setChildProperty(sFill, true); box1.setChildProperty(sExpand, true); @@ -157,13 +157,13 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) fprintf(stderr, "aOk is %p\n", &aOK); fprintf(stderr, "aHelp is %p\n", &aHelp); - fprintf(stderr, "dialog_action_area1 is is %p\n", &dialog_action_area1); + fprintf(stderr, "dialog_action_area is is %p\n", &dialog_action_area); fprintf(stderr, "aCurrentSelectionLine is is %p\n", &aCurrentSelectionLine); fprintf(stderr, "aCurrentSelectionText is is %p\n", &aCurrentSelectionText); fprintf(stderr, "aCurrentSelection is is %p\n", &aCurrentSelection); - fprintf(stderr, "dialog_vbox1 is is %p\n", &dialog_vbox1); + fprintf(stderr, "dialog_vbox is is %p\n", &dialog_vbox); - pParent->SetMinOutputSizePixel(dialog_vbox1.GetOptimalSize(WINDOWSIZE_PREFERRED)); + pParent->SetMinOutputSizePixel(dialog_vbox.GetOptimalSize(WINDOWSIZE_PREFERRED)); #if OSL_DEBUG_LEVEL > 2 aDocCharacterExcludingSpacesFT.SetControlBackground(Color(180,0,0)); diff --git a/sw/source/ui/inc/wordcountdialog.hxx b/sw/source/ui/inc/wordcountdialog.hxx index c124170b3e93..e934aeb3ac08 100644 --- a/sw/source/ui/inc/wordcountdialog.hxx +++ b/sw/source/ui/inc/wordcountdialog.hxx @@ -37,7 +37,7 @@ struct SwDocStat; class SwWordCountDialog { - VBox dialog_vbox1; + VBox dialog_vbox; VBox box1; HBox aCurrentSelection; @@ -72,7 +72,7 @@ class SwWordCountDialog FixedLine aBottomFL; - HButtonBox dialog_action_area1; + HButtonBox dialog_action_area; OKButton aOK; HelpButton aHelp; |