summaryrefslogtreecommitdiff
path: root/sal/rtl/source
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
commita715e1b3d0336100af37b65cb87252bce01c2e84 (patch)
tree195ad614a9c929c07ee590a2b4633405c9974ac4 /sal/rtl/source
parent7b5a50e4edacdfec8ba26a2787fba5bb4753e3ca (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 'sal/rtl/source')
-rw-r--r--sal/rtl/source/bootstrap.cxx3
-rw-r--r--sal/rtl/source/cmdargs.cxx3
-rw-r--r--sal/rtl/source/debugprint.cxx3
-rw-r--r--sal/rtl/source/gen_makefile.cxx2
-rw-r--r--sal/rtl/source/hash.cxx3
-rw-r--r--sal/rtl/source/logfile.cxx3
-rw-r--r--sal/rtl/source/macro.hxx2
-rw-r--r--sal/rtl/source/math.cxx3
-rw-r--r--sal/rtl/source/memory_fini.cxx3
-rw-r--r--sal/rtl/source/unload.cxx3
-rw-r--r--sal/rtl/source/uri.cxx3
-rw-r--r--sal/rtl/source/uuid.cxx2
12 files changed, 33 insertions, 0 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index cc7d3336c2d2..fdeff93fd769 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.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.
@@ -1057,3 +1058,5 @@ rtl::OUString expandMacros(
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/cmdargs.cxx b/sal/rtl/source/cmdargs.cxx
index dc14cf59d031..ed44843b11cc 100644
--- a/sal/rtl/source/cmdargs.cxx
+++ b/sal/rtl/source/cmdargs.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.
@@ -107,3 +108,5 @@ sal_uInt32 SAL_CALL rtl_getAppCommandArgCount (void)
init();
return g_nCommandArgCount;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/debugprint.cxx b/sal/rtl/source/debugprint.cxx
index 9b86ca077446..625efc30055c 100644
--- a/sal/rtl/source/debugprint.cxx
+++ b/sal/rtl/source/debugprint.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.
@@ -56,3 +57,5 @@ const sal_Char *dbg_dump(rtl_uString *pStr)
}
/* vi:set tabstop=4 shiftwidth=4 expandtab: */
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/gen_makefile.cxx b/sal/rtl/source/gen_makefile.cxx
index 0b11c11d06c9..9bdbe5a1f39a 100644
--- a/sal/rtl/source/gen_makefile.cxx
+++ b/sal/rtl/source/gen_makefile.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.
@@ -39,3 +40,4 @@ int main()
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/hash.cxx b/sal/rtl/source/hash.cxx
index aee80cb07ac7..5fffe72dd4cd 100644
--- a/sal/rtl/source/hash.cxx
+++ b/sal/rtl/source/hash.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.
@@ -237,3 +238,5 @@ rtl_str_hash_remove (rtl_uString *pString)
}
// FIXME: Should we down-size ?
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/logfile.cxx b/sal/rtl/source/logfile.cxx
index 1bc115354ee9..ff7e6899f1ff 100644
--- a/sal/rtl/source/logfile.cxx
+++ b/sal/rtl/source/logfile.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.
@@ -248,3 +249,5 @@ extern "C" sal_Bool SAL_CALL rtl_logfile_hasLogFile( void ) {
init();
return g_buffer != 0;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/macro.hxx b/sal/rtl/source/macro.hxx
index f704422c05c7..8ae03eab2aec 100644
--- a/sal/rtl/source/macro.hxx
+++ b/sal/rtl/source/macro.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 @@ this is inserted for the case that the preprocessor ignores error
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx
index d983c5726230..3c0d5ef48b53 100644
--- a/sal/rtl/source/math.cxx
+++ b/sal/rtl/source/math.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.
@@ -1263,3 +1264,5 @@ double SAL_CALL rtl_math_acosh( double fX ) SAL_THROW_EXTERN_C()
else
return log( 2.0*fX);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/memory_fini.cxx b/sal/rtl/source/memory_fini.cxx
index f88f09887595..a0fb012ff6a5 100644
--- a/sal/rtl/source/memory_fini.cxx
+++ b/sal/rtl/source/memory_fini.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,5 @@ RTL_Memory_Fini::~RTL_Memory_Fini() {
static RTL_Memory_Fini rtl_Memory_Fini;
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/unload.cxx b/sal/rtl/source/unload.cxx
index ba31bd9c86f9..18bedabc9bd9 100644
--- a/sal/rtl/source/unload.cxx
+++ b/sal/rtl/source/unload.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.
@@ -415,3 +416,5 @@ static void rtl_notifyUnloadingListeners()
callbackFunc( it->second.second);
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/uri.cxx b/sal/rtl/source/uri.cxx
index 551c4f199251..c67b4fdd23b1 100644
--- a/sal/rtl/source/uri.cxx
+++ b/sal/rtl/source/uri.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.
@@ -797,3 +798,5 @@ sal_Bool SAL_CALL rtl_uriConvertRelToAbs(rtl_uString * pBaseUriRef,
rtl_uString_assign(pResult, aBuffer.makeStringAndClear().pData);
return true;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/rtl/source/uuid.cxx b/sal/rtl/source/uuid.cxx
index 79790c99887e..7be3847e6902 100644
--- a/sal/rtl/source/uuid.cxx
+++ b/sal/rtl/source/uuid.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.
@@ -178,3 +179,4 @@ extern "C" sal_Int32 SAL_CALL rtl_compareUuid( const sal_uInt8 *pUUID1 , const s
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */