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 9eaa05df38f7..5e963eea4ed2 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx @@ -34,9 +34,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, @@ -44,7 +44,7 @@ const char* RegistryException::what() const throw() (LPTSTR) &m_ErrorMsg, 0, NULL); - + return reinterpret_cast<char*>(m_ErrorMsg); } @@ -60,13 +60,13 @@ long RegistryException::GetErrorCode() const // that is closed //####################################### -RegistryIOException::RegistryIOException(long ErrorCode) : +RegistryIOException::RegistryIOException(long ErrorCode) : RegistryException(ErrorCode) { }; //####################################### -// +// //####################################### RegistryNoWriteAccessException::RegistryNoWriteAccessException(long ErrorCode) : |