summaryrefslogtreecommitdiffstats
path: root/include/com
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-24 10:00:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-24 20:49:17 +0200
commit350fe112c20106e9a53fec4c2f3c0f7fdc496e3f (patch)
tree35252465f9d649cd66f685b86da87130b1e3a8af /include/com
parentHandle fancy webdav URI schemes on all platforms (diff)
downloadcore-350fe112c20106e9a53fec4c2f3c0f7fdc496e3f.tar.gz
core-350fe112c20106e9a53fec4c2f3c0f7fdc496e3f.zip
remove uno::Type move constructor
not necessary for the optimisation I was going for, and actually less efficient than just using the copy constructor Change-Id: I0f2019a0bf032283fb6c8d5d834603ea7a5ce3c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117762 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/com')
-rw-r--r--include/com/sun/star/uno/Type.h4
-rw-r--r--include/com/sun/star/uno/Type.hxx10
2 files changed, 0 insertions, 14 deletions
diff --git a/include/com/sun/star/uno/Type.h b/include/com/sun/star/uno/Type.h
index 364d9eb5959e..5dc1b41e0bc2 100644
--- a/include/com/sun/star/uno/Type.h
+++ b/include/com/sun/star/uno/Type.h
@@ -119,10 +119,6 @@ public:
*/
inline Type( const Type & rType );
-#if defined LIBO_INTERNAL_ONLY
- inline Type( Type && );
-#endif
-
/** Destructor: Releases acquired C type description reference.
*/
~Type()
diff --git a/include/com/sun/star/uno/Type.hxx b/include/com/sun/star/uno/Type.hxx
index 5c95adc3bd85..f62d0a17b63a 100644
--- a/include/com/sun/star/uno/Type.hxx
+++ b/include/com/sun/star/uno/Type.hxx
@@ -82,16 +82,6 @@ inline Type::Type( const Type & rType )
::typelib_typedescriptionreference_acquire( _pType );
}
-#if defined LIBO_INTERNAL_ONLY
-inline Type::Type( Type && rType )
- : _pType( rType._pType )
-{
- rType._pType = reinterpret_cast< const ::com::sun::star::uno::Type * >(
- ::typelib_static_type_getByTypeClass( typelib_TypeClass_VOID ) )->getTypeLibType();
- ::typelib_typedescriptionreference_acquire( rType._pType );
-}
-#endif
-
inline ::rtl::OUString Type::getTypeName() const
{
return ::rtl::OUString( _pType->pTypeName );