diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-25 10:52:10 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-25 14:12:57 +0200 |
commit | 66cd9eeb90869b88ab883eab367a39041f21aef0 (patch) | |
tree | 5626a9f3422d5bd36d026ab0570228e57c94e01e /sw/source | |
parent | ee60fab03b743a151508608265abe45e5a731e97 (diff) |
Remove various commented out defines
Most of them in hrc files.
Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/chrdlg/paradlg.src | 1 | ||||
-rw-r--r-- | sw/source/ui/chrdlg/swbreak.src | 1 | ||||
-rw-r--r-- | sw/source/ui/config/optdlg.hrc | 4 | ||||
-rw-r--r-- | sw/source/ui/dialog/docstdlg.src | 1 | ||||
-rw-r--r-- | sw/source/ui/dochdl/selglos.src | 1 | ||||
-rw-r--r-- | sw/source/ui/envelp/label.hrc | 2 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/column.src | 1 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.hrc | 2 | ||||
-rw-r--r-- | sw/source/ui/inc/table.hrc | 1 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.hrc | 3 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.src | 1 | ||||
-rw-r--r-- | sw/source/ui/misc/insfnote.src | 1 | ||||
-rw-r--r-- | sw/source/ui/table/colwd.src | 1 | ||||
-rw-r--r-- | sw/source/ui/table/instable.src | 1 | ||||
-rw-r--r-- | sw/source/ui/table/tautofmt.hrc | 1 | ||||
-rw-r--r-- | sw/source/ui/uiview/view.hrc | 1 | ||||
-rw-r--r-- | sw/source/ui/uiview/viewport.cxx | 1 |
17 files changed, 0 insertions, 24 deletions
diff --git a/sw/source/ui/chrdlg/paradlg.src b/sw/source/ui/chrdlg/paradlg.src index 8194ebbb799e..fe48d495ce95 100644 --- a/sw/source/ui/chrdlg/paradlg.src +++ b/sw/source/ui/chrdlg/paradlg.src @@ -29,7 +29,6 @@ #include "chrdlg.hrc" #include "paradlg.hrc" #define HelpText "error - hier keine HelpTexte HelpText" - // #define DLG_PARA 256 TabDialog DLG_PARA { OutputSize = TRUE ; diff --git a/sw/source/ui/chrdlg/swbreak.src b/sw/source/ui/chrdlg/swbreak.src index c75e7d67ddf6..65e5a76b1038 100644 --- a/sw/source/ui/chrdlg/swbreak.src +++ b/sw/source/ui/chrdlg/swbreak.src @@ -29,7 +29,6 @@ #include "break.hrc" #include "cmdid.h" #include "helpid.h" - // #define DLG_BREAK 256 ModalDialog DLG_BREAK { HelpID = CMD_FN_INSERT_BREAK_DLG ; diff --git a/sw/source/ui/config/optdlg.hrc b/sw/source/ui/config/optdlg.hrc index d84de6490b92..76d6a7f86830 100644 --- a/sw/source/ui/config/optdlg.hrc +++ b/sw/source/ui/config/optdlg.hrc @@ -65,13 +65,9 @@ #define CB_CHAR_HIDDEN 61 // Print-Extra-Page #define CB_PGRF 61 -//#define CB_PTAB 62 merged with CB_PGRF in printerpullpages -//#define CB_PDRAW 63 removed in printerpullpages #define CB_LEFTP 64 #define CB_RIGHTP 65 -//#define CB_REVERSE 66 removed in printerpullpages #define CB_PROSPECT 67 -//#define CB_SINGLEJOBS 68 removed in printerpullpages #define CB_CTRLFLD 69 #define CB_PAPERFROMSETUP 70 #define FL_1 71 diff --git a/sw/source/ui/dialog/docstdlg.src b/sw/source/ui/dialog/docstdlg.src index 3d67571c20fb..f4337d53293d 100644 --- a/sw/source/ui/dialog/docstdlg.src +++ b/sw/source/ui/dialog/docstdlg.src @@ -28,7 +28,6 @@ #include "globals.hrc" #include "docstdlg.hrc" #include "helpid.h" - // #define TP_DOC_STAT 256 TabPage TP_DOC_STAT { HelpID = HID_DOC_STAT ; diff --git a/sw/source/ui/dochdl/selglos.src b/sw/source/ui/dochdl/selglos.src index 960c7855d41c..006ae9c7efa3 100644 --- a/sw/source/ui/dochdl/selglos.src +++ b/sw/source/ui/dochdl/selglos.src @@ -30,7 +30,6 @@ #include "cmdid.h" #include "helpid.h" - // #define DLG_SEL_GLOS 256 ModalDialog DLG_SEL_GLOS { HelpID = CMD_FN_EXPAND_GLOSSARY ; diff --git a/sw/source/ui/envelp/label.hrc b/sw/source/ui/envelp/label.hrc index 4a6aefb5f339..35abbfced4ac 100644 --- a/sw/source/ui/envelp/label.hrc +++ b/sw/source/ui/envelp/label.hrc @@ -95,8 +95,6 @@ #define ED_SHORTCUT_2 68 #define FT_PHONE_MOBILE 70 -//#define FT_PHONE 71 -//#define FT_MOBILE 72 #define FT_FAX 73 // global resources ******************************************************** diff --git a/sw/source/ui/frmdlg/column.src b/sw/source/ui/frmdlg/column.src index 3d42fcf57a94..93ed085136b7 100644 --- a/sw/source/ui/frmdlg/column.src +++ b/sw/source/ui/frmdlg/column.src @@ -32,7 +32,6 @@ #include "helpid.h" #include "access.hrc" - // #define TP_COLUMN 256 TabPage TP_COLUMN { HelpID = HID_COLUMN ; diff --git a/sw/source/ui/frmdlg/frmpage.hrc b/sw/source/ui/frmdlg/frmpage.hrc index b90367c2bc98..f880861617b9 100644 --- a/sw/source/ui/frmdlg/frmpage.hrc +++ b/sw/source/ui/frmdlg/frmpage.hrc @@ -82,8 +82,6 @@ #define CB_HOR 46 #define CB_VERT 47 -//#define LB_MIRROR_PAGES 49 -//#define FT_MIRROR_PAGES 50 #define FL_MIRROR 51 #define WN_BMP 52 #define PB_BROWSE 53 diff --git a/sw/source/ui/inc/table.hrc b/sw/source/ui/inc/table.hrc index dfde64c43061..cd6373b32c9e 100644 --- a/sw/source/ui/inc/table.hrc +++ b/sw/source/ui/inc/table.hrc @@ -21,7 +21,6 @@ #define DLG_INSERT_TABLE RC_TABLE_BEGIN #define DLG_FORMAT_TABLE (RC_TABLE_BEGIN + 1) #define DLG_CONV_TEXT_TABLE (RC_TABLE_BEGIN + 2) -//#define DLG_INS_ROW_COL (RC_TABLE_BEGIN + 3) moved to svx #define DLG_ROW_HEIGHT (RC_TABLE_BEGIN + 4) #define DLG_SPLIT (RC_TABLE_BEGIN + 5) #define DLG_COL_WIDTH (RC_TABLE_BEGIN + 6) diff --git a/sw/source/ui/misc/glossary.hrc b/sw/source/ui/misc/glossary.hrc index 99c40ba3705d..9034e2304ded 100644 --- a/sw/source/ui/misc/glossary.hrc +++ b/sw/source/ui/misc/glossary.hrc @@ -21,12 +21,9 @@ #define FT_SHORTNAME 1 #define ED_SHORTNAME 2 #define FT_NAME 3 -//#define DCB_NAME 4 #define ED_NAME 4 #define CB_INSERT_TIP 5 -//#define FT_BIB 10 - #define PB_INSERT 50 #define PB_EDIT 52 #define PB_BIB 54 diff --git a/sw/source/ui/misc/glossary.src b/sw/source/ui/misc/glossary.src index 4e2db6dcfe49..3c864d254e4e 100644 --- a/sw/source/ui/misc/glossary.src +++ b/sw/source/ui/misc/glossary.src @@ -31,7 +31,6 @@ #include "helpid.h" #include "access.hrc" - // #define DLG_GLOSSARY 256 ModalDialog DLG_GLOSSARY { HelpID = CMD_FN_GLOSSARY_DLG ; diff --git a/sw/source/ui/misc/insfnote.src b/sw/source/ui/misc/insfnote.src index a37f03817374..212038a7ca0b 100644 --- a/sw/source/ui/misc/insfnote.src +++ b/sw/source/ui/misc/insfnote.src @@ -28,7 +28,6 @@ #include "misc.hrc" #include "insfnote.hrc" #include "helpid.h" - // #define DLG_INS_FOOTNOTE 257 ModalDialog DLG_INS_FOOTNOTE { HelpID = "sw:ModalDialog:DLG_INS_FOOTNOTE"; diff --git a/sw/source/ui/table/colwd.src b/sw/source/ui/table/colwd.src index 8be269672c5a..e26dfdea4a95 100644 --- a/sw/source/ui/table/colwd.src +++ b/sw/source/ui/table/colwd.src @@ -20,7 +20,6 @@ #include "colwd.hrc" #include "cmdid.h" #include "helpid.h" - // #define DLG_COL_WIDTH 256 ModalDialog DLG_COL_WIDTH { HelpID = CMD_FN_TABLE_SET_COL_WIDTH ; diff --git a/sw/source/ui/table/instable.src b/sw/source/ui/table/instable.src index 1b4fd16bcf59..8c10468e64e3 100644 --- a/sw/source/ui/table/instable.src +++ b/sw/source/ui/table/instable.src @@ -20,7 +20,6 @@ #include "instable.hrc" #include "cmdid.h" #include "helpid.h" - // #define DLG_INSERT_TABLE 256 ModalDialog DLG_INSERT_TABLE { HelpID = CMD_FN_INSERT_TABLE ; diff --git a/sw/source/ui/table/tautofmt.hrc b/sw/source/ui/table/tautofmt.hrc index 3b864a32f229..082283bea512 100644 --- a/sw/source/ui/table/tautofmt.hrc +++ b/sw/source/ui/table/tautofmt.hrc @@ -41,7 +41,6 @@ #define BTN_FONT 23 #define BTN_PATTERN 24 #define BTN_ALIGNMENT 25 -//#define BTN_ADJUST 26 #define STR_ADD_TITLE 100 #define STR_ADD_LABEL 101 #define STR_DEL_TITLE 102 diff --git a/sw/source/ui/uiview/view.hrc b/sw/source/ui/uiview/view.hrc index 84ae23d08042..428d51d81b63 100644 --- a/sw/source/ui/uiview/view.hrc +++ b/sw/source/ui/uiview/view.hrc @@ -34,7 +34,6 @@ #define STR_EDIT_FOOTNOTE (RC_VIEW_BEGIN + 14) -//#define RID_PVIEW_TOOLBOX (RC_VIEW_BEGIN + 15) #define MSG_NOT_FOUND (RC_VIEW_BEGIN + 16) #define MSG_SEARCH_START (RC_VIEW_BEGIN + 17) #define MSG_SEARCH_END (RC_VIEW_BEGIN + 18) diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx index 5505c5ff832c..ed2cfc559910 100644 --- a/sw/source/ui/uiview/viewport.cxx +++ b/sw/source/ui/uiview/viewport.cxx @@ -313,7 +313,6 @@ void SwView::SetVisArea( const Point &rPt, sal_Bool bUpdateScrollbar ) //passgenau ist, kann nicht aligned werden (bessere Idee?!?!) //MA 29. Oct. 96 (fix: Bild.de, 200%) ganz ohne Alignment geht es nicht //mal sehen wie weit wir mit der halben BrushSize kommen. - //TODO: why BRUSH_SIZE? Point aPt( rPt ); // const long nTmp = GetWrtShell().IsFrameView() ? BRUSH_SIZE/2 : BRUSH_SIZE; const long nTmp = GetWrtShell().IsFrameView() ? 4 : 8; |