summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorJ. Graeme Lingard <jgraeme+git@gmail.com>2010-11-29 00:16:33 +0000
committerJ. Graeme Lingard <jgraeme+git@gmail.com>2010-11-29 00:16:33 +0000
commit6690007283651bc380e9cadbee4a2c64cbfde8d7 (patch)
tree8b5d91315c0f0f3e8a42bf0e62549abade3b5d8a /setup_native
parent2b77d15fd2a7698e34aa9f90791c97d1df467c3b (diff)
Remove empty comments
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/registry.hxx4
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx26
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx14
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx14
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx24
-rw-r--r--setup_native/source/win32/customactions/reg64/reg64.cxx7
6 files changed, 0 insertions, 89 deletions
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registry.hxx b/setup_native/source/win32/customactions/reg4msdoc/registry.hxx
index fe0014b6a191..d993060ae560 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registry.hxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registry.hxx
@@ -57,10 +57,6 @@ typedef std::auto_ptr<RegistryKeyImpl> RegistryKey;
typedef std::vector<std::wstring> StringList;
typedef std::auto_ptr<StringList> StringListPtr;
-//---------------------------------------
-//
-//---------------------------------------
-
class RegistryKeyImpl
{
public:
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx
index cebbe67c6798..e7e66825ed4b 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx
@@ -23,16 +23,12 @@ RegistryException::RegistryException(long ErrorCode) :
{
}
-/**
-*/
RegistryException::~RegistryException() throw()
{
if (m_ErrorMsg)
LocalFree(m_ErrorMsg);
}
-/**
-*/
const char* RegistryException::what() const throw()
{
FormatMessage(
@@ -49,8 +45,6 @@ const char* RegistryException::what() const throw()
return reinterpret_cast<char*>(m_ErrorMsg);
}
-/**
-*/
long RegistryException::GetErrorCode() const
{
return m_ErrorCode;
@@ -66,46 +60,26 @@ RegistryIOException::RegistryIOException(long ErrorCode) :
{
};
-//#######################################
-//
-//#######################################
-
RegistryNoWriteAccessException::RegistryNoWriteAccessException(long ErrorCode) :
RegistryException(ErrorCode)
{
};
-//#######################################
-//
-//#######################################
-
RegistryAccessDeniedException::RegistryAccessDeniedException(long ErrorCode) :
RegistryException(ErrorCode)
{
};
-//#######################################
-//
-//#######################################
-
RegistryValueNotFoundException::RegistryValueNotFoundException(long ErrorCode) :
RegistryException(ErrorCode)
{
};
-//#######################################
-//
-//#######################################
-
RegistryKeyNotFoundException::RegistryKeyNotFoundException(long ErrorCode) :
RegistryException(ErrorCode)
{
};
-//#######################################
-//
-//#######################################
-
RegistryInvalidOperationException::RegistryInvalidOperationException(long ErrorCode) :
RegistryException(ErrorCode)
{
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx
index 47cc8ce70ec5..30e1cf07c5b5 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-//---------------------------------------
-//
-//---------------------------------------
-
#include "registryw9x.hxx"
#include <windows.h>
@@ -44,10 +40,6 @@
#pragma warning(disable : 4786 4350)
#endif
-//---------------------------------------
-//
-//---------------------------------------
-
const size_t MAX_TMP_BUFF_SIZE = 1024 * sizeof(wchar_t);
@@ -138,9 +130,6 @@ size_t RegistryKeyImplWin9x::GetSubKeyCount() const
return nSubKeys;
}
-//-----------------------------------------------------
-/**
-*/
StringListPtr RegistryKeyImplWin9x::GetSubKeyNames() const
{
assert(IsOpen());
@@ -176,9 +165,6 @@ StringListPtr RegistryKeyImplWin9x::GetSubKeyNames() const
return (StringListPtr) key_names;
}
-//-----------------------------------------------------
-/**
-*/
StringListPtr RegistryKeyImplWin9x::GetSubValueNames() const
{
assert(IsOpen());
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx
index 4f60d0cae32a..8776e0edd0e0 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-//---------------------------------------
-//
-//---------------------------------------
-
#ifdef _MSC_VER
#pragma warning(push, 1) /* disable warnings within system headers */
#endif
@@ -49,10 +45,6 @@
#pragma warning(disable : 4786 4350)
#endif
-//---------------------------------------
-//
-//---------------------------------------
-
const size_t MAX_TMP_BUFF_SIZE = 1024 * sizeof(wchar_t);
@@ -143,9 +135,6 @@ size_t RegistryKeyImplWinNT::GetSubKeyCount() const
return nSubKeys;
}
-//-----------------------------------------------------
-/**
-*/
StringListPtr RegistryKeyImplWinNT::GetSubKeyNames() const
{
assert(IsOpen());
@@ -185,9 +174,6 @@ StringListPtr RegistryKeyImplWinNT::GetSubKeyNames() const
#endif
}
-//-----------------------------------------------------
-/**
-*/
StringListPtr RegistryKeyImplWinNT::GetSubValueNames() const
{
assert(IsOpen());
diff --git a/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx b/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx
index 1e97f779bc39..e06f1e51bd51 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx
@@ -11,10 +11,6 @@
#pragma warning(disable : 4350)
#endif
-//------------------------------
-//
-//------------------------------
-
WindowsRegistry::WindowsRegistry()
{
OSVERSIONINFOA osverinfo;
@@ -25,46 +21,26 @@ WindowsRegistry::WindowsRegistry()
m_IsWinNT = (osverinfo.dwPlatformId == VER_PLATFORM_WIN32_NT);
}
-//------------------------------
-//
-//------------------------------
-
RegistryKey WindowsRegistry::GetClassesRootKey(bool Writeable) const
{
return GetRegistryKey(HKEY_CLASSES_ROOT, Writeable);
}
-//------------------------------
-//
-//------------------------------
-
RegistryKey WindowsRegistry::GetCurrentUserKey(bool Writeable) const
{
return GetRegistryKey(HKEY_CURRENT_USER, Writeable);
}
-//------------------------------
-//
-//------------------------------
-
RegistryKey WindowsRegistry::GetLocalMachineKey(bool Writeable) const
{
return GetRegistryKey(HKEY_LOCAL_MACHINE, Writeable);
}
-//------------------------------
-//
-//------------------------------
-
RegistryKey WindowsRegistry::GetUserKey(bool Writeable) const
{
return GetRegistryKey(HKEY_USERS, Writeable);
}
-//------------------------------
-//
-//------------------------------
-
RegistryKey WindowsRegistry::GetRegistryKey(HKEY RootKey, bool Writeable) const
{
RegistryKey regkey;
diff --git a/setup_native/source/win32/customactions/reg64/reg64.cxx b/setup_native/source/win32/customactions/reg64/reg64.cxx
index fe22ed86b829..d9d3d50e540a 100644
--- a/setup_native/source/win32/customactions/reg64/reg64.cxx
+++ b/setup_native/source/win32/customactions/reg64/reg64.cxx
@@ -254,13 +254,6 @@ bool DeleteRegistryKey(HKEY RootKey, const wchar_t* KeyName)
return (ERROR_SUCCESS == rc);
}
-
-
-
-//---------------------------------------
-//
-//---------------------------------------
-
bool SetRegistryKey(HKEY RootKey, const wchar_t* KeyName, const wchar_t* ValueName, const wchar_t* Value)
{
HKEY hSubKey;