summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-05-17 17:49:54 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-05-23 11:47:47 +0200
commitc7a09ea9d58fbf41090508e32334be3c0356b050 (patch)
tree699f800ecf3db529244f28c1de3ce99a8faff953 /sw
parent08241a507985ac66d5fb5670cbd390e99fc9ac97 (diff)
use SAL_RET_MAYBENULL in GetUserCall
after 495b5db74f0db59395ff68bacc8d8ca67595b66e "sw: check GetUserCall" Change-Id: I14b69c1d95ddea2c4c92e6c682930cd501ea7612 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167787 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/dcontact.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index b4d501f44ccf..c8bfa42e1eab 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -57,7 +57,7 @@ void setContextWritingMode( SdrObject* pObj, SwFrame const * pAnchor );
SwRect GetBoundRectOfAnchoredObj( const SdrObject* pObj );
/// @return UserCall of group object (if applicable).
-SwContact* GetUserCall( const SdrObject* );
+SAL_RET_MAYBENULL SwContact* GetUserCall( const SdrObject* );
/// @return TRUE if the SrdObject is a Marquee object.
bool IsMarqueeTextObj( const SdrObject& rObj );