diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-27 15:38:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-28 06:31:27 +0000 |
commit | d95a27f944c8a28d0368f248028ddf395fe1c57e (patch) | |
tree | 0595aead6f463adff018f7c51b7d089225d29460 /scaddins/source | |
parent | 8c5e922d66d154405029380374f088cee6578056 (diff) |
com::sun::star->css in scaddins,sccomp,scripting
Change-Id: Id9167341940bac65f055e1e33ff0670f6fa0f6c4
Reviewed-on: https://gerrit.libreoffice.org/19629
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scaddins/source')
-rw-r--r-- | scaddins/source/analysis/analysis.hxx | 2 | ||||
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 12 | ||||
-rw-r--r-- | scaddins/source/analysis/bessel.hxx | 8 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 92 |
4 files changed, 57 insertions, 57 deletions
diff --git a/scaddins/source/analysis/analysis.hxx b/scaddins/source/analysis/analysis.hxx index 24e1a29d171f..1a38489f8366 100644 --- a/scaddins/source/analysis/analysis.hxx +++ b/scaddins/source/analysis/analysis.hxx @@ -123,7 +123,7 @@ public: virtual sal_Int32 SAL_CALL getIseven( sal_Int32 nVal ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getIsodd( sal_Int32 nVal ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; - virtual double SAL_CALL getMultinomial( const css::uno::Reference< css::beans::XPropertySet >& xOpt, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > >& aVLst, const css::uno::Sequence< com::sun::star::uno::Any >& aOptVLst ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; + virtual double SAL_CALL getMultinomial( const css::uno::Reference< css::beans::XPropertySet >& xOpt, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > >& aVLst, const css::uno::Sequence< css::uno::Any >& aOptVLst ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual double SAL_CALL getSeriessum( double fX, double fN, double fM, const css::uno::Sequence< css::uno::Sequence< double > >& aCoeffList ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual double SAL_CALL getQuotient( double fNum, double fDenum ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 6041bce5cbc3..0fcd1f4bdf34 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -779,7 +779,7 @@ private: /** Converts a string to double using the number formatter. If the formatter is not valid, ::rtl::math::stringToDouble() with english separators will be used. - @throws com::sun::star::lang::IllegalArgumentException + @throws css::lang::IllegalArgumentException on strings not representing any double value. @return the converted double value. */ double convertToDouble( @@ -798,7 +798,7 @@ public: /** Converts an Any to double (without initialization). The Any can be empty or contain a double or string. - @throws com::sun::star::lang::IllegalArgumentException + @throws css::lang::IllegalArgumentException on other Any types or on invalid strings. @return true if the Any contains a double or a non-empty valid string, false if the Any is empty or the string is empty */ @@ -809,7 +809,7 @@ public: /** Converts an Any to double (with initialization). The Any can be empty or contain a double or string. - @throws com::sun::star::lang::IllegalArgumentException + @throws css::lang::IllegalArgumentException on other Any types or on invalid strings. @return true if the Any contains a double or a non-empty valid string, false if the Any is empty or the string is empty */ @@ -821,7 +821,7 @@ public: /** Converts an Any to double (with initialization). The Any can be empty or contain a double or string. - @throws com::sun::star::lang::IllegalArgumentException + @throws css::lang::IllegalArgumentException on other Any types or on invalid strings. @return the value of the double or string or fDefault if the Any or string is empty */ double getDouble( @@ -832,7 +832,7 @@ public: /** Converts an Any to sal_Int32 (with initialization). The Any can be empty or contain a double or string. - @throws com::sun::star::lang::IllegalArgumentException + @throws css::lang::IllegalArgumentException on other Any types or on invalid values or strings. @return true if the Any contains a double or a non-empty valid string, false if the Any is empty or the string is empty */ @@ -844,7 +844,7 @@ public: /** Converts an Any to sal_Int32 (with initialization). The Any can be empty or contain a double or string. - @throws com::sun::star::lang::IllegalArgumentException + @throws css::lang::IllegalArgumentException on other Any types or on invalid values or strings. @return the truncated value of the double or string or nDefault if the Any or string is empty */ sal_Int32 getInt32( diff --git a/scaddins/source/analysis/bessel.hxx b/scaddins/source/analysis/bessel.hxx index 87481f9bfe95..5f7c8e3d519a 100644 --- a/scaddins/source/analysis/bessel.hxx +++ b/scaddins/source/analysis/bessel.hxx @@ -32,16 +32,16 @@ namespace analysis { /** Returns the result for the unmodified BESSEL function of first kind (J), n-th order, at point x. */ -double BesselJ( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sheet::NoConvergenceException ); +double BesselJ( double x, sal_Int32 n ) throw( css::lang::IllegalArgumentException, css::sheet::NoConvergenceException ); /** Returns the result for the modified BESSEL function of first kind (I), n-th order, at point x. */ -double BesselI( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sheet::NoConvergenceException ); +double BesselI( double x, sal_Int32 n ) throw( css::lang::IllegalArgumentException, css::sheet::NoConvergenceException ); /** Returns the result for the unmodified BESSEL function of second kind (Y), n-th order, at point x. */ -double BesselY( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sheet::NoConvergenceException ); +double BesselY( double x, sal_Int32 n ) throw( css::lang::IllegalArgumentException, css::sheet::NoConvergenceException ); /** Returns the result for the modified BESSEL function of second kind (K), n-th order, at point x. */ -double BesselK( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sheet::NoConvergenceException ); +double BesselK( double x, sal_Int32 n ) throw( css::lang::IllegalArgumentException, css::sheet::NoConvergenceException ); } // namespace analysis } // namespace sca diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 4d798d6c8bef..6b0fb538eaf6 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -169,111 +169,111 @@ struct FindScaFuncData }; -::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL DateFunctionAddIn_CreateInstance( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& ); +css::uno::Reference< css::uno::XInterface > SAL_CALL DateFunctionAddIn_CreateInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory >& ); // THE AddIn class for date functions class ScaDateAddIn : public ::cppu::WeakImplHelper< - ::com::sun::star::sheet::XAddIn, - ::com::sun::star::sheet::XCompatibilityNames, - ::com::sun::star::sheet::addin::XDateFunctions, - ::com::sun::star::sheet::addin::XMiscFunctions, - ::com::sun::star::lang::XServiceName, - ::com::sun::star::lang::XServiceInfo > + css::sheet::XAddIn, + css::sheet::XCompatibilityNames, + css::sheet::addin::XDateFunctions, + css::sheet::addin::XMiscFunctions, + css::lang::XServiceName, + css::lang::XServiceInfo > { private: - ::com::sun::star::lang::Locale aFuncLoc; - std::unique_ptr< ::com::sun::star::lang::Locale[] > pDefLocales; - std::unique_ptr< ResMgr > pResMgr; - std::unique_ptr< ScaFuncDataList > pFuncDataList; + css::lang::Locale aFuncLoc; + std::unique_ptr< css::lang::Locale[] > pDefLocales; + std::unique_ptr< ResMgr > pResMgr; + std::unique_ptr< ScaFuncDataList > pFuncDataList; void InitDefLocales(); - const ::com::sun::star::lang::Locale& GetLocale( sal_uInt32 nIndex ); - ResMgr& GetResMgr() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + const css::lang::Locale& GetLocale( sal_uInt32 nIndex ); + ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception ); void InitData(); - OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); - OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException, std::exception ); + OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException, std::exception ); public: ScaDateAddIn(); virtual ~ScaDateAddIn() =default; static OUString getImplementationName_Static(); - static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); + static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); // XAddIn - virtual OUString SAL_CALL getProgrammaticFuntionName( const OUString& aDisplayName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual OUString SAL_CALL getDisplayFunctionName( const OUString& aProgrammaticName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual OUString SAL_CALL getFunctionDescription( const OUString& aProgrammaticName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual OUString SAL_CALL getDisplayArgumentName( const OUString& aProgrammaticName, sal_Int32 nArgument ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual OUString SAL_CALL getArgumentDescription( const OUString& aProgrammaticName, sal_Int32 nArgument ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual OUString SAL_CALL getProgrammaticCategoryName( const OUString& aProgrammaticName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual OUString SAL_CALL getDisplayCategoryName( const OUString& aProgrammaticName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getProgrammaticFuntionName( const OUString& aDisplayName ) throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getDisplayFunctionName( const OUString& aProgrammaticName ) throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getFunctionDescription( const OUString& aProgrammaticName ) throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getDisplayArgumentName( const OUString& aProgrammaticName, sal_Int32 nArgument ) throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getArgumentDescription( const OUString& aProgrammaticName, sal_Int32 nArgument ) throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getProgrammaticCategoryName( const OUString& aProgrammaticName ) throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getDisplayCategoryName( const OUString& aProgrammaticName ) throw( css::uno::RuntimeException, std::exception ) override; // XCompatibilityNames - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::LocalizedName > SAL_CALL getCompatibilityNames( const OUString& aProgrammaticName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL getCompatibilityNames( const OUString& aProgrammaticName ) throw( css::uno::RuntimeException, std::exception ) override; // XLocalizable - virtual void SAL_CALL setLocale( const ::com::sun::star::lang::Locale& eLocale ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual ::com::sun::star::lang::Locale SAL_CALL getLocale() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setLocale( const css::lang::Locale& eLocale ) throw( css::uno::RuntimeException, std::exception ) override; + virtual css::lang::Locale SAL_CALL getLocale() throw( css::uno::RuntimeException, std::exception ) override; // XServiceName - virtual OUString SAL_CALL getServiceName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getServiceName() throw( css::uno::RuntimeException, std::exception ) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override; // methods from own interfaces start here // XDateFunctions virtual sal_Int32 SAL_CALL getDiffWeeks( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nEndDate, sal_Int32 nStartDate, sal_Int32 nMode ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getDiffMonths( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nEndDate, sal_Int32 nStartDate, sal_Int32 nMode ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getDiffYears( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nEndDate, sal_Int32 nStartDate, sal_Int32 nMode ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getIsLeapYear( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nDate ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getDaysInMonth( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nDate ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getDaysInYear( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nDate ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; virtual sal_Int32 SAL_CALL getWeeksInYear( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xOptions, + const css::uno::Reference< css::beans::XPropertySet >& xOptions, sal_Int32 nDate ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; // XMiscFunctions virtual OUString SAL_CALL getRot13( const OUString& aSrcText ) - throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception ) override; + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override; }; #endif // INCLUDED_SCADDINS_SOURCE_DATEFUNC_DATEFUNC_HXX |