https://bugs.freedesktop.org/show_bug.cgi?id=60739
Priority: medium
Bug ID: 60739
Assignee: [email protected]
Summary: cut/paste coding redux
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.0.0.0.beta2
Component: Writer
Product: LibreOffice
It seems that large chunks of code are cut/pasted between a number of modules
in writer:
source/ui/shells/annotsh.cxx: case FN_WORDCOUNT_DIALOG:
source/ui/shells/annotsh.cxx:
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
source/ui/shells/drawsh.cxx: case FN_WORDCOUNT_DIALOG:
source/ui/shells/drawsh.cxx:
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
source/ui/shells/drwtxtex.cxx: case FN_WORDCOUNT_DIALOG:
source/ui/shells/drwtxtex.cxx:
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
source/ui/shells/frmsh.cxx: case FN_WORDCOUNT_DIALOG:
source/ui/shells/frmsh.cxx:
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
source/ui/shells/textsh.cxx:
SFX_CHILDWINDOW_REGISTRATION(FN_WORDCOUNT_DIALOG);
source/ui/shells/textsh1.cxx: case FN_WORDCOUNT_DIALOG:
source/ui/shells/textsh1.cxx:
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
if would be excellent to find a common place for that code to go, and to factor
it out into a single shared module.
At least - it seems so to me :-)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs