diff options
-rw-r--r-- | setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx | 3 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx b/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx index f6f6a4c0c3b9..bcf874699a77 100644 --- a/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx +++ b/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx @@ -153,9 +153,8 @@ extern "C" UINT __stdcall SetProductInstallationPath(MSIHANDLE handle) MsiSetProperty(handle, TEXT("INSTALLLOCATION"), path.c_str()); } } - catch(std::runtime_error& ex) + catch(std::runtime_error&) { - ex = ex; // no warnings } return ERROR_SUCCESS; } diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index e816f397033b..79f7ba04298c 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -687,7 +687,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox() else if (meSignatureMode == SignatureModeMacros && bSigValid && bCertValid) { - aImage = aImage = maSigsValidImg.GetImage(); + aImage = maSigsValidImg.GetImage(); } SvLBoxEntry* pEntry = maSignaturesLB.InsertEntry( aNullStr, aImage, aImage ); |