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 --- store/inc/pch/precompiled_store.cxx | 2 ++ store/inc/pch/precompiled_store.hxx | 2 ++ store/inc/store/store.hxx | 2 ++ store/source/lockbyte.cxx | 3 +++ store/source/lockbyte.hxx | 2 ++ store/source/object.cxx | 3 +++ store/source/object.hxx | 3 +++ store/source/storbase.cxx | 3 +++ store/source/storbase.hxx | 3 +++ store/source/storbios.cxx | 3 +++ store/source/storbios.hxx | 3 +++ store/source/storcach.cxx | 3 +++ store/source/storcach.hxx | 2 ++ store/source/stordata.cxx | 3 +++ store/source/stordata.hxx | 2 ++ store/source/stordir.cxx | 3 +++ store/source/stordir.hxx | 2 ++ store/source/store.cxx | 3 +++ store/source/storlckb.cxx | 3 +++ store/source/storlckb.hxx | 2 ++ store/source/storpage.cxx | 3 +++ store/source/storpage.hxx | 2 ++ store/source/stortree.cxx | 3 +++ store/source/stortree.hxx | 3 +++ store/workben/t_base.cxx | 3 +++ store/workben/t_file.cxx | 3 +++ store/workben/t_leak.cxx | 3 +++ store/workben/t_page.cxx | 3 +++ store/workben/t_store.cxx | 3 +++ 29 files changed, 78 insertions(+) (limited to 'store') diff --git a/store/inc/pch/precompiled_store.cxx b/store/inc/pch/precompiled_store.cxx index fa23aac43f84..7fe9c284c5a6 100644 --- a/store/inc/pch/precompiled_store.cxx +++ b/store/inc/pch/precompiled_store.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_store.hxx" +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/inc/pch/precompiled_store.hxx b/store/inc/pch/precompiled_store.hxx index c6e74b3424bc..fe00b2bb716b 100644 --- a/store/inc/pch/precompiled_store.hxx +++ b/store/inc/pch/precompiled_store.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/store/inc/store/store.hxx b/store/inc/store/store.hxx index 8e90de321345..e4970845d38b 100644 --- a/store/inc/store/store.hxx +++ b/store/inc/store/store.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. @@ -607,3 +608,4 @@ private: +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx index f1145a029c29..40c098f52ac4 100644 --- a/store/source/lockbyte.cxx +++ b/store/source/lockbyte.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. @@ -945,3 +946,5 @@ MemoryLockBytes_createInstance ( } } // namespace store + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/lockbyte.hxx b/store/source/lockbyte.hxx index 8d2c4a490786..a1fa369e9bcb 100644 --- a/store/source/lockbyte.hxx +++ b/store/source/lockbyte.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. @@ -172,3 +173,4 @@ MemoryLockBytes_createInstance ( #endif /* !_STORE_LOCKBYTE_HXX_ */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/object.cxx b/store/source/object.cxx index 40c1cfbbee9c..bebb5f0a170c 100644 --- a/store/source/object.cxx +++ b/store/source/object.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. @@ -110,3 +111,5 @@ oslInterlockedCount SAL_CALL OStoreObject::release (void) } } // namespace store + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/object.hxx b/store/source/object.hxx index 17fdc7f4c0e1..4468e63a5d69 100644 --- a/store/source/object.hxx +++ b/store/source/object.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. @@ -130,3 +131,5 @@ SAL_CALL query (IStoreHandle *pHandle, OStoreObject*) } // namespace store #endif /* !_STORE_OBJECT_HXX_ */ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storbase.cxx b/store/source/storbase.cxx index 6eb005e453d8..78e311b28fa0 100644 --- a/store/source/storbase.cxx +++ b/store/source/storbase.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. @@ -195,3 +196,5 @@ PageData::Allocator::createInstance (rtl::Reference< PageData::Allocator > & rxA OStorePageObject::~OStorePageObject (void) { } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx index 9c1e4ea985bf..24a2cc71bab6 100644 --- a/store/source/storbase.hxx +++ b/store/source/storbase.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. @@ -952,3 +953,5 @@ inline void OStorePageObject::location (sal_uInt32 nAddr) } // namespace store #endif /* !_STORE_STORBASE_HXX_ */ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index d2612d60b3db..b5f247bf4a99 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.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. @@ -1127,3 +1128,5 @@ storeError OStorePageBIOS::scanNext ( // Done. return store_E_CantSeek; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx index 439089d41bd6..74cfdc131584 100644 --- a/store/source/storbios.hxx +++ b/store/source/storbios.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. @@ -265,3 +266,5 @@ inline bool OStorePageBIOS::ScanContext::isValid (void) const } // namespace store #endif /* !_STORE_STORBIOS_HXX_ */ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index f0e216575277..c01cc32c80b1 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.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. @@ -559,3 +560,5 @@ PageCache_createInstance ( } } // namespace store + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storcach.hxx b/store/source/storcach.hxx index 7f56a8d83075..1b8af30496bb 100644 --- a/store/source/storcach.hxx +++ b/store/source/storcach.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. @@ -110,3 +111,4 @@ PageCache_createInstance ( #endif /* !_STORE_STORCACH_HXX */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stordata.cxx b/store/source/stordata.cxx index 901da15c8040..689a39564af6 100644 --- a/store/source/stordata.cxx +++ b/store/source/stordata.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. @@ -1128,3 +1129,5 @@ storeError OStoreDirectoryPageObject::truncate ( // Invalid scope. return store_E_InvalidAccess; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx index 01ea2c0f86ec..61625c32c046 100644 --- a/store/source/stordata.hxx +++ b/store/source/stordata.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. @@ -868,3 +869,4 @@ private: #endif /* !_STORE_STORDATA_HXX_ */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stordir.cxx b/store/source/stordir.cxx index b9344234a4f7..01d4357a2a46 100644 --- a/store/source/stordir.cxx +++ b/store/source/stordir.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. @@ -221,3 +222,5 @@ storeError OStoreDirectory_Impl::iterate (storeFindData &rFindData) memset (&rFindData, 0, sizeof (storeFindData)); return store_E_NoMoreFiles; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stordir.hxx b/store/source/stordir.hxx index 3446c4a19080..749fa6baa850 100644 --- a/store/source/stordir.hxx +++ b/store/source/stordir.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. @@ -133,3 +134,4 @@ SAL_CALL query (IStoreHandle *pHandle, OStoreDirectory_Impl*) #endif /* !_STORE_STORDIR_HXX_ */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/store.cxx b/store/source/store.cxx index fdcce8dd2d00..a77b34acc9ca 100644 --- a/store/source/store.cxx +++ b/store/source/store.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. @@ -763,3 +764,5 @@ storeError SAL_CALL store_remove ( // Remove. return xManager->remove (aKey); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storlckb.cxx b/store/source/storlckb.cxx index 5a02131d53eb..658ec52646b6 100644 --- a/store/source/storlckb.cxx +++ b/store/source/storlckb.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. @@ -449,3 +450,5 @@ storeError OStoreLockBytes::stat (sal_uInt32 &rnSize) rnSize = aPage.dataLength(); return store_E_None; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storlckb.hxx b/store/source/storlckb.hxx index fd6ef7384613..9902863581f6 100644 --- a/store/source/storlckb.hxx +++ b/store/source/storlckb.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. @@ -169,3 +170,4 @@ SAL_CALL query (IStoreHandle *pHandle, OStoreLockBytes*) #endif /* !_STORE_STORLCKB_HXX_ */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storpage.cxx b/store/source/storpage.cxx index a49e850061b6..ef88986d0f65 100644 --- a/store/source/storpage.cxx +++ b/store/source/storpage.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. @@ -1055,3 +1056,5 @@ storeError OStorePageManager::rebuild ( // Done. return store_E_None; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storpage.hxx b/store/source/storpage.hxx index bd5d60a72d3c..58e6b15356b6 100644 --- a/store/source/storpage.hxx +++ b/store/source/storpage.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. @@ -224,3 +225,4 @@ SAL_CALL query (IStoreHandle *pHandle, OStorePageManager*) #endif /* !_STORE_STORPAGE_HXX_ */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx index 23d7ca778961..58bcebad70b8 100644 --- a/store/source/stortree.cxx +++ b/store/source/stortree.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. @@ -580,3 +581,5 @@ storeError OStoreBTreeRootObject::find_insert ( (void) testInvariant("OStoreBTreeRootObject::find_insert(): leave"); return store_E_None; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stortree.hxx b/store/source/stortree.hxx index 820b270b3649..63443e098e46 100644 --- a/store/source/stortree.hxx +++ b/store/source/stortree.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. @@ -343,3 +344,5 @@ private: } // namespace store #endif /* !_STORE_STORTREE_HXX */ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/workben/t_base.cxx b/store/workben/t_base.cxx index 7f99c287a210..b6f286444a01 100644 --- a/store/workben/t_base.cxx +++ b/store/workben/t_base.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. @@ -369,3 +370,5 @@ int SAL_CALL main (int argc, char **argv) xBIOS.clear(); return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/workben/t_file.cxx b/store/workben/t_file.cxx index f03b0346db4c..ab14b4b1111c 100644 --- a/store/workben/t_file.cxx +++ b/store/workben/t_file.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. @@ -242,3 +243,5 @@ int SAL_CALL main (int argc, char **argv) xLockBytes.clear(); return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/workben/t_leak.cxx b/store/workben/t_leak.cxx index d4d7b8a840e1..0ec6240fb7e4 100644 --- a/store/workben/t_leak.cxx +++ b/store/workben/t_leak.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * t_leak.cxx */ @@ -17,3 +18,5 @@ #endif return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/workben/t_page.cxx b/store/workben/t_page.cxx index a0645f00bc58..8efdf333d5f1 100644 --- a/store/workben/t_page.cxx +++ b/store/workben/t_page.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * t_page.cxx */ @@ -1572,3 +1573,5 @@ int SAL_CALL main (int argc, char ** argv) return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/workben/t_store.cxx b/store/workben/t_store.cxx index 88e77cb07196..53b01955fbc2 100644 --- a/store/workben/t_store.cxx +++ b/store/workben/t_store.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. @@ -603,3 +604,5 @@ int SAL_CALL main (int argc, char **argv) return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit