summaryrefslogtreecommitdiff
path: root/cui/source/options/optdict.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-13 14:21:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 12:50:37 +0100
commitf841dada1a5018897cce29ccf972da33ece4738c (patch)
treeaf861d8c6abf98eed1b20ba7fdab2b3997d6e9be /cui/source/options/optdict.cxx
parent9763383ebb7e5b10ba9e7557dffa803a8d392c0d (diff)
loplugin:changetoolsgen in canvas..cui
Change-Id: I4e320055a3dbe4159c2aa2714e1ee98182e1e80a Reviewed-on: https://gerrit.libreoffice.org/49642 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optdict.cxx')
-rw-r--r--cui/source/options/optdict.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index b279fd2e71ee..695f358a0346 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -508,7 +508,7 @@ void SvxEditDictionaryDialog::ShowWords_Impl( sal_uInt16 nId )
if(!pReplaceFT->IsVisible())
{
Size aSize=pWordED->GetSizePixel();
- aSize.Width()=nWidth;
+ aSize.setWidth(nWidth );
pWordED->SetSizePixel(aSize);
pReplaceFT->Show();
pReplaceED->Show();
@@ -522,7 +522,7 @@ void SvxEditDictionaryDialog::ShowWords_Impl( sal_uInt16 nId )
if(pReplaceFT->IsVisible())
{
Size aSize=pWordED->GetSizePixel();
- aSize.Width()=pWordsLB->GetSizePixel().Width();
+ aSize.setWidth(pWordsLB->GetSizePixel().Width() );
pWordED->SetSizePixel(aSize);
pReplaceFT->Hide();
pReplaceED->Hide();