[Libreoffice-commits] core.git: 8 commits - avmedia/source cli_ure/qa connectivity/source cppu/qa cui/source extensions/source extensions/test include/editeng include/filter include/sfx2 include/svl include/svtools include/svx offapi/com stoc/test svgio/inc svgio/source svtools/source svx/inc svx/source sw/inc sw/source uui/source vcl/unx winaccessibility/source writerfilter/source

Thomas Arnhold thomas at arnhold.org
Thu Apr 24 03:00:28 PDT 2014


 avmedia/source/vlc/vlcframegrabber.cxx                                  |    3 +
 avmedia/source/vlc/vlcwindow.cxx                                        |    3 +
 avmedia/source/vlc/wrapper/ThreadsafeQueue.cxx                          |    6 ++
 cli_ure/qa/climaker/types.idl                                           |    3 +
 connectivity/source/drivers/mork/MorkParser.cxx                         |    3 +
 connectivity/source/drivers/mork/MorkParser.hxx                         |    2 
 connectivity/source/drivers/mork/mork_helper.cxx                        |    3 +
 cppu/qa/cppumaker/types.idl                                             |    3 +
 cppu/qa/types.idl                                                       |    3 +
 cui/source/customize/cfg.hrc                                            |    2 
 cui/source/customize/macropg.hrc                                        |    1 
 extensions/source/activex/so_activex.idl                                |    2 
 extensions/test/ole/AxTestComponents/AxTestComponents.idl               |    3 +
 extensions/test/ole/EventListenerSample/EventListener/EventListener.idl |    3 +
 extensions/test/ole/idl/oletest.idl                                     |    2 
 extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.idl     |    2 
 include/editeng/AccessibleSvxFindReplaceDialog.hxx                      |    3 +
 include/filter/msfilter/sprmids.hxx                                     |    3 +
 include/sfx2/cntids.hrc                                                 |   13 -----
 include/sfx2/sfxsids.hrc                                                |    3 -
 include/sfx2/sidebar/ResourceDefinitions.hrc                            |    3 -
 include/svl/solar.hrc                                                   |    2 
 include/svtools/accessibleruler.hxx                                     |    3 +
 include/svtools/vclxaccessibleheaderbar.hxx                             |    2 
 include/svx/AccessibleSvxFindReplaceDialog.hxx                          |    3 +
 offapi/com/sun/star/awt/ImageDrawMode.idl                               |    3 +
 offapi/com/sun/star/awt/MessageBoxType.idl                              |    3 +
 offapi/com/sun/star/chart2/data/XSheetDataProvider.idl                  |    3 +
 offapi/com/sun/star/drawing/LineCap.idl                                 |    2 
 offapi/com/sun/star/frame/ToolbarControllerFactory.idl                  |    3 +
 offapi/com/sun/star/frame/XUIControllerFactory.idl                      |    3 +
 offapi/com/sun/star/frame/theToolbarControllerFactory.idl               |    3 +
 offapi/com/sun/star/graphic/Primitive2DTools.idl                        |    3 +
 offapi/com/sun/star/graphic/SvgTools.idl                                |    3 +
 offapi/com/sun/star/graphic/XPrimitive2DRenderer.idl                    |    3 +
 offapi/com/sun/star/graphic/XSvgParser.idl                              |    3 +
 offapi/com/sun/star/smarttags/XRangeBasedSmartTagRecognizer.idl         |    3 +
 offapi/com/sun/star/system/XSimpleMailMessage2.idl                      |    3 +
 offapi/com/sun/star/text/XMarkingAccess.idl                             |    3 +
 offapi/com/sun/star/ucb/WebDAVHTTPMethod.idl                            |    3 +
 offapi/com/sun/star/ui/ContextChangeEventMultiplexer.idl                |    3 +
 offapi/com/sun/star/ui/ContextChangeEventObject.idl                     |    3 +
 offapi/com/sun/star/ui/LayoutSize.idl                                   |    3 +
 offapi/com/sun/star/ui/XContextChangeEventListener.idl                  |    3 +
 offapi/com/sun/star/ui/XContextChangeEventMultiplexer.idl               |    3 +
 offapi/com/sun/star/ui/XSidebar.idl                                     |    3 +
 offapi/com/sun/star/ui/XSidebarPanel.idl                                |    3 +
 offapi/com/sun/star/ui/XStatusbarItem.idl                               |    3 +
 stoc/test/language_binding.idl                                          |    3 +
 stoc/test/registry_tdprovider/types.idl                                 |    3 +
 stoc/test/tdmanager/types.idl                                           |    3 +
 stoc/test/tdmanager/types2_incomp.idl                                   |    3 +
 stoc/test/tdmanager/types3_incomp.idl                                   |    3 +
 stoc/test/tdmanager/types4_incomp.idl                                   |    3 +
 stoc/test/tdmanager/types5.idl                                          |    3 +
 stoc/test/tdmanager/types5_incomp.idl                                   |    3 +
 stoc/test/tdmanager/types6_incomp.idl                                   |    3 +
 stoc/test/testcorefl.idl                                                |    3 +
 stoc/test/testintrosp.idl                                               |    3 +
 svgio/inc/svgio/svgreader/svgtitledescnode.hxx                          |    3 -
 svgio/source/svgreader/svgtitledescnode.cxx                             |    4 -
 svtools/source/control/accessibleruler.cxx                              |    3 +
 svtools/source/control/ruler.src                                        |    2 
 svtools/source/control/vclxaccessibleheaderbar.cxx                      |    3 +
 svtools/source/control/vclxaccessibleheaderbaritem.cxx                  |    3 +
 svx/inc/GalleryControl.hxx                                              |    3 +
 svx/source/dialog/docrecovery.hrc                                       |    1 
 svx/source/gallery2/GalleryControl.cxx                                  |    3 +
 svx/source/gallery2/GallerySplitter.cxx                                 |    3 +
 svx/source/gallery2/GallerySplitter.hxx                                 |    3 +
 svx/source/inc/svxpixelctlaccessiblecontext.hxx                         |    3 +
 svx/source/items/galleryitem.cxx                                        |    3 +
 svx/source/sdr/overlay/overlayrectangle.cxx                             |    2 
 svx/source/sidebar/ColorPanel.cxx                                       |    3 +
 svx/source/sidebar/ContextChangeEventMultiplexer.cxx                    |    3 +
 svx/source/sidebar/EmptyPanel.cxx                                       |    3 +
 svx/source/sidebar/EmptyPanel.src                                       |    3 +
 svx/source/sidebar/PanelFactory.cxx                                     |    3 +
 svx/source/sidebar/SelectionAnalyzer.cxx                                |    3 +
 svx/source/sidebar/SelectionChangeHandler.cxx                           |    3 +
 svx/source/sidebar/area/AreaPropertyPanel.cxx                           |    3 -
 svx/source/sidebar/area/AreaPropertyPanel.hrc                           |    3 -
 svx/source/sidebar/area/AreaPropertyPanel.hxx                           |    3 -
 svx/source/sidebar/area/AreaPropertyPanel.src                           |    3 -
 svx/source/sidebar/area/AreaTransparencyGradientControl.cxx             |    3 -
 svx/source/sidebar/area/AreaTransparencyGradientControl.hxx             |    3 -
 svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx               |    3 -
 svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx               |    3 -
 svx/source/sidebar/debug/ColorPanel.cxx                                 |    3 +
 svx/source/sidebar/debug/ColorPanel.hxx                                 |    3 +
 svx/source/sidebar/debug/ContextPanel.cxx                               |    3 +
 svx/source/sidebar/debug/ContextPanel.hxx                               |    3 +
 svx/source/sidebar/debug/NotYetImplementedPanel.cxx                     |    3 +
 svx/source/sidebar/debug/NotYetImplementedPanel.hxx                     |    3 +
 svx/source/sidebar/graphic/GraphicPropertyPanel.cxx                     |    4 -
 svx/source/sidebar/graphic/GraphicPropertyPanel.hxx                     |    3 -
 svx/source/sidebar/insert/InsertPropertyPanel.cxx                       |    3 +
 svx/source/sidebar/insert/InsertPropertyPanel.hxx                       |    3 +
 svx/source/sidebar/line/LinePropertyPanel.cxx                           |    3 -
 svx/source/sidebar/line/LinePropertyPanel.hrc                           |    3 -
 svx/source/sidebar/line/LinePropertyPanel.hxx                           |    3 -
 svx/source/sidebar/line/LinePropertyPanel.src                           |    3 -
 svx/source/sidebar/line/LineWidthControl.cxx                            |    3 -
 svx/source/sidebar/line/LineWidthControl.hxx                            |    3 -
 svx/source/sidebar/line/LineWidthPopup.cxx                              |    4 -
 svx/source/sidebar/line/LineWidthPopup.hxx                              |    3 -
 svx/source/sidebar/line/LineWidthValueSet.cxx                           |    3 -
 svx/source/sidebar/line/LineWidthValueSet.hxx                           |    3 -
 svx/source/sidebar/nbdtmg.cxx                                           |    3 +
 svx/source/sidebar/nbdtmgfact.cxx                                       |    3 +
 svx/source/sidebar/paragraph/ParaBulletsControl.cxx                     |    2 
 svx/source/sidebar/paragraph/ParaBulletsControl.hxx                     |    2 
 svx/source/sidebar/paragraph/ParaBulletsPopup.cxx                       |    2 
 svx/source/sidebar/paragraph/ParaBulletsPopup.hxx                       |    2 
 svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx                 |    2 
 svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx                 |    2 
 svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx                   |    2 
 svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx                   |    2 
 svx/source/sidebar/paragraph/ParaNumberingControl.cxx                   |    2 
 svx/source/sidebar/paragraph/ParaNumberingControl.hxx                   |    2 
 svx/source/sidebar/paragraph/ParaNumberingPopup.cxx                     |    2 
 svx/source/sidebar/paragraph/ParaNumberingPopup.hxx                     |    2 
 svx/source/sidebar/paragraph/ParaPropertyPanel.cxx                      |    3 +
 svx/source/sidebar/paragraph/ParaPropertyPanel.hrc                      |    3 +
 svx/source/sidebar/paragraph/ParaPropertyPanel.hxx                      |    2 
 svx/source/sidebar/paragraph/ParaPropertyPanel.src                      |    3 +
 svx/source/sidebar/possize/PosSizePropertyPanel.cxx                     |    3 +
 svx/source/sidebar/possize/PosSizePropertyPanel.hxx                     |    3 -
 svx/source/sidebar/text/TextCharacterSpacingControl.cxx                 |    3 +
 svx/source/sidebar/text/TextCharacterSpacingControl.hxx                 |    3 +
 svx/source/sidebar/text/TextCharacterSpacingPopup.cxx                   |    2 
 svx/source/sidebar/text/TextCharacterSpacingPopup.hxx                   |    2 
 svx/source/sidebar/text/TextPropertyPanel.cxx                           |    3 +
 svx/source/sidebar/text/TextPropertyPanel.hrc                           |    3 +
 svx/source/sidebar/text/TextPropertyPanel.hxx                           |    3 +
 svx/source/sidebar/text/TextPropertyPanel.src                           |    3 +
 svx/source/sidebar/text/TextUnderlineControl.cxx                        |    3 +
 svx/source/sidebar/text/TextUnderlineControl.hxx                        |    2 
 svx/source/sidebar/text/TextUnderlinePopup.cxx                          |    2 
 svx/source/sidebar/text/TextUnderlinePopup.hxx                          |    2 
 svx/source/sidebar/tools/ColorControl.cxx                               |    3 +
 svx/source/sidebar/tools/ColorPopup.cxx                                 |    3 +
 svx/source/sidebar/tools/Popup.cxx                                      |    3 +
 svx/source/sidebar/tools/PopupContainer.cxx                             |    3 +
 svx/source/sidebar/tools/PopupControl.cxx                               |    3 +
 svx/source/sidebar/tools/ValueSetWithTextControl.cxx                    |    3 +
 svx/source/svdraw/sdrundomanager.cxx                                    |    4 -
 svx/source/tbxctrls/SvxColorChildWindow.cxx                             |    3 +
 svx/source/tbxctrls/SvxColorValueSet.cxx                                |    2 
 sw/inc/chrdlg.hrc                                                       |   11 +---
 sw/inc/cmdid.h                                                          |    5 --
 sw/source/core/access/accfield.hxx                                      |    2 
 sw/source/core/access/accnotexthyperlink.hxx                            |    2 
 sw/source/core/crsr/overlayrangesoutline.hxx                            |    3 -
 sw/source/ui/table/instable.cxx                                         |    1 
 sw/source/ui/table/instable.hrc                                         |   25 ----------
 uui/source/secmacrowarnings.hrc                                         |    4 -
 vcl/unx/gtk3/window/gtk3gloactiongroup.cxx                              |    3 +
 vcl/unx/gtk3/window/gtk3glomenu.cxx                                     |    3 +
 vcl/unx/gtk3/window/gtk3gtksalmenu.cxx                                  |    3 +
 vcl/unx/gtk3/window/gtk3hudawareness.cxx                                |    3 +
 winaccessibility/source/UAccCOMIDL/AccessibleKeyBinding.idl             |    3 +
 winaccessibility/source/UAccCOMIDL/AccessibleKeyStroke.idl              |    3 +
 winaccessibility/source/UAccCOMIDL/Charset.idl                          |    3 +
 winaccessibility/source/UAccCOMIDL/UAccCOM.idl                          |    3 +
 winaccessibility/source/UAccCOMIDL/defines.idl                          |    3 +
 winaccessibility/source/UAccCOMIDL/ia2_api_all.idl                      |    3 +
 writerfilter/source/resourcemodel/qnametostrcore.cxx                    |    3 +
 168 files changed, 423 insertions(+), 94 deletions(-)

New commits:
commit 371046c6a35931e96506ecaf4ffbc0403286c53b
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 04:21:14 2014 +0200

    add missing modelines to cxx and hxx files
    
    some of them have no copyright header
    
    Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3

diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx
index 8a1269a..05a27c2 100644
--- a/avmedia/source/vlc/vlcframegrabber.cxx
+++ b/avmedia/source/vlc/vlcframegrabber.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 #include <boost/bind.hpp>
 #include <iostream>
 #include <osl/conditn.hxx>
@@ -116,3 +117,5 @@ sal_Bool SAL_CALL VLCFrameGrabber::supportsService( const ::rtl::OUString& servi
 
 }
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/avmedia/source/vlc/vlcwindow.cxx b/avmedia/source/vlc/vlcwindow.cxx
index 669ad21..3375020 100644
--- a/avmedia/source/vlc/vlcwindow.cxx
+++ b/avmedia/source/vlc/vlcwindow.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 #include <iostream>
 #include <cppuhelper/supportsservice.hxx>
 #include "vlcwindow.hxx"
@@ -195,3 +196,5 @@ void SAL_CALL VLCWindow::removePaintListener( const uno::Reference< awt::XPaintL
 
 }
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/avmedia/source/vlc/wrapper/ThreadsafeQueue.cxx b/avmedia/source/vlc/wrapper/ThreadsafeQueue.cxx
index ea9294f..e2dfdd2 100644
--- a/avmedia/source/vlc/wrapper/ThreadsafeQueue.cxx
+++ b/avmedia/source/vlc/wrapper/ThreadsafeQueue.cxx
@@ -1 +1,5 @@
-#include "ThreadsafeQueue.hxx"
\ No newline at end of file
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
+#include "ThreadsafeQueue.hxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mork/MorkParser.cxx b/connectivity/source/drivers/mork/MorkParser.cxx
index 986d4fa..8057b09 100644
--- a/connectivity/source/drivers/mork/MorkParser.cxx
+++ b/connectivity/source/drivers/mork/MorkParser.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Software License Agreement (BSD License)
  *
@@ -786,3 +787,5 @@ void MorkParser::dump()
         }
     }
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mork/MorkParser.hxx b/connectivity/source/drivers/mork/MorkParser.hxx
index ef56f3a..d0ecba7 100644
--- a/connectivity/source/drivers/mork/MorkParser.hxx
+++ b/connectivity/source/drivers/mork/MorkParser.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Software License Agreement (BSD License)
  *
@@ -165,3 +166,4 @@ private:
 
 #endif // __MorkParser_h__
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mork/mork_helper.cxx b/connectivity/source/drivers/mork/mork_helper.cxx
index f0d09b1..6adf926 100644
--- a/connectivity/source/drivers/mork/mork_helper.cxx
+++ b/connectivity/source/drivers/mork/mork_helper.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 #include "MNSProfileDiscover.hxx"
 #include "MorkParser.hxx"
 
@@ -52,3 +53,5 @@ int main( int argc, const char* argv[] )
   OString aOString = OUStringToOString( profilePath, RTL_TEXTENCODING_UTF8 );
   openAddressBook(aOString.getStr());
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/editeng/AccessibleSvxFindReplaceDialog.hxx b/include/editeng/AccessibleSvxFindReplaceDialog.hxx
index 0c2688f..635e90a3 100644
--- a/include/editeng/AccessibleSvxFindReplaceDialog.hxx
+++ b/include/editeng/AccessibleSvxFindReplaceDialog.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -51,3 +52,5 @@ private:
     }
 };
 #endif // _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/filter/msfilter/sprmids.hxx b/include/filter/msfilter/sprmids.hxx
index e3c3923..656d624 100644
--- a/include/filter/msfilter/sprmids.hxx
+++ b/include/filter/msfilter/sprmids.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -310,3 +311,5 @@ namespace NS_sprm {
 }
 
 #endif // INCLUDED_SPRMIDS
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx
index 44b5f8f..23557fe 100644
--- a/include/svtools/accessibleruler.hxx
+++ b/include/svtools/accessibleruler.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -233,3 +234,5 @@ inline bool SvtRulerAccessible::IsNotAlive( void ) const
 }
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svtools/vclxaccessibleheaderbar.hxx b/include/svtools/vclxaccessibleheaderbar.hxx
index 7447eda..9fda343 100644
--- a/include/svtools/vclxaccessibleheaderbar.hxx
+++ b/include/svtools/vclxaccessibleheaderbar.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -80,3 +81,4 @@ public:
 
 #endif // INCLUDED_SVTOOLS_VCLXACCESSIBLEHEADERBAR_HXX
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/AccessibleSvxFindReplaceDialog.hxx b/include/svx/AccessibleSvxFindReplaceDialog.hxx
index 0c213f7..20dc1d5 100644
--- a/include/svx/AccessibleSvxFindReplaceDialog.hxx
+++ b/include/svx/AccessibleSvxFindReplaceDialog.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -53,3 +54,5 @@ private:
     }
 };
 #endif // _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgio/svgreader/svgtitledescnode.hxx b/svgio/inc/svgio/svgreader/svgtitledescnode.hxx
index 7272f38..97528a6 100644
--- a/svgio/inc/svgio/svgreader/svgtitledescnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgtitledescnode.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -52,4 +53,4 @@ namespace svgio
 
 #endif //INCLUDED_SVGIO_SVGREADER_SVGTITLEDESCNODE_HXX
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/source/svgreader/svgtitledescnode.cxx b/svgio/source/svgreader/svgtitledescnode.cxx
index 59db2e9..836d40f 100644
--- a/svgio/source/svgreader/svgtitledescnode.cxx
+++ b/svgio/source/svgreader/svgtitledescnode.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -44,5 +45,4 @@ namespace svgio
     } // end of namespace svgreader
 } // end of namespace svgio
 
-
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/accessibleruler.cxx b/svtools/source/control/accessibleruler.cxx
index acd7010..49d3a26 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -430,3 +431,5 @@ void SvtRulerAccessible::ThrowExceptionIfNotAlive( void ) throw( lang::DisposedE
     if( IsNotAlive() )
         throw lang::DisposedException();
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/vclxaccessibleheaderbar.cxx b/svtools/source/control/vclxaccessibleheaderbar.cxx
index 031edaf..92fa5bd 100644
--- a/svtools/source/control/vclxaccessibleheaderbar.cxx
+++ b/svtools/source/control/vclxaccessibleheaderbar.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -168,3 +169,5 @@ void SAL_CALL VCLXAccessibleHeaderBar::disposing()
     }
     return xChild;
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/vclxaccessibleheaderbaritem.cxx b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
index dfc1455..c6c0bc1 100644
--- a/svtools/source/control/vclxaccessibleheaderbaritem.cxx
+++ b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -332,3 +333,5 @@ OUString VCLXAccessibleHeaderBarItem::getToolTipText() throw (RuntimeException,
 
     return sText;
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/GalleryControl.hxx b/svx/inc/GalleryControl.hxx
index eb21fcd..7954718 100644
--- a/svx/inc/GalleryControl.hxx
+++ b/svx/inc/GalleryControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -68,3 +69,5 @@ protected:
 } } // end of namespace svx::sidebar
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/gallery2/GalleryControl.cxx b/svx/source/gallery2/GalleryControl.cxx
index c1dadb2..bf83c0d 100644
--- a/svx/source/gallery2/GalleryControl.cxx
+++ b/svx/source/gallery2/GalleryControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -234,3 +235,5 @@ IMPL_LINK( GalleryControl, SplitHdl, void*, EMPTYARG )
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/gallery2/GallerySplitter.cxx b/svx/source/gallery2/GallerySplitter.cxx
index 5baac2d..d504692 100644
--- a/svx/source/gallery2/GallerySplitter.cxx
+++ b/svx/source/gallery2/GallerySplitter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -39,3 +40,5 @@ void GallerySplitter::DataChanged( const DataChangedEvent& rDCEvt )
     if (maDataChangeFunctor)
         maDataChangeFunctor();
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/gallery2/GallerySplitter.hxx b/svx/source/gallery2/GallerySplitter.hxx
index dfea82a..9ffe4c8 100644
--- a/svx/source/gallery2/GallerySplitter.hxx
+++ b/svx/source/gallery2/GallerySplitter.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -39,3 +40,5 @@ private:
 
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
index 7b08ee5..9990edb 100644
--- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx
+++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -276,3 +277,5 @@ inline bool SvxPixelCtlAccessibleChild::IsNotAlive( void ) const
 
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/items/galleryitem.cxx b/svx/source/items/galleryitem.cxx
index f7a0f8f..cde11d0 100644
--- a/svx/source/items/galleryitem.cxx
+++ b/svx/source/items/galleryitem.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -146,3 +147,5 @@ SfxPoolItem* SvxGalleryItem::Create(SvStream& , sal_uInt16) const
 {
     return 0;
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sdr/overlay/overlayrectangle.cxx b/svx/source/sdr/overlay/overlayrectangle.cxx
index e3e7c8f..81fe0be 100644
--- a/svx/source/sdr/overlay/overlayrectangle.cxx
+++ b/svx/source/sdr/overlay/overlayrectangle.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -122,3 +123,4 @@ namespace sdr
 } // end of namespace sdr
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/ColorPanel.cxx b/svx/source/sidebar/ColorPanel.cxx
index 8eda421..ee55024 100644
--- a/svx/source/sidebar/ColorPanel.cxx
+++ b/svx/source/sidebar/ColorPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -199,3 +200,5 @@ void ColorPanel::Fill (void)
 }
 
 } } // end of namespace ::svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/ContextChangeEventMultiplexer.cxx b/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
index a613cb4..58a5dc5 100644
--- a/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
+++ b/svx/source/sidebar/ContextChangeEventMultiplexer.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -81,3 +82,5 @@ void ContextChangeEventMultiplexer::NotifyContextChange (
     return ::sfx2::sidebar::EnumContext::GetApplicationName(
         ::sfx2::sidebar::EnumContext::Application_None);
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/EmptyPanel.cxx b/svx/source/sidebar/EmptyPanel.cxx
index fc87458..d730350 100644
--- a/svx/source/sidebar/EmptyPanel.cxx
+++ b/svx/source/sidebar/EmptyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -60,3 +61,5 @@ void EmptyPanel::Resize (void)
 
 
 } } // end of namespace ::svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/PanelFactory.cxx b/svx/source/sidebar/PanelFactory.cxx
index c6f9b60..3f6cb35 100644
--- a/svx/source/sidebar/PanelFactory.cxx
+++ b/svx/source/sidebar/PanelFactory.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -211,3 +212,5 @@ org_apache_openoffice_comp_svx_sidebar_PanelFactory_get_implementation(
 {
     return cppu::acquire(new PanelFactory);
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/SelectionAnalyzer.cxx b/svx/source/sidebar/SelectionAnalyzer.cxx
index 6e0a419..39d85fc 100644
--- a/svx/source/sidebar/SelectionAnalyzer.cxx
+++ b/svx/source/sidebar/SelectionAnalyzer.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -493,3 +494,5 @@ bool SelectionAnalyzer::IsTextObjType (const sal_uInt16 nType)
 
 
 } } // end of namespace ::svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/SelectionChangeHandler.cxx b/svx/source/sidebar/SelectionChangeHandler.cxx
index d0b73a7..c6ee295 100644
--- a/svx/source/sidebar/SelectionChangeHandler.cxx
+++ b/svx/source/sidebar/SelectionChangeHandler.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -114,3 +115,5 @@ void SelectionChangeHandler::Disconnect (void)
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx
index 811bd4a..0b0a2f8 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -1390,4 +1391,4 @@ sal_Int32 AreaPropertyPanel::GetSelectedTransparencyTypeIndex (void) const
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.hxx b/svx/source/sidebar/area/AreaPropertyPanel.hxx
index 1f261ce..eea7464 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.hxx
+++ b/svx/source/sidebar/area/AreaPropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -189,4 +190,4 @@ private:
 
 #endif // INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANEL_HXX
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx b/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx
index d0f8bd8..9b5a946 100644
--- a/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx
+++ b/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -328,4 +329,4 @@ IMPL_LINK_NOARG(AreaTransparencyGradientControl, Right_Click45_Impl)
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx b/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx
index 4b1e4ab..73a4043 100644
--- a/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx
+++ b/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -70,4 +71,4 @@ private:
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx b/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx
index 5037c71..e699875 100644
--- a/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx
+++ b/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -53,4 +54,4 @@ void AreaTransparencyGradientPopup::Rearrange (XFillFloatTransparenceItem* pItem
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx b/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx
index 4c13f64..01fd476 100644
--- a/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx
+++ b/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -44,4 +45,4 @@ public :
 
 #endif
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ColorPanel.cxx b/svx/source/sidebar/debug/ColorPanel.cxx
index 0f65752..3138531 100644
--- a/svx/source/sidebar/debug/ColorPanel.cxx
+++ b/svx/source/sidebar/debug/ColorPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -198,3 +199,5 @@ void ColorPanel::Fill (void)
 }
 
 } } // end of namespace ::svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ColorPanel.hxx b/svx/source/sidebar/debug/ColorPanel.hxx
index 7a1aeed..9ecf683 100644
--- a/svx/source/sidebar/debug/ColorPanel.hxx
+++ b/svx/source/sidebar/debug/ColorPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -51,3 +52,5 @@ private:
 } } // end of namespace ::svx::sidebar
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ContextPanel.cxx b/svx/source/sidebar/debug/ContextPanel.cxx
index b8dbb5f..9a68627 100644
--- a/svx/source/sidebar/debug/ContextPanel.cxx
+++ b/svx/source/sidebar/debug/ContextPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -47,3 +48,5 @@ void ContextPanel::HandleContextChange (const sfx2::sidebar::EnumContext aContex
 }
 
 } } // end of namespace ::svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ContextPanel.hxx b/svx/source/sidebar/debug/ContextPanel.hxx
index dbdd143..0a83b66 100644
--- a/svx/source/sidebar/debug/ContextPanel.hxx
+++ b/svx/source/sidebar/debug/ContextPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -47,3 +48,5 @@ private:
 } } // end of namespace ::svx::sidebar
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/NotYetImplementedPanel.cxx b/svx/source/sidebar/debug/NotYetImplementedPanel.cxx
index 9f06078..d51d493 100644
--- a/svx/source/sidebar/debug/NotYetImplementedPanel.cxx
+++ b/svx/source/sidebar/debug/NotYetImplementedPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -42,3 +43,5 @@ NotYetImplementedPanel::~NotYetImplementedPanel (void)
 
 
 } } // end of namespace ::svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/NotYetImplementedPanel.hxx b/svx/source/sidebar/debug/NotYetImplementedPanel.hxx
index 0afb649..43e6ed3 100644
--- a/svx/source/sidebar/debug/NotYetImplementedPanel.hxx
+++ b/svx/source/sidebar/debug/NotYetImplementedPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -41,3 +42,5 @@ private:
 } } // end of namespace ::svx::sidebar
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
index 7a773ee..656aeae 100644
--- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
+++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -470,5 +471,4 @@ SfxBindings* GraphicPropertyPanel::GetBindings()
 
 }} // end of namespace ::svx::sidebar
 
-
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
index dc3a5e6..9bedc88 100644
--- a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
+++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -108,4 +109,4 @@ private:
 
 #endif
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/insert/InsertPropertyPanel.cxx b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
index 7ca7816..7a8bf59 100644
--- a/svx/source/sidebar/insert/InsertPropertyPanel.cxx
+++ b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -142,3 +143,5 @@ IMPL_LINK(InsertPropertyPanel, WindowEventListener, VclSimpleEvent*, pEvent)
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/insert/InsertPropertyPanel.hxx b/svx/source/sidebar/insert/InsertPropertyPanel.hxx
index 25ff865..9b670ce 100644
--- a/svx/source/sidebar/insert/InsertPropertyPanel.hxx
+++ b/svx/source/sidebar/insert/InsertPropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -55,3 +56,5 @@ private:
 } } // end of namespace ::svx::sidebar
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx
index 01c64f1..39349ab 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -1136,4 +1137,4 @@ void LinePropertyPanel::SelectEndStyle(bool bStart)
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LinePropertyPanel.hxx b/svx/source/sidebar/line/LinePropertyPanel.hxx
index d8c9c6c..973187e 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.hxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -185,4 +186,4 @@ private:
 
 #endif
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index b5a7e26..2533852 100644
--- a/svx/source/sidebar/line/LineWidthControl.cxx
+++ b/svx/source/sidebar/line/LineWidthControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -362,4 +363,4 @@ long LineWidthControl::GetTmpCustomWidth()
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LineWidthControl.hxx b/svx/source/sidebar/line/LineWidthControl.hxx
index 19fa4f5..2120811 100644
--- a/svx/source/sidebar/line/LineWidthControl.hxx
+++ b/svx/source/sidebar/line/LineWidthControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -67,4 +68,4 @@ private:
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LineWidthPopup.cxx b/svx/source/sidebar/line/LineWidthPopup.cxx
index 63d6fdd..248d17a 100644
--- a/svx/source/sidebar/line/LineWidthPopup.cxx
+++ b/svx/source/sidebar/line/LineWidthPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -79,5 +80,4 @@ void LineWidthPopup::PopupModeEndCallback (void)
 
 } } // end of namespace svx::sidebar
 
-
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LineWidthPopup.hxx b/svx/source/sidebar/line/LineWidthPopup.hxx
index 6fe415a..e480697 100644
--- a/svx/source/sidebar/line/LineWidthPopup.hxx
+++ b/svx/source/sidebar/line/LineWidthPopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -46,4 +47,4 @@ private:
 
 #endif
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LineWidthValueSet.cxx b/svx/source/sidebar/line/LineWidthValueSet.cxx
index 4a2f131..68f11f5 100644
--- a/svx/source/sidebar/line/LineWidthValueSet.cxx
+++ b/svx/source/sidebar/line/LineWidthValueSet.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -190,4 +191,4 @@ void  LineWidthValueSet::UserDraw( const UserDrawEvent& rUDEvt )
 
 } } // end of namespace svx::sidebar
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LineWidthValueSet.hxx b/svx/source/sidebar/line/LineWidthValueSet.hxx
index 14ae2ac..90b6456 100644
--- a/svx/source/sidebar/line/LineWidthValueSet.hxx
+++ b/svx/source/sidebar/line/LineWidthValueSet.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -50,4 +51,4 @@ protected:
 
 #endif // INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEWIDTHVALUESET_HXX
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index 1691083..567e3ea 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -1928,3 +1929,5 @@ bool OutlineTypeMgr::IsCustomized(sal_uInt16 nIndex)
 
 
 }}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/nbdtmgfact.cxx b/svx/source/sidebar/nbdtmgfact.cxx
index d3b8536..fa04343 100644
--- a/svx/source/sidebar/nbdtmgfact.cxx
+++ b/svx/source/sidebar/nbdtmgfact.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -47,3 +48,5 @@ NBOTypeMgrBase* CreateInstance(const NBOType aType)
 }
 
 }}}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaBulletsControl.cxx b/svx/source/sidebar/paragraph/ParaBulletsControl.cxx
index 45c59bc..a35c4d4 100644
--- a/svx/source/sidebar/paragraph/ParaBulletsControl.cxx
+++ b/svx/source/sidebar/paragraph/ParaBulletsControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -127,3 +128,4 @@ IMPL_LINK(ParaBulletsControl, MoreButtonClickHdl_Impl, void*, EMPTYARG)
 }} // end of namespace sidebar
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaBulletsControl.hxx b/svx/source/sidebar/paragraph/ParaBulletsControl.hxx
index 19dedfba..6578328 100644
--- a/svx/source/sidebar/paragraph/ParaBulletsControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaBulletsControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -54,3 +55,4 @@ public:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaBulletsPopup.cxx b/svx/source/sidebar/paragraph/ParaBulletsPopup.cxx
index 5ab6146..2e68ea7 100644
--- a/svx/source/sidebar/paragraph/ParaBulletsPopup.cxx
+++ b/svx/source/sidebar/paragraph/ParaBulletsPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -57,3 +58,4 @@ void ParaBulletsPopup::UpdateValueSet ()
 
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx b/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx
index b0cb01c..3d37df7 100644
--- a/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx
+++ b/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -47,3 +48,4 @@ public :
 
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
index 1d3b76d..d7f1a0f 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -779,3 +780,4 @@ void ParaLineSpacingControl::ExecuteLineSpacing( bool aIsCustom, sal_uInt16 aEnt
 
 }} // end of namespace sidebar
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
index b9966b7..6130bd0 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -109,3 +110,4 @@ private:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx
index 877bf4c..8f50dd8 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -76,3 +77,4 @@ void ParaLineSpacingPopup::PopupModeEndCallback (void)
 } } // end of namespace svx::sidebar
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx
index 09ad9f2..3a7929a 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -47,3 +48,4 @@ private:
 #endif
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaNumberingControl.cxx b/svx/source/sidebar/paragraph/ParaNumberingControl.cxx
index d7918cd..6a59759 100644
--- a/svx/source/sidebar/paragraph/ParaNumberingControl.cxx
+++ b/svx/source/sidebar/paragraph/ParaNumberingControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -143,3 +144,4 @@ void ParaNumberingControl::UpdateValueSet()
 
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaNumberingControl.hxx b/svx/source/sidebar/paragraph/ParaNumberingControl.hxx
index 42d8e91..fd4234b 100644
--- a/svx/source/sidebar/paragraph/ParaNumberingControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaNumberingControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -59,3 +60,4 @@ public:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaNumberingPopup.cxx b/svx/source/sidebar/paragraph/ParaNumberingPopup.cxx
index ae25ba6..45a7a1f 100644
--- a/svx/source/sidebar/paragraph/ParaNumberingPopup.cxx
+++ b/svx/source/sidebar/paragraph/ParaNumberingPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -58,3 +59,4 @@ void ParaNumberingPopup::UpdateValueSet ()
 
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx b/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx
index c3b2410..ec62640 100644
--- a/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx
+++ b/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -48,3 +49,4 @@ public :
 
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
index cb14227..d884346 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -1173,3 +1174,5 @@ ParaPropertyPanel::ParaPropertyPanel(Window* pParent,
 }
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
index d6976a1..220945b 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -226,3 +227,4 @@ private:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 32df2b1..b2c3754 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -1183,3 +1184,5 @@ void PosSizePropertyPanel::UpdateUIScale()
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx
index 70434fb..b25b6af 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -194,4 +195,4 @@ private:
 
 #endif // INCLUDED_SVX_SOURCE_SIDEBAR_POSSIZE_POSSIZEPROPERTYPANEL_HXX
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
index 53536f8..88a482c 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -450,3 +451,5 @@ long  TextCharacterSpacingControl::GetLastCustomValue()
 }
 
 }} // end of namespace sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.hxx b/svx/source/sidebar/text/TextCharacterSpacingControl.hxx
index 67b89ee..f0ae669 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingControl.hxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -91,3 +92,5 @@ private:
 }}
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx b/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx
index 29d0bf1..c50cdee 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -73,3 +74,4 @@ void TextCharacterSpacingPopup::PopupModeEndCallback (void)
 
 } } // end of namespace svx::sidebar
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx b/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
index fb27fdb..8f53a06 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -42,3 +43,4 @@ private:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx
index e00f7cc..b381b7c 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.cxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -307,3 +308,5 @@ Color& TextPropertyPanel::GetUnderlineColor()
 }
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextPropertyPanel.hxx b/svx/source/sidebar/text/TextPropertyPanel.hxx
index c9581e8..a863e08 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.hxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -117,3 +118,5 @@ private:
 } } // end of namespace ::svx::sidebar
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextUnderlineControl.cxx b/svx/source/sidebar/text/TextUnderlineControl.cxx
index b1fd5eb..240b351 100644
--- a/svx/source/sidebar/text/TextUnderlineControl.cxx
+++ b/svx/source/sidebar/text/TextUnderlineControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -232,3 +233,5 @@ IMPL_LINK(TextUnderlineControl, PBClickHdl, PushButton *, pPBtn)
 }
 
 }}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextUnderlineControl.hxx b/svx/source/sidebar/text/TextUnderlineControl.hxx
index c55d6ca..4ff4366 100644
--- a/svx/source/sidebar/text/TextUnderlineControl.hxx
+++ b/svx/source/sidebar/text/TextUnderlineControl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -75,3 +76,4 @@ private:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextUnderlinePopup.cxx b/svx/source/sidebar/text/TextUnderlinePopup.cxx
index e494824..1a58d95 100644
--- a/svx/source/sidebar/text/TextUnderlinePopup.cxx
+++ b/svx/source/sidebar/text/TextUnderlinePopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -54,3 +55,4 @@ void TextUnderlinePopup::Rearrange (FontUnderline eLine)
 } } // end of namespace svx::sidebar
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextUnderlinePopup.hxx b/svx/source/sidebar/text/TextUnderlinePopup.hxx
index 71cdf46..54a8279 100644
--- a/svx/source/sidebar/text/TextUnderlinePopup.hxx
+++ b/svx/source/sidebar/text/TextUnderlinePopup.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -41,3 +42,4 @@ public :
 #endif
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/tools/ColorControl.cxx b/svx/source/sidebar/tools/ColorControl.cxx
index 684c5c2..d94db5d 100644
--- a/svx/source/sidebar/tools/ColorControl.cxx
+++ b/svx/source/sidebar/tools/ColorControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -217,3 +218,5 @@ IMPL_LINK(ColorControl, VSSelectHdl, void *, pControl)
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/tools/ColorPopup.cxx b/svx/source/sidebar/tools/ColorPopup.cxx
index 175d277..c8dc104 100644
--- a/svx/source/sidebar/tools/ColorPopup.cxx
+++ b/svx/source/sidebar/tools/ColorPopup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -54,3 +55,5 @@ void ColorPopup::SetCurrentColor (
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx
index 36efa1b..544c611 100644
--- a/svx/source/sidebar/tools/Popup.cxx
+++ b/svx/source/sidebar/tools/Popup.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -146,3 +147,5 @@ IMPL_LINK(Popup, PopupModeEndHandler, void*, EMPTYARG)
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/tools/PopupContainer.cxx b/svx/source/sidebar/tools/PopupContainer.cxx
index 7ac4e95..0bd6661 100644
--- a/svx/source/sidebar/tools/PopupContainer.cxx
+++ b/svx/source/sidebar/tools/PopupContainer.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -51,3 +52,5 @@ bool PopupContainer::Notify (NotifyEvent& rEvent)
 
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/tools/PopupControl.cxx b/svx/source/sidebar/tools/PopupControl.cxx
index a65245d..d20afbe 100644
--- a/svx/source/sidebar/tools/PopupControl.cxx
+++ b/svx/source/sidebar/tools/PopupControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -56,3 +57,5 @@ void PopupControl::Paint (const Rectangle& rBox)
 }
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
index 99de4c4..17638b1 100644
--- a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
+++ b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -536,3 +537,5 @@ void  SvxNumValueSet3::UserDraw( const UserDrawEvent& rUDEvt )
 }
 
 } } // end of namespace svx::sidebar
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/svdraw/sdrundomanager.cxx b/svx/source/svdraw/sdrundomanager.cxx
index cd83720..ecb55c8 100644
--- a/svx/source/svdraw/sdrundomanager.cxx
+++ b/svx/source/svdraw/sdrundomanager.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -131,5 +132,4 @@ bool SdrUndoManager::isTextEditActive() const
     return maEndTextEditHdl.IsSet();
 }
 
-
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/tbxctrls/SvxColorChildWindow.cxx b/svx/source/tbxctrls/SvxColorChildWindow.cxx
index 1ce729e..3ad9104 100644
--- a/svx/source/tbxctrls/SvxColorChildWindow.cxx
+++ b/svx/source/tbxctrls/SvxColorChildWindow.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -45,3 +46,5 @@ SvxColorChildWindow::SvxColorChildWindow( Window* _pParent,
 
     pWin->Initialize( pInfo );
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx
index a2de66a..a98efa1 100644
--- a/svx/source/tbxctrls/SvxColorValueSet.cxx
+++ b/svx/source/tbxctrls/SvxColorValueSet.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -171,3 +172,4 @@ Size SvxColorValueSet::layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntry
     return aNewSize;
 }
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/access/accfield.hxx b/sw/source/core/access/accfield.hxx
index a44dbd8..e50c4c9 100644
--- a/sw/source/core/access/accfield.hxx
+++ b/sw/source/core/access/accfield.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -171,3 +172,4 @@ public:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/access/accnotexthyperlink.hxx b/sw/source/core/access/accnotexthyperlink.hxx
index c885c29..fcc5ed9 100644
--- a/sw/source/core/access/accnotexthyperlink.hxx
+++ b/sw/source/core/access/accnotexthyperlink.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -80,3 +81,4 @@ public:
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/crsr/overlayrangesoutline.hxx b/sw/source/core/crsr/overlayrangesoutline.hxx
index 8d67d9f..53684a7 100644
--- a/sw/source/core/crsr/overlayrangesoutline.hxx
+++ b/sw/source/core/crsr/overlayrangesoutline.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -57,4 +58,4 @@ namespace sw
 
 #endif // INCLUDED_SW_SOURCE_CORE_CRSR_OVERLAYRANGESOUTLINE_HXX
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/unx/gtk3/window/gtk3gloactiongroup.cxx b/vcl/unx/gtk3/window/gtk3gloactiongroup.cxx
index 14a2bbb..7f26437 100644
--- a/vcl/unx/gtk3/window/gtk3gloactiongroup.cxx
+++ b/vcl/unx/gtk3/window/gtk3gloactiongroup.cxx
@@ -1,2 +1,5 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 #include "../../gtk/window/gloactiongroup.cxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/unx/gtk3/window/gtk3glomenu.cxx b/vcl/unx/gtk3/window/gtk3glomenu.cxx
index 3736ac4..6ca68cd 100644
--- a/vcl/unx/gtk3/window/gtk3glomenu.cxx
+++ b/vcl/unx/gtk3/window/gtk3glomenu.cxx
@@ -1,2 +1,5 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 #include "../../gtk/window/glomenu.cxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/unx/gtk3/window/gtk3gtksalmenu.cxx b/vcl/unx/gtk3/window/gtk3gtksalmenu.cxx
index d6c7abe..ef288ba 100644
--- a/vcl/unx/gtk3/window/gtk3gtksalmenu.cxx
+++ b/vcl/unx/gtk3/window/gtk3gtksalmenu.cxx
@@ -1,2 +1,5 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 #include "../../gtk/window/gtksalmenu.cxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/unx/gtk3/window/gtk3hudawareness.cxx b/vcl/unx/gtk3/window/gtk3hudawareness.cxx
index 1a22211..76ea94a 100644
--- a/vcl/unx/gtk3/window/gtk3hudawareness.cxx
+++ b/vcl/unx/gtk3/window/gtk3hudawareness.cxx
@@ -1 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 #include "../../gtk/window/hudawareness.cxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/resourcemodel/qnametostrcore.cxx b/writerfilter/source/resourcemodel/qnametostrcore.cxx
index 0321768..f5d99d5 100644
--- a/writerfilter/source/resourcemodel/qnametostrcore.cxx
+++ b/writerfilter/source/resourcemodel/qnametostrcore.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -49,3 +50,5 @@ QNameToString::QNameToString()
 }
 
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 0b7f82d7cb53ab38988ce85c3436d35f9d8f1af5
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 04:20:38 2014 +0200

    add missing modelines to hrc and src files
    
    Change-Id: I82d9727c4f991c606a19b9eba27732e7e2397db6

diff --git a/svtools/source/control/ruler.src b/svtools/source/control/ruler.src
index bcefa3e..2ca6d2d 100644
--- a/svtools/source/control/ruler.src
+++ b/svtools/source/control/ruler.src
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -26,3 +27,4 @@ String STR_SVT_ACC_RULER_VERT_NAME
     Text[ en-US ] = "Vertical Ruler";
 };
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/EmptyPanel.src b/svx/source/sidebar/EmptyPanel.src
index 3979ec1..2611a6b 100644
--- a/svx/source/sidebar/EmptyPanel.src
+++ b/svx/source/sidebar/EmptyPanel.src
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -27,3 +28,5 @@ Control RID_SIDEBAR_EMPTY_PANEL
         Text [en-US] = "Properties for the task that you are performing are not available for the current selection";
     };
 };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.hrc b/svx/source/sidebar/area/AreaPropertyPanel.hrc
index 39a6283..509b52b 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.hrc
+++ b/svx/source/sidebar/area/AreaPropertyPanel.hrc
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -72,4 +73,4 @@
 #define LEFT_RIGHT_X2    POPUPPANEL_MARGIN_HORIZONTAL+CONTROL_WIDTH+CONTROL_SPACING_HORIZONTAL + ROTATE_BUTTON_SPACING
 #define LEFT_RIGHT_Y2    POPUPPANEL_MARGIN_VERTICAL + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL)+MBOX_HEIGHT+CONTROL_SPACING_VERTICAL - 2
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.src b/svx/source/sidebar/area/AreaPropertyPanel.src
index c0be972..2a0fff9 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.src
+++ b/svx/source/sidebar/area/AreaPropertyPanel.src
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -259,4 +260,4 @@ Control RID_POPUPPANEL_AERAPAGE_COLOR
     };
 };
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LinePropertyPanel.hrc b/svx/source/sidebar/line/LinePropertyPanel.hrc
index 28598db..bff5bb9 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.hrc
+++ b/svx/source/sidebar/line/LinePropertyPanel.hrc
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -54,4 +55,4 @@
 #define STR_WIDTH_LAST_CUSTOM       8
 #define STR_PT          9
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/line/LinePropertyPanel.src b/svx/source/sidebar/line/LinePropertyPanel.src
index c067c40..e5f4b7c 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.src
+++ b/svx/source/sidebar/line/LinePropertyPanel.src
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -179,4 +180,4 @@ Control RID_POPUPPANEL_LINEPAGE_WIDTH
     };
 };
 
-// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hrc b/svx/source/sidebar/paragraph/ParaPropertyPanel.hrc
index 4729c8a..9f5d0c1 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hrc
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hrc
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -138,3 +139,5 @@
 #define FT_2_Y               EDIT_1_Y + CONTROL_HEIGHT + CONTROL_SPACING_VERTICAL - 3
 #define EDIT_2_X             FT_1_X
 #define EDIT_2_Y             FT_2_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.src b/svx/source/sidebar/paragraph/ParaPropertyPanel.src
index 8938c36..840e2c8 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.src
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.src
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -476,3 +477,5 @@ String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
     Text [en-US] = "Brown Arrow";
 };
 //i122118
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextPropertyPanel.hrc b/svx/source/sidebar/text/TextPropertyPanel.hrc
index 5685efa..7f563f7 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.hrc
+++ b/svx/source/sidebar/text/TextPropertyPanel.hrc
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -110,3 +111,5 @@
 #define HID_UNDERLINE_BTN               "SVX_HID_UNDERLINE_BTN"
 #define HID_SPACING_CB_KERN             "SVX_HID_SPACING_CB_KERN"
 #define HID_SPACING_MB_KERN             "SVX_HID_SPACING_MB_KERN"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/text/TextPropertyPanel.src b/svx/source/sidebar/text/TextPropertyPanel.src
index f04aa88..b8f60b9 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.src
+++ b/svx/source/sidebar/text/TextPropertyPanel.src
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -359,3 +360,5 @@ Control RID_POPUPPANEL_TEXTPAGE_SPACING
         Text[ en-US ] = "pt";
     };
 };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit da1425650b0c3e0921d2c9d51d461aca99038650
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 04:18:55 2014 +0200

    add missing modelines to idl files
    
    Change-Id: If52651c70ee659c83ef127da4fe5e266cfe7eec2

diff --git a/cli_ure/qa/climaker/types.idl b/cli_ure/qa/climaker/types.idl
index c1da0de..c9bb612 100644
--- a/cli_ure/qa/climaker/types.idl
+++ b/cli_ure/qa/climaker/types.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -472,3 +473,5 @@ singleton S5 { service S2; };
 
 
 }; }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/qa/cppumaker/types.idl b/cppu/qa/cppumaker/types.idl
index f22d52f..98ed1f8 100644
--- a/cppu/qa/cppumaker/types.idl
+++ b/cppu/qa/cppumaker/types.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -705,3 +706,5 @@ constants Constants {
 };
 
 }; }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/qa/types.idl b/cppu/qa/types.idl
index 8b0ce55..a17b035 100644
--- a/cppu/qa/types.idl
+++ b/cppu/qa/types.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -52,3 +53,5 @@ interface Interface2a: Interface2 {};
 interface Interface2b: Interface2a {};
 
 interface Interface3 {};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/activex/so_activex.idl b/extensions/source/activex/so_activex.idl
index c6a2d8f2..a84dde2 100644
--- a/extensions/source/activex/so_activex.idl
+++ b/extensions/source/activex/so_activex.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -226,3 +227,4 @@ library SO_ACTIVEXLib
 
 };
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/test/ole/AxTestComponents/AxTestComponents.idl b/extensions/test/ole/AxTestComponents/AxTestComponents.idl
index 550eb0c..19a37ce 100644
--- a/extensions/test/ole/AxTestComponents/AxTestComponents.idl
+++ b/extensions/test/ole/AxTestComponents/AxTestComponents.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -246,3 +247,5 @@ library AXTESTCOMPONENTSLib
     };
 
 };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl b/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl
index 7786222..b1a4dfd 100644
--- a/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl
+++ b/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -55,3 +56,5 @@ library EVENTLISTENERLib
         [default] interface IEvtListener;
     };
 };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/test/ole/idl/oletest.idl b/extensions/test/ole/idl/oletest.idl
index 29a4585..b23f20b 100644
--- a/extensions/test/ole/idl/oletest.idl
+++ b/extensions/test/ole/idl/oletest.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -297,3 +298,4 @@ interface XIdentity: com::sun::star::uno::XInterface
 
 }; // oletest
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.idl b/extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.idl
index cee9988..de56aac 100644
--- a/extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.idl
+++ b/extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -140,3 +141,4 @@ library XCALLBACK_IMPLLib
 };
 
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ImageDrawMode.idl b/offapi/com/sun/star/awt/ImageDrawMode.idl
index 1304582..328b068 100644
--- a/offapi/com/sun/star/awt/ImageDrawMode.idl
+++ b/offapi/com/sun/star/awt/ImageDrawMode.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -53,3 +54,5 @@ constants ImageDrawMode
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MessageBoxType.idl b/offapi/com/sun/star/awt/MessageBoxType.idl
index 3275101..eaac922 100644
--- a/offapi/com/sun/star/awt/MessageBoxType.idl
+++ b/offapi/com/sun/star/awt/MessageBoxType.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -50,3 +51,5 @@ published enum MessageBoxType
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl b/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl
index 9da8c20..cb55e78 100644
--- a/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl
+++ b/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -31,3 +32,5 @@ interface XSheetDataProvider : com::sun::star::uno::XInterface
 };};};};};
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/drawing/LineCap.idl b/offapi/com/sun/star/drawing/LineCap.idl
index c48a93b..a2eb39e 100644
--- a/offapi/com/sun/star/drawing/LineCap.idl
+++ b/offapi/com/sun/star/drawing/LineCap.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -41,3 +42,4 @@ published enum LineCap
 
 #endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/frame/ToolbarControllerFactory.idl b/offapi/com/sun/star/frame/ToolbarControllerFactory.idl
index 56e8e3f..201cc4c 100644
--- a/offapi/com/sun/star/frame/ToolbarControllerFactory.idl
+++ b/offapi/com/sun/star/frame/ToolbarControllerFactory.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -35,3 +36,5 @@ service ToolbarControllerFactory : XUIControllerFactory;
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/frame/XUIControllerFactory.idl b/offapi/com/sun/star/frame/XUIControllerFactory.idl
index cdae7b5..a44eed2 100644
--- a/offapi/com/sun/star/frame/XUIControllerFactory.idl
+++ b/offapi/com/sun/star/frame/XUIControllerFactory.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -70,3 +71,5 @@ interface XUIControllerFactory
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/frame/theToolbarControllerFactory.idl b/offapi/com/sun/star/frame/theToolbarControllerFactory.idl
index b0222af..e605346 100644
--- a/offapi/com/sun/star/frame/theToolbarControllerFactory.idl
+++ b/offapi/com/sun/star/frame/theToolbarControllerFactory.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -39,3 +40,5 @@ singleton theToolbarControllerFactory : XUIControllerFactory;
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/graphic/Primitive2DTools.idl b/offapi/com/sun/star/graphic/Primitive2DTools.idl
index a99b460..629165c 100644
--- a/offapi/com/sun/star/graphic/Primitive2DTools.idl
+++ b/offapi/com/sun/star/graphic/Primitive2DTools.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -32,3 +33,5 @@ service Primitive2DTools : XPrimitive2DRenderer;
 } ; } ; } ; } ;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/graphic/SvgTools.idl b/offapi/com/sun/star/graphic/SvgTools.idl
index 2a469bdd..15bdd6c 100644
--- a/offapi/com/sun/star/graphic/SvgTools.idl
+++ b/offapi/com/sun/star/graphic/SvgTools.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -34,3 +35,5 @@ service SvgTools : XSvgParser;
 } ; } ; } ; } ;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/graphic/XPrimitive2DRenderer.idl b/offapi/com/sun/star/graphic/XPrimitive2DRenderer.idl
index d204b79..ce7bad6 100644
--- a/offapi/com/sun/star/graphic/XPrimitive2DRenderer.idl
+++ b/offapi/com/sun/star/graphic/XPrimitive2DRenderer.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -76,3 +77,5 @@ interface XPrimitive2DRenderer : ::com::sun::star::uno::XInterface
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/graphic/XSvgParser.idl b/offapi/com/sun/star/graphic/XSvgParser.idl
index 89ce23f..742fce4 100644
--- a/offapi/com/sun/star/graphic/XSvgParser.idl
+++ b/offapi/com/sun/star/graphic/XSvgParser.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -49,3 +50,5 @@ interface XSvgParser : ::com::sun::star::uno::XInterface
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/smarttags/XRangeBasedSmartTagRecognizer.idl b/offapi/com/sun/star/smarttags/XRangeBasedSmartTagRecognizer.idl
index a3219d7..9a781d6 100644
--- a/offapi/com/sun/star/smarttags/XRangeBasedSmartTagRecognizer.idl
+++ b/offapi/com/sun/star/smarttags/XRangeBasedSmartTagRecognizer.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -63,3 +64,5 @@ interface XRangeBasedSmartTagRecognizer: com::sun::star::lang::XInitialization
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/system/XSimpleMailMessage2.idl b/offapi/com/sun/star/system/XSimpleMailMessage2.idl
index 2108956..8452c94 100644
--- a/offapi/com/sun/star/system/XSimpleMailMessage2.idl
+++ b/offapi/com/sun/star/system/XSimpleMailMessage2.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -34,3 +35,5 @@ interface XSimpleMailMessage2 : XSimpleMailMessage
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/text/XMarkingAccess.idl b/offapi/com/sun/star/text/XMarkingAccess.idl
index 86cd891..35762b6 100644
--- a/offapi/com/sun/star/text/XMarkingAccess.idl
+++ b/offapi/com/sun/star/text/XMarkingAccess.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -32,3 +33,5 @@ interface XMarkingAccess
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ucb/WebDAVHTTPMethod.idl b/offapi/com/sun/star/ucb/WebDAVHTTPMethod.idl
index dc0f5f0..209b4ca 100644
--- a/offapi/com/sun/star/ucb/WebDAVHTTPMethod.idl
+++ b/offapi/com/sun/star/ucb/WebDAVHTTPMethod.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -112,3 +113,5 @@ enum WebDAVHTTPMethod
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/ContextChangeEventMultiplexer.idl b/offapi/com/sun/star/ui/ContextChangeEventMultiplexer.idl
index 874e7968..3ff2ab7 100644
--- a/offapi/com/sun/star/ui/ContextChangeEventMultiplexer.idl
+++ b/offapi/com/sun/star/ui/ContextChangeEventMultiplexer.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -33,3 +34,5 @@ singleton ContextChangeEventMultiplexer : com::sun::star::ui::XContextChangeEven
 }; }; }; }; // com.sun.star.ui
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/ContextChangeEventObject.idl b/offapi/com/sun/star/ui/ContextChangeEventObject.idl
index 3bea40c..a9a9023 100644
--- a/offapi/com/sun/star/ui/ContextChangeEventObject.idl
+++ b/offapi/com/sun/star/ui/ContextChangeEventObject.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -45,3 +46,5 @@ struct ContextChangeEventObject : com::sun::star::lang::EventObject
 
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/LayoutSize.idl b/offapi/com/sun/star/ui/LayoutSize.idl
index c3aa383..ee6f6a7 100644
--- a/offapi/com/sun/star/ui/LayoutSize.idl
+++ b/offapi/com/sun/star/ui/LayoutSize.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -44,3 +45,5 @@ struct LayoutSize
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/XContextChangeEventListener.idl b/offapi/com/sun/star/ui/XContextChangeEventListener.idl
index d969b59..c71fb34 100644
--- a/offapi/com/sun/star/ui/XContextChangeEventListener.idl
+++ b/offapi/com/sun/star/ui/XContextChangeEventListener.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -41,3 +42,5 @@ interface XContextChangeEventListener : ::com::sun::star::lang::XEventListener
 } ; } ; } ; } ;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/XContextChangeEventMultiplexer.idl b/offapi/com/sun/star/ui/XContextChangeEventMultiplexer.idl
index 989f5f0..457158e 100644
--- a/offapi/com/sun/star/ui/XContextChangeEventMultiplexer.idl
+++ b/offapi/com/sun/star/ui/XContextChangeEventMultiplexer.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -123,3 +124,5 @@ interface XContextChangeEventMultiplexer : ::com::sun::star::uno::XInterface
 } ; } ; } ; } ;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/XSidebar.idl b/offapi/com/sun/star/ui/XSidebar.idl
index c47a0d4..9b16659 100644
--- a/offapi/com/sun/star/ui/XSidebar.idl
+++ b/offapi/com/sun/star/ui/XSidebar.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -38,3 +39,5 @@ interface XSidebar
 } ; } ; } ; } ;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/XSidebarPanel.idl b/offapi/com/sun/star/ui/XSidebarPanel.idl
index 25d3f95..268fa72 100644
--- a/offapi/com/sun/star/ui/XSidebarPanel.idl
+++ b/offapi/com/sun/star/ui/XSidebarPanel.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -60,3 +61,5 @@ interface XSidebarPanel
 } ; } ; } ; } ;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/ui/XStatusbarItem.idl b/offapi/com/sun/star/ui/XStatusbarItem.idl
index 2e02d32..adec214 100644
--- a/offapi/com/sun/star/ui/XStatusbarItem.idl
+++ b/offapi/com/sun/star/ui/XStatusbarItem.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -109,3 +110,5 @@ interface XStatusbarItem
 }; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/language_binding.idl b/stoc/test/language_binding.idl
index e9ef5f8..6567f47 100644
--- a/stoc/test/language_binding.idl
+++ b/stoc/test/language_binding.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -166,3 +167,5 @@ interface XLanguageBindingTest : test::XLBTestBase
 
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/registry_tdprovider/types.idl b/stoc/test/registry_tdprovider/types.idl
index ea3339d..2398c60 100644
--- a/stoc/test/registry_tdprovider/types.idl
+++ b/stoc/test/registry_tdprovider/types.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -101,3 +102,5 @@ published constants Consts1 { const long C = 0; };
 constants Consts2 { const long C = 0; };
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types.idl b/stoc/test/tdmanager/types.idl
index 0342211..ecc0e9d 100644
--- a/stoc/test/tdmanager/types.idl
+++ b/stoc/test/tdmanager/types.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -34,3 +35,5 @@ service MyService {
 const long CCC = 5;
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types2_incomp.idl b/stoc/test/tdmanager/types2_incomp.idl
index 2e93a25..cb3b0e0 100644
--- a/stoc/test/tdmanager/types2_incomp.idl
+++ b/stoc/test/tdmanager/types2_incomp.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -27,3 +28,5 @@ module test { module tdmanager {
 const long CCC = 6;
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types3_incomp.idl b/stoc/test/tdmanager/types3_incomp.idl
index 8a78ef5..cb2603f 100644
--- a/stoc/test/tdmanager/types3_incomp.idl
+++ b/stoc/test/tdmanager/types3_incomp.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -22,3 +23,5 @@ module test { module tdmanager {
 struct Struct<T, U> { U s; long n; };
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types4_incomp.idl b/stoc/test/tdmanager/types4_incomp.idl
index 9bbb87d..6a5b112 100644
--- a/stoc/test/tdmanager/types4_incomp.idl
+++ b/stoc/test/tdmanager/types4_incomp.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -31,3 +32,5 @@ service MyService {
 };
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types5.idl b/stoc/test/tdmanager/types5.idl
index 335aae3..0ab9246 100644
--- a/stoc/test/tdmanager/types5.idl
+++ b/stoc/test/tdmanager/types5.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -34,3 +35,5 @@ service MyService {
 const long CCC = 5;
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types5_incomp.idl b/stoc/test/tdmanager/types5_incomp.idl
index 9415d4c..1b23db7 100644
--- a/stoc/test/tdmanager/types5_incomp.idl
+++ b/stoc/test/tdmanager/types5_incomp.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -32,3 +33,5 @@ service MyService {
 };
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/tdmanager/types6_incomp.idl b/stoc/test/tdmanager/types6_incomp.idl
index 6cbc89f..eec313d 100644
--- a/stoc/test/tdmanager/types6_incomp.idl
+++ b/stoc/test/tdmanager/types6_incomp.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -32,3 +33,5 @@ service MyService {
 };
 
 }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/testcorefl.idl b/stoc/test/testcorefl.idl
index 9ad7a2a..540903c 100644
--- a/stoc/test/testcorefl.idl
+++ b/stoc/test/testcorefl.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -89,3 +90,5 @@ module ModuleC
         XInterfaceA methodD([in] ModuleA::ModuleB::EnumA aEnumA) raises (ModuleA::ExceptionA, ModuleA::ExceptionB, ModuleA::ExceptionC);
     };
 };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/test/testintrosp.idl b/stoc/test/testintrosp.idl
index 0f7e348..7f75e7a 100644
--- a/stoc/test/testintrosp.idl
+++ b/stoc/test/testintrosp.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -209,3 +210,5 @@ interface XIntroTest: com::sun::star::uno::XInterface
 //}; }; }; };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOMIDL/AccessibleKeyBinding.idl b/winaccessibility/source/UAccCOMIDL/AccessibleKeyBinding.idl
index ef2b45b..91d17de 100644
--- a/winaccessibility/source/UAccCOMIDL/AccessibleKeyBinding.idl
+++ b/winaccessibility/source/UAccCOMIDL/AccessibleKeyBinding.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -55,3 +56,5 @@ interface IAccessibleKeyBinding : IUnknown
      [out, retval] long *actualKeyStrokeSequenceLength
      );
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOMIDL/AccessibleKeyStroke.idl b/winaccessibility/source/UAccCOMIDL/AccessibleKeyStroke.idl
index 289405a..5166014 100644
--- a/winaccessibility/source/UAccCOMIDL/AccessibleKeyStroke.idl
+++ b/winaccessibility/source/UAccCOMIDL/AccessibleKeyStroke.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -144,3 +145,5 @@ const short FIND = 15;
 const short FINDBACKWARD = 16;
 const short PROPERTIES = 17;
 const short FRONT = 18;
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOMIDL/Charset.idl b/winaccessibility/source/UAccCOMIDL/Charset.idl
index e7835d6..d5bf7ec 100644
--- a/winaccessibility/source/UAccCOMIDL/Charset.idl
+++ b/winaccessibility/source/UAccCOMIDL/Charset.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -28,3 +29,5 @@ const short IBMPC_863 = 7;
 const short IBMPC_865 = 8;
 const short CHARSET_SYSTEM = 9;
 const short SYMBOL = 10;
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOMIDL/UAccCOM.idl b/winaccessibility/source/UAccCOMIDL/UAccCOM.idl
index 347ac4c..18f18a5 100644
--- a/winaccessibility/source/UAccCOMIDL/UAccCOM.idl
+++ b/winaccessibility/source/UAccCOMIDL/UAccCOM.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -202,3 +203,5 @@ library UACCCOMLib
     };
 
 };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOMIDL/defines.idl b/winaccessibility/source/UAccCOMIDL/defines.idl
index 19d4533..2902b4f 100644
--- a/winaccessibility/source/UAccCOMIDL/defines.idl
+++ b/winaccessibility/source/UAccCOMIDL/defines.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -35,3 +36,5 @@ typedef struct Location {
     long m_dWidth;
     long m_dHeight;
 }Location;
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl b/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl
index f014120..00905e7 100644
--- a/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl
+++ b/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*************************************************************************
  *
  *  File Name (api_all_headers.idl)
@@ -5471,3 +5472,5 @@ library IAccessible2Lib
     enum IA2TextBoundaryType;
     enum IA2TextSpecialOffsets;
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 417a537d97490892b0a82918cc1122be55eb1e5d
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 03:24:04 2014 +0200

    some more hrc cleanup
    
    Change-Id: Ia7db5d7b52aadd158584ffaa06e777d8b02f9820

diff --git a/cui/source/customize/cfg.hrc b/cui/source/customize/cfg.hrc
index 3c8d9d5..f4867cb 100644
--- a/cui/source/customize/cfg.hrc
+++ b/cui/source/customize/cfg.hrc
@@ -22,7 +22,7 @@
 #define ID_RENAME (42 + CFG_OFFSET)
 #define ID_MOVE (43 + CFG_OFFSET)
 #define ID_DELETE (44 + CFG_OFFSET)
-#define ID_ADD_SUBMENU (45 + CFG_OFFSET)
+
 #define ID_BEGIN_GROUP (46 + CFG_OFFSET)
 #define ID_DEFAULT_STYLE (47 + CFG_OFFSET)
 #define ID_ICONS_ONLY (48 + CFG_OFFSET)
diff --git a/cui/source/customize/macropg.hrc b/cui/source/customize/macropg.hrc
index fe37cc7..5101a03 100644
--- a/cui/source/customize/macropg.hrc
+++ b/cui/source/customize/macropg.hrc
@@ -23,7 +23,6 @@
 #include <svtools/controldims.hrc>
 
 #define     LB_EVENT                1
-#define     PB_ASSIGN               2
 #define     PB_DELETE               3
 #define     STR_EVENT               4
 #define     STR_ASSMACRO            5
diff --git a/include/sfx2/sidebar/ResourceDefinitions.hrc b/include/sfx2/sidebar/ResourceDefinitions.hrc
index 13077f3..47f97c5 100644
--- a/include/sfx2/sidebar/ResourceDefinitions.hrc
+++ b/include/sfx2/sidebar/ResourceDefinitions.hrc
@@ -35,9 +35,6 @@
 #define STR_MOREPROPERTY_QUICKHELP  3
 
 //about section page
-#define SECTIONPAGE_MARGIN_VERTICAL_TOP     1
-#define SECTIONPAGE_MARGIN_VERTICAL_BOT     5
-#define SECTIONPAGE_MARGIN_HORIZONTAL   3
 #define CONTROL_SPACING_VERTICAL        5
 #define CONTROL_SPACING_HORIZONTAL      3
 #define TEXT_CONTROL_SPACING_VERTICAL   2
diff --git a/svx/source/dialog/docrecovery.hrc b/svx/source/dialog/docrecovery.hrc
index 9ba1e3c..288a125 100644
--- a/svx/source/dialog/docrecovery.hrc
+++ b/svx/source/dialog/docrecovery.hrc
@@ -88,7 +88,6 @@
 #define FT_RECOV_FILELIST           7
 #define LB_RECOV_FILELIST           8
 #define FL_RECOV_BOTTOM             9
-#define BTN_RECOV_PREV              10
 #define BTN_RECOV_NEXT              11
 #define BTN_RECOV_CANCEL            12
 #define STR_HEADERBAR               13
diff --git a/sw/source/ui/table/instable.cxx b/sw/source/ui/table/instable.cxx
index 4b86528..097ad74 100644
--- a/sw/source/ui/table/instable.cxx
+++ b/sw/source/ui/table/instable.cxx
@@ -30,7 +30,6 @@
 #include <viewopt.hxx>
 
 #include "table.hrc"
-#include "instable.hrc"
 
 #include "swabstdlg.hxx"
 
diff --git a/sw/source/ui/table/instable.hrc b/sw/source/ui/table/instable.hrc
deleted file mode 100644
index 32e5506..0000000
--- a/sw/source/ui/table/instable.hrc
+++ /dev/null
@@ -1,25 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#define FT_REPEAT_HEADER    18
-#define NF_REPEAT_HEADER    19
-
-#define WIN_REPEAT_HEADER           25
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/source/secmacrowarnings.hrc b/uui/source/secmacrowarnings.hrc
index 7f7e9ae..5bf8e38 100644
--- a/uui/source/secmacrowarnings.hrc
+++ b/uui/source/secmacrowarnings.hrc
@@ -56,10 +56,6 @@
 #define MW_COL_3                        (MW_COL_4-RSC_CD_PUSHBUTTON_WIDTH)
 #define MW_COL_2                        (MW_COL_3-RSC_SP_CTRL_DESC_X)
 
-#define MW_COL_A                        (DLGS_BOTTOM_OK_X(MW_WIDTH))
-#define MW_COL_C                        (DLGS_BOTTOM_CANCEL_X(MW_WIDTH))
-#define MW_COL_E                        (DLGS_BOTTOM_HELP_X(MW_WIDTH))
-
 #define MW_ROW_0                        (RSC_SP_DLG_INNERBORDER_TOP)
 #define MW_ROW_1                        (MW_ROW_0+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
 #define MW_ROW_2                        (MW_ROW_1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
commit 3cfc75b5cb1fe71f328fae5e81166f3f8223f0ea
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 01:52:16 2014 +0200

    remove odd hack
    
    and move SID_CHAOS_* to the appropriate place
    
    Change-Id: Ib65bf3bb50681a1bb334fe84669defa44eabc9b8

diff --git a/include/sfx2/cntids.hrc b/include/sfx2/cntids.hrc
index 1cb27f3..a680df5 100644
--- a/include/sfx2/cntids.hrc
+++ b/include/sfx2/cntids.hrc
@@ -22,22 +22,9 @@
 
 #include <svl/solar.hrc>
 
-// Slot-ID's -----------------------------------------------------------------
-
-#ifndef SID_SFX_START
-// HACK() - SID's may not change its numerical value just like that,
-//          sfxsids.hrc may not be included!!! Solution: sfxsids.hrc
-//          include it on a lower level - for example svtools???
-#define SID_SFX_START                   5000
-#endif
 #define SID_TITLE                       (SID_SFX_START + 307)
 #define SID_DELETE                      (SID_SFX_START + 713)
 
-// Don't let SID_CHAOS_END grow. Internal docking windows use the range between
-// SID_CHAOS_END and SID_LIB_START!! Look into sfxsids.hrc for more information!
-#define SID_CHAOS_START                 9000
-#define SID_CHAOS_END                   9799
-
 #define SID_DISTRIBUTION                (SID_CHAOS_START + 26)
 #define SID_INSERT                      (SID_CHAOS_START + 90)
 #define SID_VIEW_FLD_PIC                (SID_CHAOS_START + 185)
diff --git a/include/svl/solar.hrc b/include/svl/solar.hrc
index bef9d31..0e7185f 100644
--- a/include/svl/solar.hrc
+++ b/include/svl/solar.hrc
@@ -165,6 +165,8 @@
 
 #define SID_SFX_START                5000
 //      SID_SFX_END                  8999
+#define SID_CHAOS_START              9000
+//      SID_CHAOS_END                9799
 #define SID_DOCKWIN_START            9800
 //      SID_DOCKWIN_END              9999
 
commit 392ce6a9ecc8f3d2ba93e7a7d50994b3d67006b6
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 01:30:39 2014 +0200

    fix double allocation
    
    Change-Id: Ie9eaf51d1fc74c3cddf88f79af0d60086dc625a5

diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc
index b9daddf..17381b3 100644
--- a/include/sfx2/sfxsids.hrc
+++ b/include/sfx2/sfxsids.hrc
@@ -512,8 +512,7 @@
 #define SID_SIGNATURE                       (SID_SFX_START + 1643)
 
 #define SID_FRAMEDESCRIPTOR                 (SID_SFX_START + 1229)
-
-#define SID_INSERT_3DMODEL                  (SID_SFX_START + 1229)
+#define SID_INSERT_3DMODEL                  (SID_SFX_START + 1230)
 
 // SaveTabPage
 #define SID_ATTR_DOCINFO                (SID_OPTIONS_START +  0)
commit 33ec56e2a32c06fe59c655e4f651b8bc3222737a
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 01:17:11 2014 +0200

    remove obsolete comment
    
    c++ style comments are already used at the bottom of the file.
    
    moreover the c file doesn't exist anymore...
    
    Change-Id: I17a1589bdbad138971696ac9255dd75fbe078815

diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index d8fdc2e..8f49675 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -17,11 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-/******************************************************************************
-Attention : "In this file C++ style // comments are not allowed as it will be
-included in c-context files, so c++ style stuff will cause problems.
-******************************************************************************/
-
 #ifndef INCLUDED_SW_INC_CMDID_H
 #define INCLUDED_SW_INC_CMDID_H
 
commit c309a4855e125cd2c5eb42af3ddd5aa80063b374
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Apr 24 01:13:40 2014 +0200

    chrdlg.hrc: some kind of cleanup
    
    DLG_PARA and DLG_DRAWPARA are unused. So remove them and clean up.
    
    Change-Id: Ie8beea17b16590fe51fcf944371cb494fe2055b4

diff --git a/sw/inc/chrdlg.hrc b/sw/inc/chrdlg.hrc
index 9280ead..1435c89 100644
--- a/sw/inc/chrdlg.hrc
+++ b/sw/inc/chrdlg.hrc
@@ -22,23 +22,18 @@
 
 #include "rcid.hrc"
 
-#define DLG_PARA                (RC_CHRDLG_BEGIN +  2)
-#define DLG_DRAWPARA            (RC_CHRDLG_BEGIN + 10)
-
-// Tabpages -> now in globals.hrc
-
 #define MSG_ILLEGAL_PAGENUM     (RC_CHRDLG_BEGIN +  1)
 #define STR_TEXTCOLL_HEADER     (RC_CHRDLG_BEGIN +  2)
 #define STR_PAGEFMT_HEADER      (RC_CHRDLG_BEGIN +  4)
 
-#define CHRDLG_ACT_END  DLG_DRAWPARA
+#define DLG_SWDROPCAPS          (RC_CHRDLG_BEGIN + 11)
+
+#define CHRDLG_ACT_END  DLG_SWDROPCAPS
 
 #if CHRDLG_ACT_END > RC_CHRDLG_END
 #error Resource-Id overflow in #file, #line
 #endif
 
-#define DLG_SWDROPCAPS            (RC_CHRDLG_BEGIN + 11)
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list