diff options
author | Kenneth Venken <kenneth.venken@gmail.com> | 2011-01-25 18:39:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 20:21:25 +0000 |
commit | 02dd8a0e32464aaab863c558322af67b7ba4e121 (patch) | |
tree | 1bfdfd9b352cc7b49e5ff453741d06eff73edd6b | |
parent | 8a4974c5cd9ebc27b64c75dbaa746556e4868923 (diff) |
Cpp cleanliness: redundant assignment to self
Notes
Notes:
split repo tag: components_LO-BASE-INTEGRATION-DEV300_m98
-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 ); |