From f64dc2c9fbc81d68315ee3a2dbc69411b9087ddb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 12 Sep 2011 21:53:16 +0100 Subject: I believe the src charset pragma is archaic and unused --- cui/source/dialogs/SpellDialog.src | 3 +-- cui/source/dialogs/cuiimapdlg.src | 3 +-- cui/source/options/fontsubs.src | 7 ------- cui/source/options/optcolor.src | 3 +-- cui/source/options/optdict.src | 3 +-- cui/source/options/optfltr.src | 3 +-- cui/source/options/optinet2.src | 3 +-- cui/source/tabpages/autocdlg.src | 3 +-- cui/source/tabpages/backgrnd.src | 4 +--- cui/source/tabpages/connect.src | 2 -- cui/source/tabpages/measure.src | 3 +-- cui/source/tabpages/textanim.src | 1 - editeng/source/items/svxitems.src | 3 +-- editeng/source/misc/lingu.src | 3 +-- l10ntools/source/export.cxx | 23 +++-------------------- sc/source/ui/formdlg/dwfunctr.src | 4 +--- sfx2/source/dialog/mgetempl.src | 3 +-- sfx2/source/doc/docvor.src | 3 +-- sfx2/source/doc/new.src | 4 +--- svtools/source/misc/ehdl.src | 2 -- svx/source/dialog/fontwork.src | 3 +-- svx/source/dialog/hdft.src | 3 +-- svx/source/dialog/imapdlg.src | 3 +-- svx/source/dialog/language.src | 2 -- svx/source/dialog/optgrid.src | 3 +-- svx/source/dialog/passwd.src | 3 +-- svx/source/dialog/sdstring.src | 3 +-- svx/source/engine3d/string3d.src | 3 +-- svx/source/items/svxerr.src | 4 +--- svx/source/src/errtxt.src | 1 - svx/source/stbctrls/stbctrls.src | 3 +-- svx/source/tbxctrls/colrctrl.src | 1 - svx/source/tbxctrls/tbcontrl.src | 3 +-- sw/source/ui/chrdlg/ccoll.src | 1 - sw/source/ui/chrdlg/numpara.src | 1 - sw/source/ui/dbui/dbui.src | 1 - sw/source/ui/envelp/envelp.src | 1 - sw/source/ui/envelp/envfmt.src | 1 - sw/source/ui/envelp/envlop.src | 1 - sw/source/ui/envelp/envprt.src | 1 - sw/source/ui/envelp/label.src | 1 - sw/source/ui/envelp/labfmt.src | 1 - sw/source/ui/envelp/labprt.src | 1 - sw/source/ui/fldui/javaedit.src | 3 +-- sw/source/ui/frmdlg/cption.src | 1 - 45 files changed, 29 insertions(+), 103 deletions(-) diff --git a/cui/source/dialogs/SpellDialog.src b/cui/source/dialogs/SpellDialog.src index 663b156b467a..88da8b74e7b7 100644 --- a/cui/source/dialogs/SpellDialog.src +++ b/cui/source/dialogs/SpellDialog.src @@ -24,11 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include "SpellDialog.hrc" - // pragma ---------------------------------------------------------------- // RID_SVXDLG_SPELLCHECK ------------------------------------------------- diff --git a/cui/source/dialogs/cuiimapdlg.src b/cui/source/dialogs/cuiimapdlg.src index 05475f880a3c..de2e02023e9c 100644 --- a/cui/source/dialogs/cuiimapdlg.src +++ b/cui/source/dialogs/cuiimapdlg.src @@ -24,10 +24,9 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include "helpid.hrc" #include "cuiimapdlg.hrc" - // pragma ---------------------------------------------------------------- ModalDialog RID_SVXDLG_IMAPURL { diff --git a/cui/source/options/fontsubs.src b/cui/source/options/fontsubs.src index c0fdfff13bab..5938efe4be11 100644 --- a/cui/source/options/fontsubs.src +++ b/cui/source/options/fontsubs.src @@ -25,16 +25,9 @@ * ************************************************************************/ - // include ------------------------------------------------------------------ - #include "fontsubs.hrc" #include "helpid.hrc" - // pragma ------------------------------------------------------------------- - - - - /**************************************************************************/ TabPage RID_SVX_FONT_SUBSTITUTION diff --git a/cui/source/options/optcolor.src b/cui/source/options/optcolor.src index e058e27cd60b..4313415280b9 100644 --- a/cui/source/options/optcolor.src +++ b/cui/source/options/optcolor.src @@ -24,12 +24,11 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include #include "optcolor.hrc" - // pragma ---------------------------------------------------------------- TabPage RID_SVXPAGE_COLORCONFIG { diff --git a/cui/source/options/optdict.src b/cui/source/options/optdict.src index c31c95060a13..31a8f9a930a7 100644 --- a/cui/source/options/optdict.src +++ b/cui/source/options/optdict.src @@ -24,12 +24,11 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include #include "optdict.hrc" - // pragma ---------------------------------------------------------------- // RID_SFXDLG_NEWDICT ---------------------------------------------------- ModalDialog RID_SFXDLG_NEWDICT diff --git a/cui/source/options/optfltr.src b/cui/source/options/optfltr.src index b43d034174e2..60c40306b48c 100644 --- a/cui/source/options/optfltr.src +++ b/cui/source/options/optfltr.src @@ -24,10 +24,9 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include ----------------------------------------------------------------- + #include "optfltr.hrc" #include - // pragma ------------------------------------------------------------------ // RID_OFAPAGE_MSFILTEROPT ----------------------------------------------------- TabPage RID_OFAPAGE_MSFILTEROPT diff --git a/cui/source/options/optinet2.src b/cui/source/options/optinet2.src index 64a3662a5087..34789e70aa2a 100644 --- a/cui/source/options/optinet2.src +++ b/cui/source/options/optinet2.src @@ -24,12 +24,11 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include ------------------------------------------------------------------ + #include #include "helpid.hrc" #include #include "optinet2.hrc" - // pragma ------------------------------------------------------------------- /************************************************************************/ /* */ diff --git a/cui/source/tabpages/autocdlg.src b/cui/source/tabpages/autocdlg.src index d252bdff156f..f90ca91f4df2 100644 --- a/cui/source/tabpages/autocdlg.src +++ b/cui/source/tabpages/autocdlg.src @@ -24,13 +24,12 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include ------------------------------------------------------------------ + #include "autocdlg.hrc" #include #include "helpid.hrc" #include // SID_AUTOFORMAT - // pragma ------------------------------------------------------------------- /**************************************************************************/ /* */ /* TabDialog RID_OFA_AUTOCORR_DLG */ diff --git a/cui/source/tabpages/backgrnd.src b/cui/source/tabpages/backgrnd.src index bbf7970fbb65..98de17504bbf 100644 --- a/cui/source/tabpages/backgrnd.src +++ b/cui/source/tabpages/backgrnd.src @@ -24,7 +24,7 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include @@ -35,8 +35,6 @@ #define UNLINKED_IMAGE \ Text [ en-US ] = "Unlinked graphic" ; \ - // pragma ---------------------------------------------------------------- - // RID_SVXPAGE_BACKGROUND ------------------------------------------------ TabPage RID_SVXPAGE_BACKGROUND { diff --git a/cui/source/tabpages/connect.src b/cui/source/tabpages/connect.src index d2fe0796bb26..1414cf0ccb97 100644 --- a/cui/source/tabpages/connect.src +++ b/cui/source/tabpages/connect.src @@ -24,9 +24,7 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // pragma ---------------------------------------------------------------- - // include --------------------------------------------------------------- #include #include "connect.hrc" #include diff --git a/cui/source/tabpages/measure.src b/cui/source/tabpages/measure.src index f01c2765ce0e..624cf3e8fd85 100644 --- a/cui/source/tabpages/measure.src +++ b/cui/source/tabpages/measure.src @@ -24,14 +24,13 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "measure.hrc" #include "helpid.hrc" #include #define DELTA 20 - // pragma ---------------------------------------------------------------- // RID_SVXPAGE_MEASURE --------------------------------------------------- TabPage RID_SVXPAGE_MEASURE diff --git a/cui/source/tabpages/textanim.src b/cui/source/tabpages/textanim.src index 4f2ffda07519..f015028def5d 100644 --- a/cui/source/tabpages/textanim.src +++ b/cui/source/tabpages/textanim.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // pragma ---------------------------------------------------------------- #include #include diff --git a/editeng/source/items/svxitems.src b/editeng/source/items/svxitems.src index a661aab97ac0..222fc2c20691 100644 --- a/editeng/source/items/svxitems.src +++ b/editeng/source/items/svxitems.src @@ -24,9 +24,8 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include ------------------------------------------------------------------ + #include - // pragma ------------------------------------------------------------------- // Value strings ------------------------------------------------------------ String RID_SVXITEMS_TRUE diff --git a/editeng/source/misc/lingu.src b/editeng/source/misc/lingu.src index fa3ef76f99fa..0c98bdac58b3 100644 --- a/editeng/source/misc/lingu.src +++ b/editeng/source/misc/lingu.src @@ -24,9 +24,8 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include - // pragma ---------------------------------------------------------------- // QueryBoxen --------------------------------------------------------------- QueryBox RID_SVXQB_CONTINUE diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index e75550d7acf9..6df2b660e7f7 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -447,7 +447,7 @@ Export::Export( const ByteString &rOutput, sal_Bool bWrite, if ( bEnableExport ) { aOutput.Open( String( rOutput, RTL_TEXTENCODING_ASCII_US ), STREAM_STD_WRITE | STREAM_TRUNC ); if( !aOutput.IsOpen() ) { - printf("ERROR : Can't open file %s\n",rOutput.GetBuffer()); + fprintf(stderr, "ERROR : Can't open file %s\n",rOutput.GetBuffer()); exit ( -1 ); } aOutput.SetStreamCharSet( RTL_TEXTENCODING_UTF8 ); @@ -1111,25 +1111,8 @@ int Export::Execute( int nToken, const char * pToken ) break; case PRAGMA : { bDontWriteOutput = sal_False; - while( sToken.SearchAndReplace( "\t", " " ) != STRING_NOTFOUND ) {}; - while( sToken.SearchAndReplace( " ", " " ) != STRING_NOTFOUND ) {}; - sToken.EraseLeadingChars( ' ' ); - sToken.EraseTrailingChars( ' ' ); - - ByteString sCharset = getToken(sToken, 1, ' '); - ByteString sSet = getToken(sToken, 2, ' '); - if (( sCharset.ToUpperAscii() == "CHARSET_IBMPC" ) || - ( sCharset == "RTL_TEXTENCODING_IBM_850" ) || - (( sCharset == "CHARSET" ) && ( sSet.ToUpperAscii() == "IBMPC" ))) - { - aCharSet = RTL_TEXTENCODING_IBM_850; - } - else if (( sCharset == "CHARSET_ANSI" ) || - ( sCharset == "RTL_TEXTENCODING_MS_1252" ) || - (( sCharset == "CHARSET" ) && ( sSet.ToUpperAscii() == "ANSI" ))) - { - aCharSet = RTL_TEXTENCODING_MS_1252; - } + fprintf(stderr, "ERROR: archaic PRAGMA %s\n", sToken.GetBuffer()); + exit(-1); } break; case TEXTREFID : { diff --git a/sc/source/ui/formdlg/dwfunctr.src b/sc/source/ui/formdlg/dwfunctr.src index dc50a2b41486..30d5fa7de7ff 100644 --- a/sc/source/ui/formdlg/dwfunctr.src +++ b/sc/source/ui/formdlg/dwfunctr.src @@ -24,12 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include "sc.hrc" #include "dwfunctr.hrc" - // pragma ---------------------------------------------------------------- - // RID_SVXDLG_CALCFUNC -------------------------------------------------- DockingWindow FID_FUNCTION_BOX { diff --git a/sfx2/source/dialog/mgetempl.src b/sfx2/source/dialog/mgetempl.src index 9d359813b82a..df024cab00e7 100644 --- a/sfx2/source/dialog/mgetempl.src +++ b/sfx2/source/dialog/mgetempl.src @@ -24,11 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include "mgetempl.hrc" - // pragma ---------------------------------------------------------------- // TP_MANAGE_STYLES ------------------------------------------------------ TabPage TP_MANAGE_STYLES diff --git a/sfx2/source/doc/docvor.src b/sfx2/source/doc/docvor.src index 595f349061a2..32518e7ae8a5 100644 --- a/sfx2/source/doc/docvor.src +++ b/sfx2/source/doc/docvor.src @@ -24,12 +24,11 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "doc.hrc" #include "docvor.hrc" #include "helpid.hrc" -// pragma ---------------------------------------------------------------- // DLG_ORGANIZE ---------------------------------------------------------- diff --git a/sfx2/source/doc/new.src b/sfx2/source/doc/new.src index 6737128cce43..a524a50bd089 100644 --- a/sfx2/source/doc/new.src +++ b/sfx2/source/doc/new.src @@ -24,14 +24,12 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "doc.hrc" #include "new.hrc" #include - // pragma ---------------------------------------------------------------- - // DLG_NEW_FILE ---------------------------------------------------------- ModalDialog DLG_NEW_FILE { diff --git a/svtools/source/misc/ehdl.src b/svtools/source/misc/ehdl.src index 2c2fab3e19b5..7fcbece59fc1 100644 --- a/svtools/source/misc/ehdl.src +++ b/svtools/source/misc/ehdl.src @@ -29,8 +29,6 @@ #include #include - // pragma ---------------------------------------------------------------- - String STR_ERR_HDLMESS { Text = "$(ACTION)$(ERROR)" ; diff --git a/svx/source/dialog/fontwork.src b/svx/source/dialog/fontwork.src index 960a3b176512..dc53478ed128 100644 --- a/svx/source/dialog/fontwork.src +++ b/svx/source/dialog/fontwork.src @@ -24,12 +24,11 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include #include "fontwork.hrc" #include "helpid.hrc" - // pragma ---------------------------------------------------------------- // RID_SVXDLG_FONTWORK --------------------------------------------------- DockingWindow RID_SVXDLG_FONTWORK diff --git a/svx/source/dialog/hdft.src b/svx/source/dialog/hdft.src index 1cd402611dc8..25278279e4ed 100644 --- a/svx/source/dialog/hdft.src +++ b/svx/source/dialog/hdft.src @@ -24,11 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include "helpid.hrc" #include #include "hdft.hrc" - // pragma ---------------------------------------------------------------- #define _TEXT_FT_LMARGIN \ Text [ en-US ] = "~Left margin" ; \ diff --git a/svx/source/dialog/imapdlg.src b/svx/source/dialog/imapdlg.src index 8ceebdefbb7d..ae06b0277dd1 100644 --- a/svx/source/dialog/imapdlg.src +++ b/svx/source/dialog/imapdlg.src @@ -24,10 +24,9 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include "helpid.hrc" #include "imapdlg.hrc" - // pragma ---------------------------------------------------------------- // RID_SVXDLG_IMAP ---------------------------------------------------- ModelessDialog RID_SVXDLG_IMAP diff --git a/svx/source/dialog/language.src b/svx/source/dialog/language.src index aa2bee89d742..552084841f21 100644 --- a/svx/source/dialog/language.src +++ b/svx/source/dialog/language.src @@ -25,9 +25,7 @@ * ************************************************************************/ - // include --------------------------------------------------------------- #include - // pragma ---------------------------------------------------------------- // Language-Strings ------------------------------------------------------ diff --git a/svx/source/dialog/optgrid.src b/svx/source/dialog/optgrid.src index 0d65c63f5d2f..0d5cfd03f1da 100644 --- a/svx/source/dialog/optgrid.src +++ b/svx/source/dialog/optgrid.src @@ -24,12 +24,11 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include #include "optgrid.hrc" - // pragma ---------------------------------------------------------------- TabPage RID_SVXPAGE_GRID { diff --git a/svx/source/dialog/passwd.src b/svx/source/dialog/passwd.src index 821ede7c9357..13674df852e1 100644 --- a/svx/source/dialog/passwd.src +++ b/svx/source/dialog/passwd.src @@ -24,11 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include "passwd.hrc" - // pragma ---------------------------------------------------------------- // RID_SVXDLG_PASSWORD --------------------------------------------------- ModalDialog RID_SVXDLG_PASSWORD diff --git a/svx/source/dialog/sdstring.src b/svx/source/dialog/sdstring.src index 7be731e08dc9..05d746dfcb60 100644 --- a/svx/source/dialog/sdstring.src +++ b/svx/source/dialog/sdstring.src @@ -24,9 +24,8 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include ------------------------------------------------------------------ + #include - // pragma ------------------------------------------------------------------- // Strings for the Draw-Dialog -------------------------------------------- String RID_SVXSTR_SOLID diff --git a/svx/source/engine3d/string3d.src b/svx/source/engine3d/string3d.src index 9d23adc147af..5049b23b1643 100644 --- a/svx/source/engine3d/string3d.src +++ b/svx/source/engine3d/string3d.src @@ -24,9 +24,8 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include ------------------------------------------------------------------ + #include - // pragma ------------------------------------------------------------------- // Strings for the Draw Dialog -------------------------------------------- String RID_SVX_3D_CREATE_LATHE diff --git a/svx/source/items/svxerr.src b/svx/source/items/svxerr.src index a7e726f2c2ae..d21187f0917f 100644 --- a/svx/source/items/svxerr.src +++ b/svx/source/items/svxerr.src @@ -24,14 +24,12 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #define __RSC #include "svx/svxerr.hxx" #include #include - // pragma ---------------------------------------------------------------- - // Error-Context --------------------------------------------------------- Resource RID_SVXERRCTX { diff --git a/svx/source/src/errtxt.src b/svx/source/src/errtxt.src index 004885c45150..c190a72881b6 100644 --- a/svx/source/src/errtxt.src +++ b/svx/source/src/errtxt.src @@ -29,7 +29,6 @@ #include #include -// pragma ---------------------------------------------------------------- Resource RID_ERRCTX { String ERRCTX_ERROR diff --git a/svx/source/stbctrls/stbctrls.src b/svx/source/stbctrls/stbctrls.src index cd129d18576b..4e50e1f7e4a7 100644 --- a/svx/source/stbctrls/stbctrls.src +++ b/svx/source/stbctrls/stbctrls.src @@ -24,11 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include "helpid.hrc" #include "stbctrls.h" - // pragma ---------------------------------------------------------------- // Strings --------------------------------------------------------------- String RID_SVXSTR_INSERT_TEXT diff --git a/svx/source/tbxctrls/colrctrl.src b/svx/source/tbxctrls/colrctrl.src index 6a65615167cc..364a0b3abe1c 100644 --- a/svx/source/tbxctrls/colrctrl.src +++ b/svx/source/tbxctrls/colrctrl.src @@ -27,7 +27,6 @@ #include #include "helpid.hrc" - // pragma ---------------------------------------------------------------- // RID_SVXCTRL_COLOR ----------------------------------------------------- DockingWindow RID_SVXCTRL_COLOR diff --git a/svx/source/tbxctrls/tbcontrl.src b/svx/source/tbxctrls/tbcontrl.src index 8101cd52aea3..b75f35cee573 100644 --- a/svx/source/tbxctrls/tbcontrl.src +++ b/svx/source/tbxctrls/tbcontrl.src @@ -24,10 +24,9 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include #include - // pragma ---------------------------------------------------------------- /* * Bitmaps f"ur SvxFrameWindow diff --git a/sw/source/ui/chrdlg/ccoll.src b/sw/source/ui/chrdlg/ccoll.src index 8247888309cd..278019c492ed 100644 --- a/sw/source/ui/chrdlg/ccoll.src +++ b/sw/source/ui/chrdlg/ccoll.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "globals.hrc" #include "chrdlg.hrc" diff --git a/sw/source/ui/chrdlg/numpara.src b/sw/source/ui/chrdlg/numpara.src index 67ce361330e9..cd27ac8a6a64 100644 --- a/sw/source/ui/chrdlg/numpara.src +++ b/sw/source/ui/chrdlg/numpara.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "globals.hrc" #include "chrdlg.hrc" diff --git a/sw/source/ui/dbui/dbui.src b/sw/source/ui/dbui/dbui.src index 169c1b6a23ee..3286d212b97e 100644 --- a/sw/source/ui/dbui/dbui.src +++ b/sw/source/ui/dbui/dbui.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "dbui.hrc" #include "helpid.h" diff --git a/sw/source/ui/envelp/envelp.src b/sw/source/ui/envelp/envelp.src index 20cbcebff32a..75c5641cc5a3 100644 --- a/sw/source/ui/envelp/envelp.src +++ b/sw/source/ui/envelp/envelp.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "envelp.hrc" #include "globals.hrc" diff --git a/sw/source/ui/envelp/envfmt.src b/sw/source/ui/envelp/envfmt.src index 02ea2ea4487c..ed5b5323633e 100644 --- a/sw/source/ui/envelp/envfmt.src +++ b/sw/source/ui/envelp/envfmt.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "envfmt.hrc" #include "helpid.h" diff --git a/sw/source/ui/envelp/envlop.src b/sw/source/ui/envelp/envlop.src index 32bc1856441b..05f9fb9eab43 100644 --- a/sw/source/ui/envelp/envlop.src +++ b/sw/source/ui/envelp/envlop.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "envlop.hrc" #include "helpid.h" diff --git a/sw/source/ui/envelp/envprt.src b/sw/source/ui/envelp/envprt.src index 706040970163..5c0b60661227 100644 --- a/sw/source/ui/envelp/envprt.src +++ b/sw/source/ui/envelp/envprt.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ***************************************************************** #include "envprt.hrc" #include "helpid.h" diff --git a/sw/source/ui/envelp/label.src b/sw/source/ui/envelp/label.src index 7d554d282e8f..18360ed18008 100644 --- a/sw/source/ui/envelp/label.src +++ b/sw/source/ui/envelp/label.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "label.hrc" #include "globals.hrc" diff --git a/sw/source/ui/envelp/labfmt.src b/sw/source/ui/envelp/labfmt.src index 1d0c7b7cb557..a7cbab1900c4 100644 --- a/sw/source/ui/envelp/labfmt.src +++ b/sw/source/ui/envelp/labfmt.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "labfmt.hrc" #include "helpid.h" diff --git a/sw/source/ui/envelp/labprt.src b/sw/source/ui/envelp/labprt.src index 35dac125468f..69cd33602cb2 100644 --- a/sw/source/ui/envelp/labprt.src +++ b/sw/source/ui/envelp/labprt.src @@ -24,7 +24,6 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // #pragma ****************************************************************** #include "labprt.hrc" #include "helpid.h" diff --git a/sw/source/ui/fldui/javaedit.src b/sw/source/ui/fldui/javaedit.src index a5ebb890fb50..60f515520759 100644 --- a/sw/source/ui/fldui/javaedit.src +++ b/sw/source/ui/fldui/javaedit.src @@ -24,11 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - // include --------------------------------------------------------------- + #include "javaedit.hrc" #include "fldui.hrc" #include "helpid.h" - // pragma ---------------------------------------------------------------- // RID_SVXDLG_POSTIT ----------------------------------------------------- ModalDialog DLG_JAVAEDIT diff --git a/sw/source/ui/frmdlg/cption.src b/sw/source/ui/frmdlg/cption.src index ea63227e8695..f21811998efa 100644 --- a/sw/source/ui/frmdlg/cption.src +++ b/sw/source/ui/frmdlg/cption.src @@ -29,7 +29,6 @@ #include "frmui.hrc" #include "cption.hrc" #include "cmdid.h" - // #pragma ****************************************************************** // ModalDialog ************************************************************** ModalDialog DLG_CAPTION -- cgit