diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-02-25 15:07:19 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-27 12:23:01 +0200 |
commit | 9554b95413c82ee4e18e08a69fb7a6477b0c9e22 (patch) | |
tree | 9b713b8b2dac21709af81639ee68baa7a982dfd6 /offapi | |
parent | fdc21b3f40b66efeb98ca81b8caee5cd3e76673e (diff) |
First cut at annotating 'exotic' filters.
The idea being that we can improve security by warning for these.
Change-Id: I7d993417bfb6a8fe868bc3e07ccbcfe71bf285ff
Reviewed-on: https://gerrit.libreoffice.org/50387
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 25e4b59b2e9805ebd3c38c40e5591125a05ed5b0)
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/document/ExoticFileLoadException.idl | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 472771a5c15d..5154fec08bf2 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -2188,6 +2188,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/document,\ DocumentEvent \ EmptyUndoStackException \ EventObject \ + ExoticFileLoadException \ FilterOptionsRequest \ LinkUpdateModes \ LockFileCorruptRequest \ diff --git a/offapi/com/sun/star/document/ExoticFileLoadException.idl b/offapi/com/sun/star/document/ExoticFileLoadException.idl new file mode 100644 index 000000000000..e742f7edbea7 --- /dev/null +++ b/offapi/com/sun/star/document/ExoticFileLoadException.idl @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +#ifndef __com_sun_star_document_ExoticFileLoadException_idl__ +#define __com_sun_star_document_ExoticFileLoadException_idl__ + +#include <com/sun/star/uno/Exception.idl> + +module com { module sun { module star { module document { + +/** An exception used to notify loading of an exotic file format + @since LibreOffice 6.1 +*/ +exception ExoticFileLoadException : ::com::sun::star::uno::Exception +{ + /** contains the URL of the document + */ + string URL; + + /** contains the UI name of the filter + */ + string FilterUIName; +}; + + +}; }; }; }; + +#endif + |