diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-09-29 21:02:39 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-09-30 08:25:22 +0200 |
commit | 9a2357c0e2bb1d99a1816437d3862b7bd8c85898 (patch) | |
tree | 2aa3f80243e34e62a98d22e7d6f8a0c929aa28c1 /include | |
parent | 0311006ec9cdf76f6863c203658cebf88e135a6c (diff) |
vcl: add PDFiumAnnotation::getObjectCount()
And use it in xmlsecurity, instead of the upstream scopers, to
standardize on a single set of pdfium wrappers.
Change-Id: Iec4baf34a607b23f1b9de8c4b969801c5973c1ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103636
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 6386441b6f39..8a8aae569e22 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -71,6 +71,7 @@ public: bool hasKey(OString const& rKey); OUString getString(OString const& rKey); std::unique_ptr<PDFiumAnnotation> getLinked(OString const& rKey); + int getObjectCount(); }; class PDFiumTextPage; |