diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-10-14 08:30:07 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-10-14 17:04:31 +0200 |
commit | dbd73bad796006a07a6cde72e0ca6508eb074c52 (patch) | |
tree | d0237f4093384bc7fdfce32e72bac72be5b1eaaa /registry | |
parent | ee94e63444cf9e0b436e6c2ddcc5c7c74affd828 (diff) |
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 <Sebastian@SSpaeth.de>
Diffstat (limited to 'registry')
27 files changed, 66 insertions, 0 deletions
diff --git a/registry/inc/pch/precompiled_registry.cxx b/registry/inc/pch/precompiled_registry.cxx index d56330b4f..e39f4c76c 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 6076d3010..1a0f2cd18 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 c5f27fe22..9ed55e4c9 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 078ab8974..c3e2f7e1c 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 a1f5244d0..8ebae745a 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 1b5506799..2fc162990 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 index, } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/registry/inc/registry/registry.hxx b/registry/inc/registry/registry.hxx index b7a2f4529..13bcac610 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 dfc6a20fd..e9edca7cf 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 5ecfc44dd..e1576acd3 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 68cec17a7..cab08a6e5 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 b855f7cca..323d5b30e 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 bb3b3b69d..2c5363212 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 d39e35fc0..ebb792f5e 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 fa436e5ce..2dcd4bc2d 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 eb687c0ff..1bd3abc5f 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 42dd6948e..7e2c09bad 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 fb97602f2..d700793eb 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 64318e319..557da4086 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 0ca062ee5..b4a1036a1 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 355c4188f..96011941d 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 0b83d59bb..c1df735a3 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 b4b30e481..1aab2adc8 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 8c310d733..c95ee72c5 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 480772b11..d46c2fa76 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 c24d08ad4..fb9cb41ef 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 dfe65a98f..d0a306282 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 6b273d1a6..add3421d4 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: */ |