summaryrefslogtreecommitdiff
path: root/cui/source/inc/insdlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-09 13:27:06 +0100
committerAron Budea <aron.budea@collabora.com>2017-08-11 11:53:39 +0200
commite5fc1a94cda3abc2c450a7e9385e186151a2727b (patch)
tree8ae28793e158f1bf02fde80a348d68991b54556e /cui/source/inc/insdlg.hxx
parent34d1d02d6972367247bf0ac3c622ac8dd2650fe4 (diff)
Resolves: tdf#62702 allow ole objects to be inserted as icons
under windows on "create new", "further objects" you get the native windows insert object dialog which has the "Display As Icon" option, but on Linux etc (or using our own dialog) there isn't that option so add a "Display as icon" checkbox in our own dialog and generate an icon through SvFileInformationManager::GetImage Change-Id: I0a400189031900bd1e387465ec4ba57847cb5394 (cherry picked from commit f505f95d466d4d3348f41dfd93e5c243d15c6c71) Reviewed-on: https://gerrit.libreoffice.org/41021 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'cui/source/inc/insdlg.hxx')
-rw-r--r--cui/source/inc/insdlg.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx
index cd6a45a507ab..4b4277495004 100644
--- a/cui/source/inc/insdlg.hxx
+++ b/cui/source/inc/insdlg.hxx
@@ -64,6 +64,7 @@ class SvInsertOleDlg : public InsertObjectDialog_Impl
VclPtr<Edit> m_pEdFilepath;
VclPtr<PushButton> m_pBtnFilepath;
VclPtr<CheckBox> m_pCbFilelink;
+ VclPtr<CheckBox> m_pCbAsIcon;
const SvObjectServerList* m_pServers;
css::uno::Sequence< sal_Int8 > m_aIconMetaFile;