diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-17 19:03:08 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-21 21:37:23 +0900 |
commit | 54bc5bc910e6082398d6b2f55fa7dba65421bbb7 (patch) | |
tree | d3fff5d74f0b4ab87b66767c7500374941beed0e /sd/source/ui | |
parent | 1c2f5d73a774d93a8e3660a0cc91e32d1f86fd77 (diff) |
removed useless code
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/presenter/SlideRenderer.cxx | 12 |
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")), |