summaryrefslogtreecommitdiff
path: root/filter/source/svg/js2hxx.py
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg/js2hxx.py')
-rwxr-xr-xfilter/source/svg/js2hxx.py18
1 files changed, 2 insertions, 16 deletions
diff --git a/filter/source/svg/js2hxx.py b/filter/source/svg/js2hxx.py
index 51d47dc30184..9c24fc422ece 100755
--- a/filter/source/svg/js2hxx.py
+++ b/filter/source/svg/js2hxx.py
@@ -144,25 +144,11 @@ if( not os.path.isfile( outfile_name ) ):
# C++ header
-header_info = """
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+header_info = '/* !! This file is auto-generated, do not edit !! */'
-/* !! This file is auto-generated, do not edit !! */
-"""
-
-vim_setup = '/* vim:set shiftwidth=4 softtabstop=4 expandtab: */'
-
-outfile.write( header_info +'\n' )
-outfile.write( '\n' )
+outfile.write( header_info +'\n\n' )
for line in out_lines:
outfile.write( line + '\n' )
-outfile.write( '\n' )
-outfile.write( '\n' )
-outfile.write( vim_setup + '\n' )
-
outfile.close()
-
-
-