[Libreoffice-commits] .: sd/source
Takeshi Abe
tabe at kemper.freedesktop.org
Mon Nov 21 04:49:27 PST 2011
sd/source/ui/presenter/SlideRenderer.cxx | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
New commits:
commit 54bc5bc910e6082398d6b2f55fa7dba65421bbb7
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Nov 17 19:03:08 2011 +0900
removed useless code
diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx
index 148e832..ea2f14f 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")),
More information about the Libreoffice-commits
mailing list