diff options
Diffstat (limited to 'setup_native/source/win32/customactions/reg4msdoc')
15 files changed, 34 insertions, 8 deletions
diff --git a/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx b/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx index 2941ba5a8e27..648d4f33fdd3 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include "msihelper.hxx" #include <malloc.h> @@ -100,3 +101,5 @@ bool IsCompleteDeinstallation(MSIHANDLE handle) GetMsiProp(handle, TEXT("REMOVE"), rm); return (rm == TEXT("ALL")); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/reg4msdocmsi.cxx b/setup_native/source/win32/customactions/reg4msdoc/reg4msdocmsi.cxx index 19623e77ebc3..e3f930ccfcbd 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/reg4msdocmsi.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/reg4msdocmsi.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. @@ -42,8 +43,6 @@ #include <memory> #include <string> -#define ELEMENTS_OF_ARRAY(a) (sizeof(a)/sizeof(a[0])) - void DetermineWordPreselectionState(MSIHANDLE handle) { if (query_preselect_registration_for_ms_application(handle, MSWORD)) @@ -187,3 +186,5 @@ extern "C" UINT __stdcall DeinstallExecSequenceEntry(MSIHANDLE handle) return ERROR_SUCCESS; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/register.cxx b/setup_native/source/win32/customactions/reg4msdoc/register.cxx index 77d091806acd..a23d0ea67934 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/register.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/register.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 FixReturnRegistrationState(MSIHANDLE handle) return registration_state; } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/register.hxx b/setup_native/source/win32/customactions/reg4msdoc/register.hxx index 29b9e8bdae00..c98787231655 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/register.hxx +++ b/setup_native/source/win32/customactions/reg4msdoc/register.hxx @@ -28,9 +28,7 @@ #ifndef _REGISTER_HXX_ #define _REGISTER_HXX_ -#ifndef _CONSTANTS_HXX_ #include "constants.hxx" -#endif #ifdef _MSC_VER #pragma warning(push, 1) /* disable warnings within system headers */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx index 7919d0fe833d..45fbed4819d2 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx @@ -1,12 +1,11 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // Registrar.cpp: Implementierung der Klasse Registrar. // ////////////////////////////////////////////////////////////////////// #include "registrar.hxx" -#ifndef _REGISTRYVALUEIMPL_HXX_ #include "RegistryValueImpl.hxx" -#endif #include "windowsregistry.hxx" #include "registryexception.hxx" @@ -757,3 +756,5 @@ bool Registrar::IsOpenOfficeRegisteredForMsApplication(const std::wstring& Docum { return (std::wstring::npos != DocumentExtensionDefValue.find(FORWARD_KEY_PREFIX)); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrar.hxx b/setup_native/source/win32/customactions/reg4msdoc/registrar.hxx index 529a39d5c9c8..b675c3da4e29 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registrar.hxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registrar.hxx @@ -8,9 +8,7 @@ #include "registry.hxx" #include "registrationcontextinformation.hxx" -#ifndef _CONSTANTS_HXX_ #include "constants.hxx" -#endif class Registrar { diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx index ebe836926337..189b7e3074ae 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ //Implementierung der Klasse RegistrationContextInformation. #include <assert.h> @@ -349,3 +350,4 @@ void RegistrationContextInformation::ExtractOpenOfficeExecNameFromPath() m_OOExecName = m_OOExecPath.substr(idx + 1); } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registry.cxx b/setup_native/source/win32/customactions/reg4msdoc/registry.cxx index 2572a3a2d287..bc277997b92b 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registry.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/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. @@ -240,3 +241,5 @@ void RegistryKeyImpl::CopyValue(const RegistryKey& RegistryKey, const std::wstri assert(HasValue(NewName)); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx index 9eaa05df38f7..cebbe67c6798 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // RegistryException.cpp: Implementierung der Klasse RegistryException. // ////////////////////////////////////////////////////////////////////// @@ -109,3 +110,5 @@ RegistryInvalidOperationException::RegistryInvalidOperationException(long ErrorC RegistryException(ErrorCode) { }; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryvalueimpl.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryvalueimpl.cxx index eabc32f19cff..d9012fcd087d 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registryvalueimpl.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registryvalueimpl.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // RegistryValueImpl.cpp: Implementierung der Klasse RegistryValueImpl. // ////////////////////////////////////////////////////////////////////// @@ -187,3 +188,5 @@ void RegistryValueImpl::SetValue(int NewValue) m_Type = REG_DWORD; m_IntData = NewValue; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx index 620a32f028bb..47cc8ce70ec5 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.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. @@ -548,3 +549,4 @@ void RegistryKeyImplWin9x::SetValue(const RegistryValue& Value) throw RegistryException(rc); } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx index 361672790630..4f60d0cae32a 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registrywnt.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. @@ -617,3 +618,4 @@ void RegistryKeyImplWinNT::SetValue(const RegistryValue& Value) +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/stringconverter.cxx b/setup_native/source/win32/customactions/reg4msdoc/stringconverter.cxx index 68d0872ad81a..db38d568e877 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/stringconverter.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/stringconverter.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. @@ -68,3 +69,4 @@ std::wstring AnsiToUnicodeString(const std::string& AnsiString) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx b/setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx index 68d3a1e2205d..986bf0d28cb6 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // UserRegistrar.cpp: Implementierung der Klasse UserRegistrar. // ////////////////////////////////////////////////////////////////////// @@ -134,3 +135,5 @@ void UserRegistrar::DeleteHtmFileAssociationKeys() const // deleting a key and so destroying existing associations // See MSDN: "Merged View of HKEY_CLASSES_ROOT" } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx b/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx index 1ed544f06806..1e97f779bc39 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // WindowsRegistry.cpp: Implementierung der Klasse WindowsRegistry. // ////////////////////////////////////////////////////////////////////// @@ -77,3 +78,5 @@ RegistryKey WindowsRegistry::GetRegistryKey(HKEY RootKey, bool Writeable) const return regkey; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |