Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a4bf5c0d
Commit
a4bf5c0d
authored
Dec 01, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Remove some superfluous casts.
parent
92b93172
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
insobjdlg.c
dlls/oledlg/insobjdlg.c
+6
-6
No files found.
dlls/oledlg/insobjdlg.c
View file @
a4bf5c0d
...
...
@@ -124,7 +124,7 @@ UINT WINAPI OleUIInsertObjectA(LPOLEUIINSERTOBJECTA lpOleUIInsertObject)
*/
INT_PTR
CALLBACK
UIInsertObjectDlgProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
InsertObjectDlgInfo
*
pdlgInfo
=
(
InsertObjectDlgInfo
*
)
GetPropA
(
hwnd
,
OleUIInsertObjectInfoStr
);
InsertObjectDlgInfo
*
pdlgInfo
=
GetPropA
(
hwnd
,
OleUIInsertObjectInfoStr
);
switch
(
uMsg
)
{
...
...
@@ -134,7 +134,7 @@ INT_PTR CALLBACK UIInsertObjectDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPAR
pdlgInfo
->
hwndSelf
=
hwnd
;
SetPropA
(
hwnd
,
OleUIInsertObjectInfoStr
,
(
HANDLE
)
pdlgInfo
);
SetPropA
(
hwnd
,
OleUIInsertObjectInfoStr
,
pdlgInfo
);
UIINSERTOBJECTDLG_InitDialog
(
pdlgInfo
);
...
...
@@ -165,7 +165,7 @@ static LRESULT UIINSOBJDLG_OnWMCommand(HWND hwnd, WPARAM wParam, LPARAM lParam)
{
WORD
wNotifyCode
=
HIWORD
(
wParam
);
WORD
wID
=
LOWORD
(
wParam
);
InsertObjectDlgInfo
*
pdlgInfo
=
(
InsertObjectDlgInfo
*
)
GetPropA
(
hwnd
,
OleUIInsertObjectInfoStr
);
InsertObjectDlgInfo
*
pdlgInfo
=
GetPropA
(
hwnd
,
OleUIInsertObjectInfoStr
);
switch
(
wID
)
{
...
...
@@ -399,12 +399,12 @@ static void UIINSERTOBJECTDLG_FreeObjectTypes(InsertObjectDlgInfo* pdlgInfo)
{
UINT
i
,
count
;
count
=
SendMessageA
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETCOUNT
,
(
WPARAM
)
0
,
(
LPARAM
)
0
);
count
=
SendMessageA
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETCOUNT
,
0
,
0
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
CLSID
*
lpclsid
=
(
CLSID
*
)
SendMessageA
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETITEMDATA
,
(
WPARAM
)
i
,
(
LPARAM
)
0
);
LB_GETITEMDATA
,
i
,
0
);
HeapFree
(
GetProcessHeap
(),
0
,
lpclsid
);
}
}
...
...
@@ -546,7 +546,7 @@ static void UIINSERTOBJECTDLG_BrowseFile(InsertObjectDlgInfo* pdlgInfo)
fn
.
lpTemplateName
=
NULL
;
if
(
GetOpenFileNameA
(
&
fn
))
SendMessageA
(
pdlgInfo
->
hwndFileTB
,
WM_SETTEXT
,
(
WPARAM
)
0
,
(
LPARAM
)
fn
.
lpstrFile
);
SendMessageA
(
pdlgInfo
->
hwndFileTB
,
WM_SETTEXT
,
0
,
(
LPARAM
)
fn
.
lpstrFile
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment