summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optlingu.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 11:47:47 +0200
commite6d23c144ccadbd962b5dfb953bf29e49a7f64a3 (patch)
treee0b0176fc3f4c08049cd72ef1ea4d24da02f0766 /cui/source/options/optlingu.cxx
parentcid#1448264 silence Out-of-bounds access (diff)
downloadcore-e6d23c144ccadbd962b5dfb953bf29e49a7f64a3.tar.gz
core-e6d23c144ccadbd962b5dfb953bf29e49a7f64a3.zip
loplugin:referencecasting in cppcanvas..cui
Change-Id: Ib8a513d88575cef9c1479b91adff98170c9323e8 Reviewed-on: https://gerrit.libreoffice.org/75937 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optlingu.cxx')
-rw-r--r--cui/source/options/optlingu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 3280514c63d7..c915ec25ad69 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1374,7 +1374,7 @@ IMPL_LINK(SvxLinguTabPage, ClickHdl_Impl, weld::Button&, rBtn, void)
ScopedVclPtr<AbstractSvxNewDictionaryDialog> aDlg(pFact->CreateSvxNewDictionaryDialog(GetDialogFrameWeld()));
uno::Reference< XDictionary > xNewDic;
if ( aDlg->Execute() == RET_OK )
- xNewDic.set( aDlg->GetNewDictionary(), UNO_QUERY );
+ xNewDic = aDlg->GetNewDictionary();
if ( xNewDic.is() )
{
// add new dics to the end