[Libreoffice-commits] core.git: Branch 'feature/cib_contract57b' - svl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 23 06:58:34 UTC 2019
svl/source/undo/undo.cxx | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
New commits:
commit 8294728d3adf8c56343d2992a82a4f633de8b705
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Jan 15 16:09:24 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Jan 23 07:58:13 2019 +0100
Remove unreachable code
VS 2015 won't compile because of this
Change-Id: I4244ccd6d5dbbedef536ea8782afd3a8f2abf3a9
Reviewed-on: https://gerrit.libreoffice.org/66395
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 58320a1e2744..dd40901c0826 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -393,14 +393,7 @@ namespace svl { namespace undo { namespace impl
{
SfxUndoAction* pAction = m_aUndoActionsCleanup.front();
m_aUndoActionsCleanup.pop_front();
- try
- {
- delete pAction;
- }
- catch( const Exception& )
- {
- DBG_UNHANDLED_EXCEPTION();
- }
+ delete pAction;
}
// handle scheduled notification
More information about the Libreoffice-commits
mailing list