summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-10-14 08:30:07 +0200
committerJan Holesovsky <kendy@suse.cz>2010-10-14 17:04:31 +0200
commitdbd73bad796006a07a6cde72e0ca6508eb074c52 (patch)
treed0237f4093384bc7fdfce32e72bac72be5b1eaaa /store
parentee94e63444cf9e0b436e6c2ddcc5c7c74affd828 (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 'store')
-rw-r--r--store/inc/pch/precompiled_store.cxx2
-rw-r--r--store/inc/pch/precompiled_store.hxx2
-rw-r--r--store/inc/store/store.hxx2
-rw-r--r--store/source/lockbyte.cxx3
-rw-r--r--store/source/lockbyte.hxx2
-rw-r--r--store/source/object.cxx3
-rw-r--r--store/source/object.hxx3
-rw-r--r--store/source/storbase.cxx3
-rw-r--r--store/source/storbase.hxx3
-rw-r--r--store/source/storbios.cxx3
-rw-r--r--store/source/storbios.hxx3
-rw-r--r--store/source/storcach.cxx3
-rw-r--r--store/source/storcach.hxx2
-rw-r--r--store/source/stordata.cxx3
-rw-r--r--store/source/stordata.hxx2
-rw-r--r--store/source/stordir.cxx3
-rw-r--r--store/source/stordir.hxx2
-rw-r--r--store/source/store.cxx3
-rw-r--r--store/source/storlckb.cxx3
-rw-r--r--store/source/storlckb.hxx2
-rw-r--r--store/source/storpage.cxx3
-rw-r--r--store/source/storpage.hxx2
-rw-r--r--store/source/stortree.cxx3
-rw-r--r--store/source/stortree.hxx3
-rw-r--r--store/workben/t_base.cxx3
-rw-r--r--store/workben/t_file.cxx3
-rw-r--r--store/workben/t_leak.cxx3
-rw-r--r--store/workben/t_page.cxx3
-rw-r--r--store/workben/t_store.cxx3
29 files changed, 78 insertions, 0 deletions
diff --git a/store/inc/pch/precompiled_store.cxx b/store/inc/pch/precompiled_store.cxx
index ecfa6241f..9282f156d 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 f33c74f86..7de7d6fe1 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 edd12cb9e..f053e8fc9 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 2a65daf4f..02e4607bd 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 f95517597..f41dbae31 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 35f840b20..3e818efc7 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 b47bcfeca..0d71ffa78 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 fcc7a0c06..8db623e59 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 e2d23d87f..c937ab937 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 f823adc8e..47d947c87 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 499675f95..a74304660 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 f54008d8d..201f99753 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 dd194657c..feee20974 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 0ff0d6ac9..853aa1521 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 5cf1eb861..f1b806bde 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 81c514491..a700e6baa 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 446dadb09..b4903e38b 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 f1242cc42..d0316c4b7 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 ac1a95378..31035208a 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 828b97cbb..e44d87b6e 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 a3fe03c0c..485a3ea6b 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 e492473d1..1d7743ac7 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 67610a1af..4aa784d8d 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 d6dad8671..14f95852f 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 087e7200d..4c7524aef 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 3f3b0f48f..bcba16445 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 d4d7b8a84..0ec6240fb 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 a0645f00b..8efdf333d 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 110223a9d..7002006aa 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: */