summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/presenter
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-11-17 19:03:08 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-11-21 21:37:23 +0900
commit54bc5bc910e6082398d6b2f55fa7dba65421bbb7 (patch)
treed3fff5d74f0b4ab87b66767c7500374941beed0e /sd/source/ui/presenter
parentmore conversion to rtl::OUString (diff)
downloadcore-54bc5bc910e6082398d6b2f55fa7dba65421bbb7.tar.gz
core-54bc5bc910e6082398d6b2f55fa7dba65421bbb7.zip
removed useless code
Diffstat (limited to 'sd/source/ui/presenter')
-rw-r--r--sd/source/ui/presenter/SlideRenderer.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx
index 148e8322b15e..ea2f14fb767d 100644
--- a/sd/source/ui/presenter/SlideRenderer.cxx
+++ b/sd/source/ui/presenter/SlideRenderer.cxx
@@ -104,17 +104,7 @@ void SAL_CALL SlideRenderer::initialize (const Sequence<Any>& rArguments)
{
ThrowIfDisposed();
- if (rArguments.getLength() == 0)
- {
- try
- {
- }
- catch (RuntimeException&)
- {
- throw;
- }
- }
- else
+ if (rArguments.getLength() != 0)
{
throw RuntimeException(
OUString(RTL_CONSTASCII_USTRINGPARAM("SlideRenderer: invalid number of arguments")),