EditView->GetWindow()->GetClipboard() is the same as GetSystemClipboard()

so we don't really need the intermediate vcl::Window to get that

Change-Id: I5fa449e46c2226f0fb84f2e230e328c4da5472ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104125
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index e076c76..f3b2060 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -640,8 +640,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
                const SvxFieldData* pField = pEditView->GetFieldAtCursor();
                if (const SvxURLField* pURLField = dynamic_cast<const SvxURLField*>(pField))
                {
                    uno::Reference<datatransfer::clipboard::XClipboard> xClipboard
                        = pEditView->GetWindow()->GetClipboard();
                    uno::Reference<datatransfer::clipboard::XClipboard> xClipboard = GetSystemClipboard();

                    if (comphelper::LibreOfficeKit::isActive())
                    {