diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-15 14:33:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-15 15:11:29 +0000 |
commit | 11e384b8a1d1716b98c870c356d919f4f68a08f5 (patch) | |
tree | 5c15b3cb087a1629bcce78fb5800deb5eb24ec72 | |
parent | d1f45bd66f0efe6909acdb573aecb677ae388f74 (diff) |
WaE: these are integers, not pointers
-rw-r--r-- | sfx2/source/appl/shutdowniconw32.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/sendreportw32.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index 1a3a594f240d..8bd18035dd7f 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -366,7 +366,7 @@ LRESULT CALLBACK listenerWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP #endif int m = TrackPopupMenuEx( popupMenu, TPM_RETURNCMD|TPM_LEFTALIGN|TPM_RIGHTBUTTON, pt.x, pt.y, hWnd, NULL ); - PostMessage( hWnd, NULL, 0, 0 ); + PostMessage( hWnd, 0, 0, 0 ); switch( m ) { #if defined(USE_APP_SHORTCUTS) diff --git a/svx/source/dialog/sendreportw32.cxx b/svx/source/dialog/sendreportw32.cxx index 514fd46bc02c..129e7cbd3cf0 100644 --- a/svx/source/dialog/sendreportw32.cxx +++ b/svx/source/dialog/sendreportw32.cxx @@ -77,7 +77,7 @@ static LONG RegWriteValue( HKEY hBaseKey, LPCTSTR lpSubKey, LPCTSTR lpValueName, if ( ERROR_SUCCESS == lResult ) { - lResult = RegSetValueEx( hKey, lpValueName, NULL, dwType, (CONST sal_uInt8 *)lpData, cbData ); + lResult = RegSetValueEx( hKey, lpValueName, 0, dwType, (CONST sal_uInt8 *)lpData, cbData ); RegCloseKey( hKey ); } |