diff options
Diffstat (limited to 'svx/source/dialog/sendreportw32.cxx')
-rw-r--r-- | svx/source/dialog/sendreportw32.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/sendreportw32.cxx b/svx/source/dialog/sendreportw32.cxx index 10734e8495f6..7d15a0e2c65e 100644 --- a/svx/source/dialog/sendreportw32.cxx +++ b/svx/source/dialog/sendreportw32.cxx @@ -79,7 +79,7 @@ static LONG RegWriteValue( HKEY hBaseKey, LPCTSTR lpSubKey, LPCTSTR lpValueName, if ( ERROR_SUCCESS == lResult ) { - lResult = RegSetValueEx( hKey, lpValueName, NULL, dwType, (CONST BYTE *)lpData, cbData ); + lResult = RegSetValueEx( hKey, lpValueName, NULL, dwType, (CONST sal_uInt8 *)lpData, cbData ); RegCloseKey( hKey ); } @@ -123,14 +123,14 @@ namespace svx{ sizeof(szBuffer) ) ) maEMailAddrED.SetText( (sal_Unicode *)szBuffer ); - DWORD fAllowContact = FALSE; + DWORD fAllowContact = sal_False; RegReadValue( HKEY_CURRENT_USER, TEXT("SOFTWARE\\OpenOffice.org\\CrashReport"), TEXT("AllowContact"), &fAllowContact, sizeof(fAllowContact) ); - maContactCB.Check( (BOOL)fAllowContact ); + maContactCB.Check( (sal_Bool)fAllowContact ); DWORD uInternetConnection = 0; RegReadValue( @@ -235,7 +235,7 @@ namespace svx{ szBuffer, NULL, NULL, - FALSE, + sal_False, 0, NULL, NULL, &StartupInfo, &ProcessInfo ) ) |