summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/cache
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-25 15:08:11 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-25 15:09:58 +0900
commit8cc98837d30d818fe3a2e4063798c7451044eb9c (patch)
tree2da46809bc97a39489c6d57c8c855ebefb58899d /sd/source/ui/slidesorter/cache
parent8b18c70b994e8239f2f0dfd549fcc27feceb413c (diff)
catch exception by constant reference
Diffstat (limited to 'sd/source/ui/slidesorter/cache')
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx9
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx6
2 files changed, 5 insertions, 10 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
index 914f39628062..1f78d8e263a4 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
@@ -134,13 +134,11 @@ CacheConfiguration::CacheConfiguration (void)
xHierarchy->getByHierarchicalName(sPathToNode),
UNO_QUERY);
}
- catch (RuntimeException &aException)
+ catch (RuntimeException &)
{
- (void)aException;
}
- catch (Exception &aException)
+ catch (Exception &)
{
- (void)aException;
}
}
@@ -157,9 +155,8 @@ Any CacheConfiguration::GetValue (const ::rtl::OUString& rName)
{
aResult = mxCacheNode->getByName(rName);
}
- catch (Exception &aException)
+ catch (Exception &)
{
- (void)aException;
}
}
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
index b503363c64a8..44ce6c5f2124 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -221,14 +221,12 @@ void QueueProcessor::ProcessOneRequest (
}
}
}
- catch (::com::sun::star::uno::RuntimeException &aException)
+ catch (::com::sun::star::uno::RuntimeException &)
{
- (void) aException;
OSL_FAIL("RuntimeException caught in QueueProcessor");
}
- catch (::com::sun::star::uno::Exception &aException)
+ catch (::com::sun::star::uno::Exception &)
{
- (void) aException;
OSL_FAIL("Exception caught in QueueProcessor");
}
}