summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/contentenumeration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/contnr/contentenumeration.cxx')
-rw-r--r--svtools/source/contnr/contentenumeration.cxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx
index 3fae092fca83..6c82d5e74a9a 100644
--- a/svtools/source/contnr/contentenumeration.cxx
+++ b/svtools/source/contnr/contentenumeration.cxx
@@ -279,25 +279,15 @@ namespace svt
}
eResult = EnumerationResult::SUCCESS;
}
- catch( CommandAbortedException& )
- {
- SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught a CommandAbortedException while enumerating!" );
- }
catch( Exception const & )
{
- css::uno::Any ex( cppu::getCaughtException() );
- SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an exception other than CommandAbortedException while enumerating! " << exceptionToString(ex));
+ TOOLS_WARN_EXCEPTION( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an exception while enumerating");
}
}
}
- catch( CommandAbortedException& )
- {
- SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught a CommandAbortedException!" );
- }
catch( Exception const & )
{
- css::uno::Any ex( cppu::getCaughtException() );
- SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an exception other than CommandAbortedException! " << exceptionToString(ex) );
+ TOOLS_WARN_EXCEPTION( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent" );
}
IEnumerationResultHandler* pHandler = nullptr;