summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-vcltesttool/files/patch-i79499
blob: f6cb7b03c62c34d7e4f1e78d7cb5db9c3896f2c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- vcl/source/window/winproc.cxx	5 Jul 2007 08:44:18 -0000	1.114
+++ vcl/source/window/winproc.cxx	12 Jul 2007 13:32:22 -0000	1.115
@@ -2534,7 +2534,7 @@
             break;
         case SALEVENT_SHOWDIALOG:
             {
-                int nDialogID = reinterpret_cast<int>(pEvent);
+                int nDialogID = static_cast<int>(reinterpret_cast<sal_IntPtr>(pEvent));
                 nRet = ImplHandleShowDialog( pWindow, nDialogID );
             }
             break;