diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-22 15:58:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-22 16:56:28 +0300 |
commit | a7724966ab4fc8cd680a20e4f2a65f276e001a39 (patch) | |
tree | 5aeb953a7172ea061c7884be8c19849b9e2d81d8 /cui | |
parent | 1cbe2313edda8a04f0fe233b4a29ef4e2485f557 (diff) |
Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
Diffstat (limited to 'cui')
25 files changed, 34 insertions, 34 deletions
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 <svx/svxids.hrc> // SID_CHARMAP, SID_ATTR_SPECIALCHAR +#include <svx/svxids.hrc> //----------------------------------------------- // 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 <cuires.hrc> #include "headertablistbox.hxx" #include "macropg_impl.hxx" -#include <svx/dialogs.hrc> // RID_SVXPAGE_MACROASSIGN +#include <svx/dialogs.hrc> #include <comphelper/namedvaluecollection.hxx> #include <algorithm> 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 <vcl/vclmedit.hxx> #include "selector.hxx" #include <dialmgr.hxx> -#include <svx/fmresids.hrc> // for RID_SVXIMG_... -#include <svx/dialmgr.hxx> // for RID_SVXIMG_... +#include <svx/fmresids.hrc> +#include <svx/dialmgr.hxx> #include <cuires.hrc> #include <sfx2/app.hxx> #include <sfx2/msg.hxx> 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 <cuires.hrc> -#include <svx/dialogs.hrc> // RID_SVX_GRFFILTER_DLG_... +#include <svx/dialogs.hrc> // -------------------------------------- // - 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 <svx/svxids.hrc> // SID_READONLY_MODE +#include <svx/svxids.hrc> 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 <unotools/useroptions.hxx> #include <unotools/localedatawrapper.hxx> #include <comphelper/processfactory.hxx> -#include <svx/svxids.hrc> // SID_ATTR_... +#include <svx/svxids.hrc> #include <cuires.hrc> #include <svx/postattr.hxx> 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 <svx/dialogs.hrc> // RID_SVXPAGE_... +#include <svx/dialogs.hrc> 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 <sfx2/objsh.hxx> #include <cuires.hrc> #include "srchxtra.hrc" -#include <svx/svxitems.hrc> // RID_ATTR_BEGIN -#include <svx/dialmgr.hxx> // item resources +#include <svx/svxitems.hrc> +#include <svx/dialmgr.hxx> #include <editeng/flstitem.hxx> #include "chardlg.hxx" #include "paragrph.hxx" #include <dialmgr.hxx> #include "backgrnd.hxx" -#include <svx/dialogs.hrc> // RID_SVXPAGE_... +#include <svx/dialogs.hrc> #include <tools/resary.hxx> #include <rtl/strbuf.hxx> #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 <vcl/button.hxx> #include <vcl/fixed.hxx> #include <vcl/vclmedit.hxx> -#include <sfx2/basedlgs.hxx> ///< for SfxModalDialog +#include <sfx2/basedlgs.hxx> #include <vector> // 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 <vcl/button.hxx> #include <vcl/dialog.hxx> #include <vcl/fixed.hxx> -#include <vcl/vclmedit.hxx> // #i68101# +#include <vcl/vclmedit.hxx> /// 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 <svtools/valueset.hxx> #include <vector> -#include <memory> // for auto_ptr +#include <memory> 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 <vcl/field.hxx> #include <vcl/edit.hxx> #include <vcl/lstbox.hxx> -#include <svtools/svmedit.hxx> // MultiLineEdit +#include <svtools/svmedit.hxx> #include <comphelper/embeddedobjectcontainer.hxx> 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 <vcl/edit.hxx> #include <vcl/lstbox.hxx> -#include <svtools/svmedit.hxx> // MultiLineEdit -#include <svtools/svtabbx.hxx> // MultiLineEdit +#include <svtools/svmedit.hxx> +#include <svtools/svtabbx.hxx> /********************** 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 <vcl/button.hxx> #include <vcl/fixed.hxx> #include <sfx2/tabdlg.hxx> -#include <svx/relfld.hxx> // SvxRelativeField -#include <svx/paraprev.hxx> // Preview +#include <svx/relfld.hxx> +#include <svx/paraprev.hxx> #include <svx/frmdirlbox.hxx> #include <vcl/lstbox.hxx> #include <svx/flagsdef.hxx> 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 <com/sun/star/uno/Sequence.hxx> -#include <tools/stream.hxx> // header for SvStream +#include <tools/stream.hxx> #include "cfgchart.hxx" #include <dialmgr.hxx> #include <cuires.hrc> 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 <dialmgr.hxx> #include <vcl/msgbox.hxx> -#include <svx/svxids.hrc> // for SID_SCH_EDITOPTIONS +#include <svx/svxids.hrc> 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 <dialmgr.hxx> #include <svx/dlgutil.hxx> -#include <svx/svxids.hrc> // SID_FIELD_GRABFOCUS +#include <svx/svxids.hrc> #include <boost/ref.hpp> #include <boost/make_shared.hpp> 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 <svx/ofaitem.hxx> #include <sfx2/htmlmode.hxx> -#include <svx/svxids.hrc> // slot ids, mostly for changetracking +#include <svx/svxids.hrc> // for security TP #include <com/sun/star/security/DocumentDigitalSignatures.hpp> 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 <editeng/unolingu.hxx> #include <dialmgr.hxx> -#include <svx/svxids.hrc> // SID_OPEN_SMARTTAGSOPTIONS +#include <svx/svxids.hrc> 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 <cuires.hrc> #include "helpid.hrc" -#include <svx/svxids.hrc> // SID_AUTOFORMAT +#include <svx/svxids.hrc> /**************************************************************************/ /* */ 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 <svx/xtable.hxx> // XColorList +#include <svx/xtable.hxx> #include <svx/drawitem.hxx> #include <editeng/boxitem.hxx> #include <editeng/shaditem.hxx> 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 <svx/dialogs.hrc> #include <svtools/unitconv.hxx> #include <svl/languageoptions.hxx> -#include <svx/xtable.hxx> // XColorList +#include <svx/xtable.hxx> #include "chardlg.hxx" #include "editeng/fontitem.hxx" #include <editeng/postitem.hxx> 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 <grfpage.hrc> #include <rtl/ustring.hxx> #include <cuires.hrc> -#include <svx/dialogs.hrc> // for RID_SVXPAGE_GRFCROP +#include <svx/dialogs.hrc> #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 <dialmgr.hxx> #include <sfx2/module.hxx> #include <svl/stritem.hxx> -#include <svx/dialogs.hrc> // for RID_SVXPAGE_PAGE +#include <svx/dialogs.hrc> #include <editeng/eerdll.hxx> -#include <editeng/editrids.hrc> // for RID_SVXSTR_PAPERBIN..., +#include <editeng/editrids.hrc> #include <svx/svxids.hrc> // #i4219# @@ -57,7 +57,7 @@ #include <svl/aeitem.hxx> #include <sfx2/request.hxx> -#include <numpages.hxx> // for GetI18nNumbering() +#include <numpages.hxx> // static ---------------------------------------------------------------- |