summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-12-04 18:36:29 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2023-12-07 14:58:33 +0100
commit64624d225c71229acce4f889d4863d7c29c52658 (patch)
tree511822d41736a0cc4d40864906f59d3308293be9 /include
parent5e0534ca76d3e666e7516ec7a9b05afdbfe4b056 (diff)
lok: send error on access denied in image import
- when we paste HTML with references to external images and host filter is configured then we have empty graphics - inform client about that so we can show an error to the user Change-Id: I7d584c256d8d004955c970056341ab42864d1dd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160319 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/lokhelper.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 6df7e0cdc341..24a508859fa1 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -226,6 +226,9 @@ public:
static VclPtr<vcl::Window> getInPlaceDocWindow(SfxViewShell* pViewShell);
+ /// Sends Network Access error to LOK
+ static void sendNetworkAccessError();
+
static void notifyLog(const std::ostringstream& stream);
private: