diff options
Diffstat (limited to 'sdext/source/presenter/PresenterPaneFactory.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterPaneFactory.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx index e9a5f950557e..94f6335cdd79 100644 --- a/sdext/source/presenter/PresenterPaneFactory.cxx +++ b/sdext/source/presenter/PresenterPaneFactory.cxx @@ -92,12 +92,9 @@ void PresenterPaneFactory::Register (const Reference<frame::XController>& rxCont { throw RuntimeException(); } - else - { - xCC->addResourceFactory( - "private:resource/pane/Presenter/*", - this); - } + xCC->addResourceFactory( + "private:resource/pane/Presenter/*", + this); } catch (RuntimeException&) { |