diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-16 16:28:17 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-04-16 20:23:11 +0200 |
commit | b1b0ddb816c836ac7975aab97f474e9589e8947d (patch) | |
tree | a8bfb82149b96761ca658dcc2aded32604f21e1e /fpicker | |
parent | f133b545321a424530cce8f5b0440b90bc89c5cf (diff) |
WaE: deprecated conversion from string constant to 'LPSTR'
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/odma/ODMAFilePicker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/odma/ODMAFilePicker.cxx b/fpicker/source/odma/ODMAFilePicker.cxx index 2eb29a3f7e6a..21063f086c83 100644 --- a/fpicker/source/odma/ODMAFilePicker.cxx +++ b/fpicker/source/odma/ODMAFilePicker.cxx @@ -115,7 +115,7 @@ sal_Int16 SAL_CALL ODMAFilePicker::execute( ) WORD count = 0; DWORD flags; - status = NODMRegisterApp( &handle, ODM_API_VERSION, "sodma", (DWORD) choose_parent_window( ), NULL ); + status = NODMRegisterApp( &handle, ODM_API_VERSION, const_cast<char*>("sodma"), (DWORD) choose_parent_window( ), NULL ); if (status == ODM_SUCCESS) { if (m_nDialogKind == OPEN) |