[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Sun Sep 6 12:04:56 UTC 2020
vcl/source/filter/ipdf/pdfread.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 49f2eb54176af7f17aadb0108f290b2698da467f
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Thu Sep 3 14:30:40 2020 +0200
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sun Sep 6 14:04:15 2020 +0200
pdf: don't require that a "text" annotation has a "pop-up" child
Change-Id: I9b5940ea7c402725fa899a004241920663605fec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102093
Tested-by: Tomaž Vajngerl <quikee at gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index 190644d91d31..1dde06491ea1 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -239,12 +239,10 @@ std::vector<PDFGraphicAnnotation> findAnnotations(std::unique_ptr<vcl::pdf::PDFi
{
auto eSubtype = pAnnotation->getSubType();
- if (eSubtype == vcl::pdf::PDFAnnotationSubType::Text
- && pAnnotation->hasKey(vcl::pdf::constDictionaryKeyPopup))
+ if (eSubtype == vcl::pdf::PDFAnnotationSubType::Text)
{
OUString sAuthor = pAnnotation->getString(vcl::pdf::constDictionaryKeyTitle);
OUString sText = pAnnotation->getString(vcl::pdf::constDictionaryKeyContents);
- auto pPopupAnnotation = pAnnotation->getLinked(vcl::pdf::constDictionaryKeyPopup);
basegfx::B2DRectangle rRectangle = pAnnotation->getRectangle();
basegfx::B2DRectangle rRectangleHMM(
More information about the Libreoffice-commits
mailing list