summaryrefslogtreecommitdiff
path: root/include/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-01 13:30:38 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-04 12:30:09 +0000
commit4e3ed5aeb5c998ee4077138fe802b471bea9fcb2 (patch)
treebeeb4fd534bc37de229e96587643a5182e1fc10f /include/com
parent6964c17415ae2d77a6aa50eeb8464faba7a47d14 (diff)
use SAL_DEPRECATED in uno::Reference
and fix a couple of usages that have crept in Change-Id: Ia3e7fcc05dac6e0d205e69c0e0372c74653e7c5e Reviewed-on: https://gerrit.libreoffice.org/26851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/com')
-rw-r--r--include/com/sun/star/uno/Reference.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/com/sun/star/uno/Reference.h b/include/com/sun/star/uno/Reference.h
index 5f4fea0d87fa..e657fd84b197 100644
--- a/include/com/sun/star/uno/Reference.h
+++ b/include/com/sun/star/uno/Reference.h
@@ -333,7 +333,7 @@ public:
@param pInterface another reference
@param dummy UNO_REF_NO_ACQUIRE to force obvious distinction to other constructors
*/
- inline Reference( interface_type * pInterface, UnoReference_NoAcquire dummy );
+ inline SAL_DEPRECATED("use SAL_NO_ACQUIRE version") Reference( interface_type * pInterface, UnoReference_NoAcquire dummy );
/** Constructor: Queries given interface for reference interface type (interface_type).
@@ -451,7 +451,7 @@ public:
@param dummy UNO_REF_NO_ACQUIRE to force obvious distinction to set methods
@return true, if non-null interface was set
*/
- inline bool SAL_CALL set( interface_type * pInterface, UnoReference_NoAcquire dummy);
+ inline SAL_DEPRECATED("use SAL_NO_ACQUIRE version") bool SAL_CALL set( interface_type * pInterface, UnoReference_NoAcquire dummy);
/** Queries given interface for reference interface type (interface_type) and sets it.
An interface already set will be released.