summaryrefslogtreecommitdiff
path: root/comphelper/source/property/opropertybag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/opropertybag.cxx')
-rw-r--r--comphelper/source/property/opropertybag.cxx25
1 files changed, 13 insertions, 12 deletions
diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx
index 5c6cd013d70c..1018413befb6 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -144,19 +144,20 @@ namespace comphelper
::osl::MutexGuard aGuard( m_aMutex );
m_isModified = bModified;
}
- if (bModified) {
- try {
- Reference<XInterface> xThis(*this);
- EventObject event(xThis);
- m_NotifyListeners.notifyEach(
- &XModifyListener::modified, event);
- } catch (RuntimeException &) {
- if (!bIgnoreRuntimeExceptionsWhileFiring) {
- throw;
- }
- } catch (Exception &) {
- // ignore
+ if (!bModified)
+ return;
+
+ try {
+ Reference<XInterface> xThis(*this);
+ EventObject event(xThis);
+ m_NotifyListeners.notifyEach(
+ &XModifyListener::modified, event);
+ } catch (RuntimeException &) {
+ if (!bIgnoreRuntimeExceptionsWhileFiring) {
+ throw;
}
+ } catch (Exception &) {
+ // ignore
}
}
+0000'>2016-10-19loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin 2016-10-03Fix typosAndrea Gelmini 2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann 2016-07-27improve passstuffbyref return analysisNoel Grandin 2016-07-15tdf#100726: Improve readability of OUString concatenation a bitnadith 2016-05-31teach refcounting clang plugin about uno::ReferenceNoel Grandin 2016-04-22Fix typosAndrea Gelmini 2016-04-21clang-tidy modernize-loop-convert in a*Noel Grandin 2016-04-14loplugin:passstuffbyref in variousNoel Grandin 2016-03-18tools: split out color macros into own headerChris Sherlock 2016-02-23new loplugin: commaoperatorNoel Grandin