summaryrefslogtreecommitdiff
path: root/include/filter/msfilter/msvbahelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/filter/msfilter/msvbahelper.hxx')
-rw-r--r--include/filter/msfilter/msvbahelper.hxx23
1 files changed, 9 insertions, 14 deletions
diff --git a/include/filter/msfilter/msvbahelper.hxx b/include/filter/msfilter/msvbahelper.hxx
index 09e70e376b41..002ee4dfa50e 100644
--- a/include/filter/msfilter/msvbahelper.hxx
+++ b/include/filter/msfilter/msvbahelper.hxx
@@ -64,9 +64,9 @@ MSFILTER_DLLPUBLIC OUString resolveVBAMacro( SfxObjectShell* pShell, const OUStr
MSFILTER_DLLPUBLIC MacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const OUString& rMacroName, bool bSearchGlobalTemplates = false );
MSFILTER_DLLPUBLIC bool executeMacro( SfxObjectShell* pShell, const OUString& sMacroName, css::uno::Sequence< css::uno::Any >& aArgs, css::uno::Any& aRet, const css::uno::Any& aCaller );
/// @throws css::uno::RuntimeException
-MSFILTER_DLLPUBLIC css::awt::KeyEvent parseKeyEvent( const OUString& sKey ) throw (css::uno::RuntimeException);
+MSFILTER_DLLPUBLIC css::awt::KeyEvent parseKeyEvent( const OUString& sKey );
/// @throws css::uno::RuntimeException
-MSFILTER_DLLPUBLIC void applyShortCutKeyBinding ( const css::uno::Reference< css::frame::XModel >& rxDoc, const css::awt::KeyEvent& rKeyEvent, const OUString& sMacro ) throw (css::uno::RuntimeException, std::exception);
+MSFILTER_DLLPUBLIC void applyShortCutKeyBinding ( const css::uno::Reference< css::frame::XModel >& rxDoc, const css::awt::KeyEvent& rKeyEvent, const OUString& sMacro );
typedef ::cppu::WeakImplHelper<
@@ -83,30 +83,26 @@ public:
// com.sun.star.lang.XServiceInfo interface -------------------------------
virtual OUString SAL_CALL
- getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
+ getImplementationName() override;
virtual sal_Bool SAL_CALL
- supportsService( const OUString& rService )
- throw (css::uno::RuntimeException, std::exception) override;
+ supportsService( const OUString& rService ) override;
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ getSupportedServiceNames() override;
// com.sun.star.lang.XInitialization interface ----------------------------
virtual void SAL_CALL initialize(
- const css::uno::Sequence< css::uno::Any >& rArgs )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::uno::Any >& rArgs ) override;
// com.sun.star.script.vba.XVBAMacroResolver interface --------------------
virtual OUString SAL_CALL
- resolveVBAMacroToScriptURL( const OUString& rVBAMacroName )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ resolveVBAMacroToScriptURL( const OUString& rVBAMacroName ) override;
virtual OUString SAL_CALL
- resolveScriptURLtoVBAMacro( const OUString& rScriptURL )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ resolveScriptURLtoVBAMacro( const OUString& rScriptURL ) override;
private:
css::uno::Reference< css::frame::XModel > mxModel;
@@ -122,8 +118,7 @@ VBAMacroResolver_getSupportedServiceNames();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL
VBAMacroResolver_createInstance(
- css::uno::Reference<css::uno::XComponentContext > const & rxContext)
- throw (css::uno::Exception);
+ css::uno::Reference<css::uno::XComponentContext > const & rxContext);
} // namespace vba
} // namespace ooo