From a715e1b3d0336100af37b65cb87252bce01c2e84 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 14 Oct 2010 08:30:07 +0200 Subject: Add vim/emacs modelines to all source files Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth --- registry/inc/pch/precompiled_registry.cxx | 2 ++ registry/inc/pch/precompiled_registry.hxx | 2 ++ registry/inc/registry/reader.hxx | 3 +++ registry/inc/registry/reflread.hxx | 3 +++ registry/inc/registry/refltype.hxx | 3 +++ registry/inc/registry/reflwrit.hxx | 3 +++ registry/inc/registry/registry.hxx | 3 +++ registry/inc/registry/writer.hxx | 3 +++ registry/source/keyimpl.cxx | 3 +++ registry/source/keyimpl.hxx | 2 ++ registry/source/reflcnst.hxx | 2 ++ registry/source/reflread.cxx | 3 +++ registry/source/reflwrit.cxx | 3 +++ registry/source/regimpl.cxx | 3 +++ registry/source/regimpl.hxx | 2 ++ registry/source/registry.cxx | 2 ++ registry/source/regkey.cxx | 3 +++ registry/source/regkey.hxx | 3 +++ registry/test/testmerge.cxx | 2 ++ registry/test/testregcpp.cxx | 2 ++ registry/tools/checksingleton.cxx | 2 ++ registry/tools/regcompare.cxx | 2 ++ registry/tools/regmerge.cxx | 2 ++ registry/tools/regview.cxx | 2 ++ registry/workben/regspeed.cxx | 2 ++ registry/workben/regtest.cxx | 2 ++ registry/workben/test.cxx | 2 ++ 27 files changed, 66 insertions(+) (limited to 'registry') diff --git a/registry/inc/pch/precompiled_registry.cxx b/registry/inc/pch/precompiled_registry.cxx index 23c19ddd1599..81ccbc19b576 100644 --- a/registry/inc/pch/precompiled_registry.cxx +++ b/registry/inc/pch/precompiled_registry.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -27,3 +28,4 @@ #include "precompiled_registry.hxx" +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/pch/precompiled_registry.hxx b/registry/inc/pch/precompiled_registry.hxx index 7709276aefa4..0b647d0fd083 100644 --- a/registry/inc/pch/precompiled_registry.hxx +++ b/registry/inc/pch/precompiled_registry.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -30,3 +31,4 @@ #ifdef PRECOMPILED_HEADERS #endif +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/reader.hxx b/registry/inc/registry/reader.hxx index 30e5abb148aa..cbb0c68f8d30 100644 --- a/registry/inc/registry/reader.hxx +++ b/registry/inc/registry/reader.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -630,3 +631,5 @@ private: } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/reflread.hxx b/registry/inc/registry/reflread.hxx index 4b964ee8a013..9b480d57b390 100644 --- a/registry/inc/registry/reflread.hxx +++ b/registry/inc/registry/reflread.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -517,3 +518,5 @@ inline RTFieldAccess RegistryTypeReader::getReferenceAccess( sal_uInt16 index ) { return m_pApi->getReferenceAccess(m_hImpl, index); } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/refltype.hxx b/registry/inc/registry/refltype.hxx index 27634e9dce28..b1267e4097e7 100644 --- a/registry/inc/registry/refltype.hxx +++ b/registry/inc/registry/refltype.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -84,3 +85,5 @@ struct RTUik #define TYPEREG_CALLTYPE SAL_CALL #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/reflwrit.hxx b/registry/inc/registry/reflwrit.hxx index 0046b8829810..2a326c5c40fb 100644 --- a/registry/inc/registry/reflwrit.hxx +++ b/registry/inc/registry/reflwrit.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -353,3 +354,5 @@ inline void RegistryTypeWriter::setReferenceData( sal_uInt16 inde } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/registry.hxx b/registry/inc/registry/registry.hxx index 7ded0738cd72..0ae9136fcf1d 100644 --- a/registry/inc/registry/registry.hxx +++ b/registry/inc/registry/registry.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1256,3 +1257,5 @@ inline RegError Registry::dumpRegistry(RegistryKey& rKey) #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/writer.hxx b/registry/inc/registry/writer.hxx index 50bf542024b8..ce7433c31129 100644 --- a/registry/inc/registry/writer.hxx +++ b/registry/inc/registry/writer.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -301,3 +302,5 @@ private: } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index 9496aee84d8e..4603ce41d163 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1076,3 +1077,5 @@ OUString ORegKey::getFullPath(OUString const & path) const { } return b.makeStringAndClear(); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/keyimpl.hxx b/registry/source/keyimpl.hxx index c2558b4f8394..a384d2024953 100644 --- a/registry/source/keyimpl.hxx +++ b/registry/source/keyimpl.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -149,3 +150,4 @@ private: #endif +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/reflcnst.hxx b/registry/source/reflcnst.hxx index 4b64a1ad61ea..8d682d9a966b 100644 --- a/registry/source/reflcnst.hxx +++ b/registry/source/reflcnst.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -293,3 +294,4 @@ sal_uInt32 UINT16StringLen(const sal_uInt8* wstring); +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index a61b5e5f58fa..cc098171c183 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1772,3 +1773,5 @@ RegistryTypeReader_Api* TYPEREG_CALLTYPE initRegistryTypeReader_Api(void) } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx index 442951849b02..c6e3d88328af 100644 --- a/registry/source/reflwrit.cxx +++ b/registry/source/reflwrit.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1489,3 +1490,5 @@ RegistryTypeWriter_Api* TYPEREG_CALLTYPE initRegistryTypeWriter_Api(void) } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index c5c1124eb20e..a3079c7fc123 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1754,3 +1755,5 @@ RegError ORegistry::dumpKey(const OUString& sPath, const OUString& sName, sal_In return REG_NO_ERROR; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx index 7523bb586749..bbb4a5b2016d 100644 --- a/registry/source/regimpl.hxx +++ b/registry/source/regimpl.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -182,3 +183,4 @@ private: #endif +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx index ea858f062f51..ecb1a44ec069 100644 --- a/registry/source/registry.cxx +++ b/registry/source/registry.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -630,3 +631,4 @@ RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/regkey.cxx b/registry/source/regkey.cxx index c65de7e3e2ca..6ea83afe6a54 100644 --- a/registry/source/regkey.cxx +++ b/registry/source/regkey.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1020,3 +1021,5 @@ RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey, return getResolvedKeyName(hKey, keyName, firstLinkOnly, pResolvedName); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/source/regkey.hxx b/registry/source/regkey.hxx index 4a9e711e28af..0503c05772c9 100644 --- a/registry/source/regkey.hxx +++ b/registry/source/regkey.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -78,3 +79,5 @@ RegError REGISTRY_CALLTYPE freeKeyNames(rtl_uString**, sal_uInt32); } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/test/testmerge.cxx b/registry/test/testmerge.cxx index 35c32f751fa6..6e4f31419eba 100644 --- a/registry/test/testmerge.cxx +++ b/registry/test/testmerge.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -420,3 +421,4 @@ void test_merge() } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/test/testregcpp.cxx b/registry/test/testregcpp.cxx index 398936c40e3e..ef3f2e37ee03 100644 --- a/registry/test/testregcpp.cxx +++ b/registry/test/testregcpp.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -705,3 +706,4 @@ void test_registry_CppApi() } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/tools/checksingleton.cxx b/registry/tools/checksingleton.cxx index 4353721ad0b0..1eb3dd09ca7c 100644 --- a/registry/tools/checksingleton.cxx +++ b/registry/tools/checksingleton.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -481,3 +482,4 @@ int _cdecl main( int argc, char * argv[] ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index 4e95d884de30..ec821a314fcb 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -2397,3 +2398,4 @@ int _cdecl main( int argc, char * argv[] ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/tools/regmerge.cxx b/registry/tools/regmerge.cxx index 06786a9b993e..81568a282128 100644 --- a/registry/tools/regmerge.cxx +++ b/registry/tools/regmerge.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -280,3 +281,4 @@ int _cdecl main( int argc, char * argv[] ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/tools/regview.cxx b/registry/tools/regview.cxx index 4e478e8985db..88c1632de867 100644 --- a/registry/tools/regview.cxx +++ b/registry/tools/regview.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -159,3 +160,4 @@ int _cdecl main( int argc, char * argv[] ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/workben/regspeed.cxx b/registry/workben/regspeed.cxx index 21a67c89ed35..4cf828986abd 100644 --- a/registry/workben/regspeed.cxx +++ b/registry/workben/regspeed.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -269,3 +270,4 @@ int _cdecl main( int argc, char * argv[] ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/workben/regtest.cxx b/registry/workben/regtest.cxx index ace25ed64d86..b3b2f5004755 100644 --- a/registry/workben/regtest.cxx +++ b/registry/workben/regtest.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -338,3 +339,4 @@ int _cdecl main() } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/workben/test.cxx b/registry/workben/test.cxx index 98b49618ea60..d869cda1aab4 100644 --- a/registry/workben/test.cxx +++ b/registry/workben/test.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -52,3 +53,4 @@ int _cdecl main() } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit