diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 13:39:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 17:18:38 +0100 |
commit | 2e83a62f15b564edfe7f585dd72fcb41058120b3 (patch) | |
tree | b43e06c3a7867251813d876b5be32be3e7c32ebd /include/svx/unoapi.hxx | |
parent | cross-compiling: no need for gtk or gstreamer for BUILD (diff) | |
download | core-2e83a62f15b564edfe7f585dd72fcb41058120b3.tar.gz core-2e83a62f15b564edfe7f585dd72fcb41058120b3.zip |
Clean up LIBO_INTERNAL_ONLY uses of SAL_WARN_UNUSED_RESULT
Change-Id: I98b2d90c8345f07010f6defd82557188d5cd35c7
Reviewed-on: https://gerrit.libreoffice.org/64808
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/svx/unoapi.hxx')
-rw-r--r-- | include/svx/unoapi.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx index 0f07186497fb..71d699ad0a65 100644 --- a/include/svx/unoapi.hxx +++ b/include/svx/unoapi.hxx @@ -79,7 +79,7 @@ SVX_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi * * @throws std::exception */ -SAL_WARN_UNUSED_RESULT SVX_DLLPUBLIC OUString +[[nodiscard]] SVX_DLLPUBLIC OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString& rInternalName); /** @@ -88,7 +88,7 @@ SAL_WARN_UNUSED_RESULT SVX_DLLPUBLIC OUString * * @throws std::exception */ -SAL_WARN_UNUSED_RESULT SVX_DLLPUBLIC OUString +[[nodiscard]] SVX_DLLPUBLIC OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString& rApiName); #endif // INCLUDED_SVX_UNOAPI_HXX |