diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-13 15:45:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-14 14:21:57 +0100 |
commit | 9127763db1fcb90b168befda6ce07aece774ceb4 (patch) | |
tree | ebaedd53b80f90a3d1412b694141d2c83fe2c400 /cui | |
parent | bb9481a489cc21b0695c9a7c3e9d4ffe1446f8a9 (diff) |
weld MacroSecurity cluster
MacroSecurity, MacroSecurityLevelTP and MacroSecurityTrustedSourcesTP
Change-Id: I0c3494a051cdac2723710484d5e00146d3f3dfe7
Reviewed-on: https://gerrit.libreoffice.org/67797
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optinet2.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index e090744d5f90..9353b990e847 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -822,7 +822,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, MacroSecPBHdl, Button*, void) { Reference< security::XDocumentDigitalSignatures > xD( security::DocumentDigitalSignatures::createDefault(comphelper::getProcessComponentContext() ) ); - xD->setParentWindow(VCLUnoHelper::GetInterface(GetTabDialog())); + xD->setParentWindow(VCLUnoHelper::GetInterface(GetParentDialog())); xD->manageTrustedSources(); } catch (const Exception& e) diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 5e915f8ba31b..3ca962d882ff 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -1885,7 +1885,6 @@ OfaAutoCompleteTabPage::OfaAutoCompleteTabPage(TabPageParent pParent, { m_xCBRemoveList->set_label_line_wrap(true); m_xCBRemoveList->set_size_request(nMaxWidth, -1); - aPrefSize = m_xCBRemoveList->get_preferred_size(); } m_xLBEntries->set_size_request(m_xLBEntries->get_approximate_digit_width() * 30, |