summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SpellDialog.src3
-rw-r--r--cui/source/dialogs/cuiimapdlg.src3
-rw-r--r--cui/source/options/fontsubs.src7
-rw-r--r--cui/source/options/optcolor.src3
-rw-r--r--cui/source/options/optdict.src3
-rw-r--r--cui/source/options/optfltr.src3
-rw-r--r--cui/source/options/optinet2.src3
-rw-r--r--cui/source/tabpages/autocdlg.src3
-rw-r--r--cui/source/tabpages/backgrnd.src4
-rw-r--r--cui/source/tabpages/connect.src2
-rw-r--r--cui/source/tabpages/measure.src3
-rw-r--r--cui/source/tabpages/textanim.src1
-rw-r--r--editeng/source/items/svxitems.src3
-rw-r--r--editeng/source/misc/lingu.src3
-rw-r--r--l10ntools/source/export.cxx23
-rw-r--r--sc/source/ui/formdlg/dwfunctr.src4
-rw-r--r--sfx2/source/dialog/mgetempl.src3
-rw-r--r--sfx2/source/doc/docvor.src3
-rw-r--r--sfx2/source/doc/new.src4
-rw-r--r--svtools/source/misc/ehdl.src2
-rw-r--r--svx/source/dialog/fontwork.src3
-rw-r--r--svx/source/dialog/hdft.src3
-rw-r--r--svx/source/dialog/imapdlg.src3
-rw-r--r--svx/source/dialog/language.src2
-rw-r--r--svx/source/dialog/optgrid.src3
-rw-r--r--svx/source/dialog/passwd.src3
-rw-r--r--svx/source/dialog/sdstring.src3
-rw-r--r--svx/source/engine3d/string3d.src3
-rw-r--r--svx/source/items/svxerr.src4
-rw-r--r--svx/source/src/errtxt.src1
-rw-r--r--svx/source/stbctrls/stbctrls.src3
-rw-r--r--svx/source/tbxctrls/colrctrl.src1
-rw-r--r--svx/source/tbxctrls/tbcontrl.src3
-rw-r--r--sw/source/ui/chrdlg/ccoll.src1
-rw-r--r--sw/source/ui/chrdlg/numpara.src1
-rw-r--r--sw/source/ui/dbui/dbui.src1
-rw-r--r--sw/source/ui/envelp/envelp.src1
-rw-r--r--sw/source/ui/envelp/envfmt.src1
-rw-r--r--sw/source/ui/envelp/envlop.src1
-rw-r--r--sw/source/ui/envelp/envprt.src1
-rw-r--r--sw/source/ui/envelp/label.src1
-rw-r--r--sw/source/ui/envelp/labfmt.src1
-rw-r--r--sw/source/ui/envelp/labprt.src1
-rw-r--r--sw/source/ui/fldui/javaedit.src3
-rw-r--r--sw/source/ui/frmdlg/cption.src1
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 <cuires.hrc>
#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 <sfx2/sfx.hrc>
#include "helpid.hrc"
#include <cuires.hrc>
#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 <sfx2/sfx.hrc>
#include "helpid.hrc"
#include <cuires.hrc>
#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 <cuires.hrc>
- // 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 <sfx2/sfx.hrc>
#include "helpid.hrc"
#include <cuires.hrc>
#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 <cuires.hrc>
#include "helpid.hrc"
#include <svx/svxids.hrc> // 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 <svtools/controldims.hrc>
#include "helpid.hrc"
#include <cuires.hrc>
@@ -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 <svtools/controldims.hrc>
#include "connect.hrc"
#include <cuires.hrc>
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 <cuires.hrc>
#include "measure.hrc"
#include "helpid.hrc"
#include <svx/dialogs.hrc>
#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 <svtools/controldims.hrc>
#include <cuires.hrc>
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 <editeng/editrids.hrc>
- // 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 <editeng/editrids.hrc>
- // 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 <sfx2/sfx.hrc>
#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 <sfx2/sfx.hrc>
#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 <sfx2/sfx.hrc>
#include "doc.hrc"
#include "new.hrc"
#include <sfx2/sfxcommands.h>
- // 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 <svtools/svtools.hrc>
#include <svtools/sfxecode.hxx>
- // 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 <svx/svxids.hrc>
#include <svx/dialogs.hrc>
#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 <svx/dialogs.hrc>
#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 <svx/dialogs.hrc>
- // 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 <sfx2/sfx.hrc>
#include "helpid.hrc"
#include <svx/dialogs.hrc>
#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 <svx/dialogs.hrc>
#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 <svx/dialogs.hrc>
- // 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 <svx/dialogs.hrc>
- // 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 <svx/dialogs.hrc>
#include <editeng/editerr.hxx>
- // 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 <svtools/svtools.hrc>
#include <svtools/sfxecode.hxx>
-// 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 <svx/dialogs.hrc>
#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 <svx/dialogs.hrc>
#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 <svx/dialogs.hrc>
#include <helpid.hrc>
- // 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