From a7724966ab4fc8cd680a20e4f2a65f276e001a39 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 22 Oct 2013 15:58:57 +0300 Subject: Bin comments that claim to say why some header is included They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c --- cui/source/customize/acccfg.cxx | 2 +- cui/source/customize/macropg.cxx | 2 +- cui/source/customize/selector.cxx | 4 ++-- cui/source/dialogs/cuigrfflt.cxx | 2 +- cui/source/dialogs/cuihyperdlg.cxx | 2 +- cui/source/dialogs/postdlg.cxx | 2 +- cui/source/dialogs/sdrcelldlg.cxx | 2 +- cui/source/dialogs/srchxtra.cxx | 6 +++--- cui/source/factory/dlgfact.cxx | 6 +++--- cui/source/inc/about.hxx | 2 +- cui/source/inc/dlgname.hxx | 2 +- cui/source/inc/hangulhanjadlg.hxx | 2 +- cui/source/inc/insdlg.hxx | 2 +- cui/source/inc/linkdlg.hxx | 4 ++-- cui/source/inc/paragrph.hxx | 4 ++-- cui/source/options/cfgchart.cxx | 2 +- cui/source/options/optchart.cxx | 2 +- cui/source/options/optgenrl.cxx | 2 +- cui/source/options/optinet2.cxx | 2 +- cui/source/tabpages/autocdlg.cxx | 2 +- cui/source/tabpages/autocdlg.src | 2 +- cui/source/tabpages/border.cxx | 2 +- cui/source/tabpages/chardlg.cxx | 2 +- cui/source/tabpages/grfpage.cxx | 2 +- cui/source/tabpages/page.cxx | 6 +++--- 25 files changed, 34 insertions(+), 34 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 1a92832b26b1..b0755361a2d2 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -37,7 +37,7 @@ #include "cuires.hrc" #include "acccfg.hrc" -#include // SID_CHARMAP, SID_ATTR_SPECIALCHAR +#include //----------------------------------------------- // include interface declarations diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index 38b393120e6c..e0ca7ef4c89d 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -39,7 +39,7 @@ #include #include "headertablistbox.hxx" #include "macropg_impl.hxx" -#include // RID_SVXPAGE_MACROASSIGN +#include #include #include diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 61e87d3351b0..ea8f32c666d9 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -23,8 +23,8 @@ #include #include "selector.hxx" #include -#include // for RID_SVXIMG_... -#include // for RID_SVXIMG_... +#include +#include #include #include #include diff --git a/cui/source/dialogs/cuigrfflt.cxx b/cui/source/dialogs/cuigrfflt.cxx index e027b7480037..4d34a685a7a3 100644 --- a/cui/source/dialogs/cuigrfflt.cxx +++ b/cui/source/dialogs/cuigrfflt.cxx @@ -27,7 +27,7 @@ #include "cuigrfflt.hxx" #include "grfflt.hrc" #include -#include // RID_SVX_GRFFILTER_DLG_... +#include // -------------------------------------- // - GraphicFilterDialog::PreviewWindow - diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index 444f5291e98c..d82418ae8ff4 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -25,7 +25,7 @@ #include "hldoctp.hxx" #include "hldocntp.hxx" #include "hyperdlg.hrc" -#include // SID_READONLY_MODE +#include using ::com::sun::star::uno::Reference; using ::com::sun::star::frame::XFrame; diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx index ca8aa20f925a..9f3ea3e06f75 100644 --- a/cui/source/dialogs/postdlg.cxx +++ b/cui/source/dialogs/postdlg.cxx @@ -27,7 +27,7 @@ #include #include #include -#include // SID_ATTR_... +#include #include #include diff --git a/cui/source/dialogs/sdrcelldlg.cxx b/cui/source/dialogs/sdrcelldlg.cxx index 43d6360a63c0..2a2a982d6c47 100644 --- a/cui/source/dialogs/sdrcelldlg.cxx +++ b/cui/source/dialogs/sdrcelldlg.cxx @@ -25,7 +25,7 @@ #include "cuitabarea.hxx" #include "svx/svdmodel.hxx" #include "border.hxx" -#include // RID_SVXPAGE_... +#include SvxFormatCellsDialog::SvxFormatCellsDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel ) : SfxTabDialog ( pParent, CUI_RES( RID_SVX_FORMAT_CELLS_DLG ), pAttr ) diff --git a/cui/source/dialogs/srchxtra.cxx b/cui/source/dialogs/srchxtra.cxx index bbe94bc85f6d..87857a97287a 100644 --- a/cui/source/dialogs/srchxtra.cxx +++ b/cui/source/dialogs/srchxtra.cxx @@ -25,14 +25,14 @@ #include #include #include "srchxtra.hrc" -#include // RID_ATTR_BEGIN -#include // item resources +#include +#include #include #include "chardlg.hxx" #include "paragrph.hxx" #include #include "backgrnd.hxx" -#include // RID_SVXPAGE_... +#include #include #include #include "svtools/treelistentry.hxx" diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 480789745fae..8193a1c9231c 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -77,9 +77,9 @@ #include "page.hxx" #include "postdlg.hxx" #include "grfpage.hxx" -#include "scriptdlg.hxx" // for ScriptOrgDialog -#include "selector.hxx" // for SvxScriptSelectorDialog -#include "macropg.hxx" // for SvxMacroAssignDlg +#include "scriptdlg.hxx" +#include "selector.hxx" +#include "macropg.hxx" #include "sdrcelldlg.hxx" #include "newtabledlg.hxx" #include "macroass.hxx" diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx index 2263eb2539d7..5588138a70d5 100644 --- a/cui/source/inc/about.hxx +++ b/cui/source/inc/about.hxx @@ -23,7 +23,7 @@ #include #include #include -#include ///< for SfxModalDialog +#include #include // class AboutDialog ----------------------------------------------------- diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index caf6e6605c24..2e9eee0f29e9 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -24,7 +24,7 @@ #include #include #include -#include // #i68101# +#include /// Dialog for editing a name class SvxNameDialog : public ModalDialog diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx index 9c1382b35d59..2924abbcc78d 100644 --- a/cui/source/inc/hangulhanjadlg.hxx +++ b/cui/source/inc/hangulhanjadlg.hxx @@ -33,7 +33,7 @@ #include #include -#include // for auto_ptr +#include class SvxCommonLinguisticControl; //............................................................................. diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index db70d5ccd2d1..e0667ef0a06b 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -30,7 +30,7 @@ #include #include #include -#include // MultiLineEdit +#include #include class VclFrame; diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx index 78bdeb09e69d..c59d0784d920 100644 --- a/cui/source/inc/linkdlg.hxx +++ b/cui/source/inc/linkdlg.hxx @@ -26,8 +26,8 @@ #include #include -#include // MultiLineEdit -#include // MultiLineEdit +#include +#include /********************** SvUpdateLinksDialog ****************************** *************************************************************************/ diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index 1fda0cf9d649..e468684772ea 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -22,8 +22,8 @@ #include #include #include -#include // SvxRelativeField -#include // Preview +#include +#include #include #include #include diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx index 182c0f10488e..ec3acc9cf66d 100644 --- a/cui/source/options/cfgchart.cxx +++ b/cui/source/options/cfgchart.cxx @@ -18,7 +18,7 @@ */ #include -#include // header for SvStream +#include #include "cfgchart.hxx" #include #include diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 5f70a123ebba..35f2e267ab09 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -22,7 +22,7 @@ #include "optchart.hxx" #include #include -#include // for SID_SCH_EDITOPTIONS +#include namespace { diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx index 5dacdf68a79e..4f99dba4e580 100644 --- a/cui/source/options/optgenrl.cxx +++ b/cui/source/options/optgenrl.cxx @@ -31,7 +31,7 @@ #include "cuioptgenrl.hxx" #include #include -#include // SID_FIELD_GRABFOCUS +#include #include #include diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 1a896f7a146f..249fece993b8 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -50,7 +50,7 @@ #include "helpid.hrc" #include #include -#include // slot ids, mostly for changetracking +#include // for security TP #include diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 04a314ba5b2b..fc18ea79d4b3 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -51,7 +51,7 @@ #include "cuicharmap.hxx" #include #include -#include // SID_OPEN_SMARTTAGSOPTIONS +#include static LanguageType eLastDialogLanguage = LANGUAGE_SYSTEM; diff --git a/cui/source/tabpages/autocdlg.src b/cui/source/tabpages/autocdlg.src index 8d5d6349aec9..a8b2e0e7aae6 100644 --- a/cui/source/tabpages/autocdlg.src +++ b/cui/source/tabpages/autocdlg.src @@ -20,7 +20,7 @@ #include "autocdlg.hrc" #include #include "helpid.hrc" -#include // SID_AUTOFORMAT +#include /**************************************************************************/ /* */ diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index 7c2251703c12..6713ee885ac6 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -27,7 +27,7 @@ #include "border.hrc" #include "helpid.hrc" -#include // XColorList +#include #include #include #include diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index f7e3f0a3cbd5..3e6807c22070 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -31,7 +31,7 @@ #include #include #include -#include // XColorList +#include #include "chardlg.hxx" #include "editeng/fontitem.hxx" #include diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index be95f47f6f45..1a41bde3560f 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -31,7 +31,7 @@ #include #include #include -#include // for RID_SVXPAGE_GRFCROP +#include #define CM_1_TO_TWIP 567 #define TWIP_TO_INCH 1440 diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 18b8e5e1ca09..016e40bf6640 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -46,9 +46,9 @@ #include #include #include -#include // for RID_SVXPAGE_PAGE +#include #include -#include // for RID_SVXSTR_PAPERBIN..., +#include #include // #i4219# @@ -57,7 +57,7 @@ #include #include -#include // for GetI18nNumbering() +#include // static ---------------------------------------------------------------- -- cgit