diff options
Diffstat (limited to 'framework/inc/services')
-rw-r--r-- | framework/inc/services/desktop.hxx | 1 | ||||
-rw-r--r-- | framework/inc/services/layoutmanager.hxx | 2 | ||||
-rw-r--r-- | framework/inc/services/mediatypedetectionhelper.hxx | 6 | ||||
-rw-r--r-- | framework/inc/services/uriabbreviation.hxx | 6 |
4 files changed, 13 insertions, 2 deletions
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx index 2c88e32c501f..9df5666b4fbe 100644 --- a/framework/inc/services/desktop.hxx +++ b/framework/inc/services/desktop.hxx @@ -301,6 +301,7 @@ class Desktop : private cppu::BaseMutex, // we need this wrapped terminate()-call to terminate even the QuickStarter // non-virtual and non-UNO for now + /// @throws css::uno::RuntimeException bool SAL_CALL terminateQuickstarterToo() throw( css::uno::RuntimeException ); diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index 85cde4bdb26a..ca122c39923c 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -235,9 +235,11 @@ namespace framework void implts_backupProgressBarWrapper(); void implts_setOffset( const sal_Int32 nBottomOffset ); + /// @throws css::uno::RuntimeException void implts_setInplaceMenuBar( const css::uno::Reference< css::container::XIndexAccess >& xMergedMenuBar ) throw (css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException void implts_resetInplaceMenuBar() throw (css::uno::RuntimeException); diff --git a/framework/inc/services/mediatypedetectionhelper.hxx b/framework/inc/services/mediatypedetectionhelper.hxx index 7c5af808c924..9d59ad4e08e9 100644 --- a/framework/inc/services/mediatypedetectionhelper.hxx +++ b/framework/inc/services/mediatypedetectionhelper.hxx @@ -69,7 +69,11 @@ class MediaTypeDetectionHelper : public ::cppu::WeakImplHelper< css::util::XS // XInterface, XTypeProvider, XServiceInfo - DECLARE_XSERVICEINFO + DECLARE_XSERVICEINFO_NOFACTORY + /* Helper for registry */ + /// @throws css::uno::Exception + static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::Exception ); + static css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL impl_createFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ); // XStringMapping diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx index 9357a6255fbc..815ebdb0f100 100644 --- a/framework/inc/services/uriabbreviation.hxx +++ b/framework/inc/services/uriabbreviation.hxx @@ -39,7 +39,11 @@ class UriAbbreviation: public ::cppu::WeakImplHelper< css::util::XStringAbbre public: explicit UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const & context); - DECLARE_XSERVICEINFO + DECLARE_XSERVICEINFO_NOFACTORY + /* Helper for registry */ + /// @throws css::uno::Exception + static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::Exception ); + static css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL impl_createFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ); // css::util::XStringAbbreviation: virtual OUString SAL_CALL abbreviateString(const css::uno::Reference< css::util::XStringWidth > & xStringWidth, ::sal_Int32 nWidth, const OUString & aString) throw (css::uno::RuntimeException, std::exception) override; |