summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-12-11 17:03:02 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-11 17:03:29 +0100
commitf00b77c856067b77a6dc5c2d90cc1205d87de03a (patch)
tree7f3c2649fea9771ca04fdef7fae6e735fdb84d53 /sal
parentf1335171987272b66c2e1e0b02cddb28d44502ec (diff)
SAL_DELETE -> SAL_DELETED_FUNCTION, for a more descriptive name
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/ustrbuf.hxx2
-rw-r--r--sal/inc/sal/types.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index 2095cd5af514..98f1fc5ee911 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -582,7 +582,7 @@ public:
template< typename T >
typename internal::Enable< void,
!internal::CharPtrDetector< T* >::ok && !internal::SalUnicodePtrDetector< T* >::ok >::Type
- append( T* ) SAL_DELETE;
+ append( T* ) SAL_DELETED_FUNCTION;
#endif
// This overload is needed because OUString has a ctor from rtl_uString*, but
diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h
index 46f600310b6c..125c098f5f0a 100644
--- a/sal/inc/sal/types.h
+++ b/sal/inc/sal/types.h
@@ -408,9 +408,9 @@ namespace css = ::com::sun::star;
@since LibreOffice 4.1
*/
#if defined HAVE_CXX11_DELETE
-#define SAL_DELETE = delete
+#define SAL_DELETED_FUNCTION = delete
#else
-#define SAL_DELETE
+#define SAL_DELETED_FUNCTION
#endif
#endif /* __cplusplus */