summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-20 11:15:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-20 13:05:01 +0200
commit2369b23256df2e910722800f14aec4eba41b6f5d (patch)
treee2e8a95b66b8b61c735f7ae6b7af308add99070b /include/comphelper
parentd7a3b76f1913a8a6524635a4a7880fdf42d0469f (diff)
Replace SAL_DELETED_FUNCTION with = delete in internal code
Change-Id: I23399a4d1869635c8b6ffeb25bd183b0504b448d Reviewed-on: https://gerrit.libreoffice.org/60801 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/interfacecontainer2.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/comphelper/interfacecontainer2.hxx b/include/comphelper/interfacecontainer2.hxx
index 60bf7e74a1db..22c1277e5fe0 100644
--- a/include/comphelper/interfacecontainer2.hxx
+++ b/include/comphelper/interfacecontainer2.hxx
@@ -109,10 +109,8 @@ private:
detail::element_alias2 aData;
sal_Int32 nRemain;
- OInterfaceIteratorHelper2( const OInterfaceIteratorHelper2 & )
- SAL_DELETED_FUNCTION;
- OInterfaceIteratorHelper2 & operator = ( const OInterfaceIteratorHelper2 & )
- SAL_DELETED_FUNCTION;
+ OInterfaceIteratorHelper2( const OInterfaceIteratorHelper2 & ) = delete;
+ OInterfaceIteratorHelper2 & operator = ( const OInterfaceIteratorHelper2 & ) = delete;
};
@@ -235,10 +233,8 @@ friend class OInterfaceIteratorHelper2;
/** TRUE -> aData.pAsVector is of type Sequence< XInterfaceSequence >. */
bool bIsList;
- OInterfaceContainerHelper2( const OInterfaceContainerHelper2 & )
- SAL_DELETED_FUNCTION;
- OInterfaceContainerHelper2 & operator = ( const OInterfaceContainerHelper2 & )
- SAL_DELETED_FUNCTION;
+ OInterfaceContainerHelper2( const OInterfaceContainerHelper2 & ) = delete;
+ OInterfaceContainerHelper2 & operator = ( const OInterfaceContainerHelper2 & ) = delete;
/*
Duplicate content of the container and release the old one without destroying.