oledlg: Constify some variables.

This commit is contained in:
Andrew Talbot 2007-08-04 16:23:04 +01:00 committed by Alexandre Julliard
parent bd9f1fdded
commit 6d0dd71965

View File

@ -83,7 +83,7 @@ static void dump_ps_flags(DWORD flags)
TRACE("flags %08x %s\n", flags, flagstr);
}
static void dump_pastespecial(LPOLEUIPASTESPECIALW ps)
static void dump_pastespecial(const OLEUIPASTESPECIALW *ps)
{
UINT i;
dump_ps_flags(ps->dwFlags);
@ -363,7 +363,7 @@ static void init_lists(HWND hdlg, ps_struct_t *ps_struct)
EnableWindow(GetDlgItem(hdlg, IDOK), 0);
}
static void update_src_text(HWND hdlg, ps_struct_t *ps_struct)
static void update_src_text(HWND hdlg, const ps_struct_t *ps_struct)
{
WCHAR *str;
@ -403,7 +403,7 @@ static void update_as_icon(HWND hdlg, ps_struct_t *ps_struct)
EnableWindow(change_icon, 0);
}
static void update_result_text(HWND hdlg, ps_struct_t *ps_struct)
static void update_result_text(HWND hdlg, const ps_struct_t *ps_struct)
{
WCHAR resource_txt[200];
UINT res_id;