summaryrefslogtreecommitdiff
path: root/sd/source/ui/controller
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2018-11-26 19:50:38 +0000
committerMichael Meeks <michael.meeks@collabora.com>2019-10-11 23:54:06 +0200
commit969cf08615a1b0b1d45a640362a7248039f4d4f1 (patch)
treef10d21c0409799b69b59d986d8663a5a004a71f6 /sd/source/ui/controller
parent4e421d9cd1fc799a4d31827e2f7b344faeab05c8 (diff)
Propagate stock info through slide layouts.
(cherry picked from commit f107161bbd0eb4ee5766f5f983d18b32b929b15c) Change-Id: If717db82fe6ab14bbf32225c1f1c95f44954f011 Reviewed-on: https://gerrit.libreoffice.org/80667 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sd/source/ui/controller')
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index 21f1425a68ae..fc64f7439d78 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -125,7 +125,7 @@ static void fillLayoutValueSet( ValueSet* pValue, const snewfoil_value_info_layo
OUString aText(SdResId(pInfo->mpStrResId));
Image aImg(StockImage::Yes, OUString::createFromAscii(pInfo->msBmpResId));
pValue->InsertItem(static_cast<sal_uInt16>(pInfo->maAutoLayout)+1, aImg, aText);
- aLayoutItemSize.setWidth( std::max( aLayoutItemSize.Width(), aImg.GetSizePixel().Width() ) );
+ aLayoutItemSize.setWidth( std::max( aLayoutItemSize.Width(), aImg.GetSizePixel().Width() ) );
aLayoutItemSize.setHeight( std::max( aLayoutItemSize.Height(), aImg.GetSizePixel().Height() ) );
}