diff options
Diffstat (limited to 'include/comphelper/flagguard.hxx')
-rw-r--r-- | include/comphelper/flagguard.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/flagguard.hxx b/include/comphelper/flagguard.hxx index 7ab88e4d98a1..96e721e7aa79 100644 --- a/include/comphelper/flagguard.hxx +++ b/include/comphelper/flagguard.hxx @@ -31,8 +31,8 @@ namespace comphelper class COMPHELPER_DLLPUBLIC FlagRestorationGuard : public ScopeGuard { public: - FlagRestorationGuard( bool& i_flagRef, bool i_temporaryValue, exc_handling i_excHandling = IGNORE_EXCEPTIONS ) - : ScopeGuard(RestoreFlag(i_flagRef), i_excHandling) + FlagRestorationGuard( bool& i_flagRef, bool i_temporaryValue ) + : ScopeGuard(RestoreFlag(i_flagRef)) { i_flagRef = i_temporaryValue; } @@ -61,8 +61,8 @@ namespace comphelper class COMPHELPER_DLLPUBLIC FlagGuard : public ScopeGuard { public: - explicit FlagGuard( bool& i_flagRef, exc_handling i_excHandling = IGNORE_EXCEPTIONS ) - : ScopeGuard( [&i_flagRef] () { i_flagRef = false; }, i_excHandling) + explicit FlagGuard( bool& i_flagRef ) + : ScopeGuard( [&i_flagRef] () { i_flagRef = false; } ) { i_flagRef = true; } |