diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-19 12:51:29 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-20 07:05:25 +0000 |
commit | 1b62841b1859ae3443e2bf1ebe99ec3d6afb6cc2 (patch) | |
tree | e3b7af8a34c55d7aad95752ad5d642a271523d08 /include/comphelper/unwrapargs.hxx | |
parent | b1659c95b0620cfd1291f889eae767757f696ae1 (diff) |
com::sun::star->css in include/comphelper
Change-Id: Ice569b724732da1fd67a18a4ccf2f92f530cd689
Reviewed-on: https://gerrit.libreoffice.org/19459
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper/unwrapargs.hxx')
-rw-r--r-- | include/comphelper/unwrapargs.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/comphelper/unwrapargs.hxx b/include/comphelper/unwrapargs.hxx index af07ef66987c..8a8156aacccf 100644 --- a/include/comphelper/unwrapargs.hxx +++ b/include/comphelper/unwrapargs.hxx @@ -33,10 +33,10 @@ namespace comphelper { namespace detail { inline void unwrapArgsError( const OUString& str, sal_Int32 nArg, - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xErrorContext = - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ) + const css::uno::Reference< css::uno::XInterface >& xErrorContext = + css::uno::Reference< css::uno::XInterface >() ) { - throw ::com::sun::star::lang::IllegalArgumentException( + throw css::lang::IllegalArgumentException( str, xErrorContext, static_cast< sal_Int16 >( nArg ) ); } @@ -47,15 +47,15 @@ namespace detail { } inline void unwrapArgs( - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >&, + const css::uno::Sequence< css::uno::Any >&, sal_Int32, - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& ) + const css::uno::Reference< css::uno::XInterface >& ) { return; } inline void unwrapArgs( - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >&, + const css::uno::Sequence< css::uno::Any >&, sal_Int32 ) { return; @@ -63,12 +63,12 @@ namespace detail { template< typename T, typename... Args > inline void unwrapArgs( - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& seq, + const css::uno::Sequence< css::uno::Any >& seq, sal_Int32 nArg, ::boost::optional< T >& v, Args&... args ); template< typename T, typename... Args > inline void unwrapArgs( - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& seq, + const css::uno::Sequence< css::uno::Any >& seq, sal_Int32 nArg, T& v, Args&... args ) { if( seq.getLength() <= nArg ) @@ -91,7 +91,7 @@ namespace detail { template< typename T, typename... Args > inline void unwrapArgs( - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& seq, + const css::uno::Sequence< css::uno::Any >& seq, sal_Int32 nArg, ::boost::optional< T >& v, Args&... args ) { if( nArg < seq.getLength() ) @@ -107,7 +107,7 @@ namespace detail { template< typename... Args > inline void unwrapArgs( - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& seq, + const css::uno::Sequence< css::uno::Any >& seq, Args&... args ) { return detail::unwrapArgs( seq, 0, args... ); |