summaryrefslogtreecommitdiff
path: root/include/typelib
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-24 16:54:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-29 16:42:33 +0200
commitc3e9eb997f409f7fcf42659adedff43a8ade913d (patch)
tree3193cd77a4273844bb1584040854ed8f6120309b /include/typelib
parent0adee3ac5080723b5f0605c13f02ef358d848a0b (diff)
[API CHANGE] Deprecate unused typelib_setCacheSize and make it a no-op
...and simplify the remaining code using the (now const) nCacheSize Change-Id: I4468cf223c158a318ba56ba63f5f60121c94f42d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134879 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/typelib')
-rw-r--r--include/typelib/typedescription.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/typelib/typedescription.h b/include/typelib/typedescription.h
index 59423bfd481b..a3e200d43738 100644
--- a/include/typelib/typedescription.h
+++ b/include/typelib/typedescription.h
@@ -720,6 +720,8 @@ CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_getByName(
/** Sets size of type description cache.
@param nNewSize new size of cache
+
+ @deprecated Do not use, it does not have any effect.
*/
CPPU_DLLPUBLIC void SAL_CALL typelib_setCacheSize(
sal_Int32 nNewSize )