diff options
Diffstat (limited to 'setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx')
-rw-r--r-- | setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx index cebbe67c6798..5de0c04e42a7 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx @@ -35,9 +35,9 @@ RegistryException::~RegistryException() throw() */ const char* RegistryException::what() const throw() { - FormatMessage( - FORMAT_MESSAGE_ALLOCATE_BUFFER | - FORMAT_MESSAGE_FROM_SYSTEM | + FormatMessage( + FORMAT_MESSAGE_ALLOCATE_BUFFER | + FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, m_ErrorCode, @@ -45,7 +45,7 @@ const char* RegistryException::what() const throw() (LPTSTR) &m_ErrorMsg, 0, NULL); - + return reinterpret_cast<char*>(m_ErrorMsg); } @@ -61,13 +61,13 @@ long RegistryException::GetErrorCode() const // that is closed //####################################### -RegistryIOException::RegistryIOException(long ErrorCode) : +RegistryIOException::RegistryIOException(long ErrorCode) : RegistryException(ErrorCode) { }; //####################################### -// +// //####################################### RegistryNoWriteAccessException::RegistryNoWriteAccessException(long ErrorCode) : |