summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/quickstarter/quickstarter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/source/win32/customactions/quickstarter/quickstarter.cxx')
-rw-r--r--setup_native/source/win32/customactions/quickstarter/quickstarter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_native/source/win32/customactions/quickstarter/quickstarter.cxx b/setup_native/source/win32/customactions/quickstarter/quickstarter.cxx
index fc6aee504617..dccae732e3b2 100644
--- a/setup_native/source/win32/customactions/quickstarter/quickstarter.cxx
+++ b/setup_native/source/win32/customactions/quickstarter/quickstarter.cxx
@@ -31,7 +31,7 @@ std::string GetOfficeInstallationPath(MSIHANDLE handle)
{
std::string progpath;
DWORD sz = 0;
- LPTSTR dummy = TEXT("");
+ LPTSTR dummy = const_cast<LPTSTR>(TEXT(""));
if (MsiGetProperty(handle, TEXT("INSTALLLOCATION"), dummy, &sz) == ERROR_MORE_DATA)
{
@@ -49,7 +49,7 @@ std::string GetOfficeProductName(MSIHANDLE handle)
{
std::string productname;
DWORD sz = 0;
- LPTSTR dummy = TEXT("");
+ LPTSTR dummy = const_cast<LPTSTR>(TEXT(""));
if (MsiGetProperty(handle, TEXT("ProductName"), dummy, &sz) == ERROR_MORE_DATA)
{
@@ -67,7 +67,7 @@ std::string GetQuickstarterLinkName(MSIHANDLE handle)
{
std::string quickstarterlinkname;
DWORD sz = 0;
- LPTSTR dummy = TEXT("");
+ LPTSTR dummy = const_cast<LPTSTR>(TEXT(""));
if (MsiGetProperty(handle, TEXT("Quickstarterlinkname"), dummy, &sz) == ERROR_MORE_DATA)
{