svx/source/dialog/signaturelinehelper.cxx | 3 ++- sw/qa/core/unocore/unocore.cxx | 1 - 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit c1128c74ad6a9efdb18db897271c7f3202a8a829 Author: Miklos Vajna <[email protected]> AuthorDate: Wed Dec 8 19:42:31 2021 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Thu Dec 9 08:25:30 2021 +0100 sw: remove an unused include Change-Id: Ib7be7fac788e06ee885d0eca9c082b145c889ef9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126552 Tested-by: Jenkins Reviewed-by: Miklos Vajna <[email protected]> diff --git a/svx/source/dialog/signaturelinehelper.cxx b/svx/source/dialog/signaturelinehelper.cxx index 560b5effd732..2b1bb9555440 100644 --- a/svx/source/dialog/signaturelinehelper.cxx +++ b/svx/source/dialog/signaturelinehelper.cxx @@ -142,7 +142,8 @@ void setShapeCertificate(const SdrView* pView, } // Remember the selected certificate. - uno::Reference<beans::XPropertySet> xShapeProps(pSignatureLine->getUnoShape(), uno::UNO_QUERY); + uno::Reference<drawing::XShape> xShape = pSignatureLine->getUnoShape(); + uno::Reference<beans::XPropertySet> xShapeProps(xShape, uno::UNO_QUERY); comphelper::SequenceAsHashMap aMap(xShapeProps->getPropertyValue("InteropGrabBag")); aMap["SignatureCertificate"] <<= xCertificate; xShapeProps->setPropertyValue("InteropGrabBag", diff --git a/sw/qa/core/unocore/unocore.cxx b/sw/qa/core/unocore/unocore.cxx index a480a082f975..55bfa1425528 100644 --- a/sw/qa/core/unocore/unocore.cxx +++ b/sw/qa/core/unocore/unocore.cxx @@ -22,7 +22,6 @@ #include <unotextrange.hxx> #include <unotxdoc.hxx> #include <docsh.hxx> -#include <view.hxx> using namespace ::com::sun::star;
