dbaccess/source/ui/app/AppIconControl.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
New commits: commit b5a614a412b59d686ee3e8a3531dc28c0fccb8e9 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Feb 28 14:11:53 2025 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Feb 28 16:55:32 2025 +0100 dbaccess: fix typo Change-Id: Ibdac76ba3346fc623a04345550d6ffd83a3ff77d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182362 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/dbaccess/source/ui/app/AppIconControl.cxx b/dbaccess/source/ui/app/AppIconControl.cxx index bd94d52c564b..0483ab38f4dd 100644 --- a/dbaccess/source/ui/app/AppIconControl.cxx +++ b/dbaccess/source/ui/app/AppIconControl.cxx @@ -79,17 +79,16 @@ void OApplicationIconControl::Fill() { RID_STR_FORMS_CONTAINER, E_FORM, BMP_FORMFOLDER_TREE_L }, { RID_STR_REPORTS_CONTAINER, E_REPORT, BMP_REPORTFOLDER_TREE_L } }; - for (const CategoryDescriptor& aCategorie : aCategories) + for (const CategoryDescriptor& aCategory : aCategories) { // E_TABLE is 0, but 0 means void so use id of enum + 1 - std::unique_ptr<ThumbnailViewItem> xItem( - new ThumbnailViewItem(*this, aCategorie.eType + 1)); + std::unique_ptr<ThumbnailViewItem> xItem(new ThumbnailViewItem(*this, aCategory.eType + 1)); xItem->mbBorder = false; - xItem->maPreview1 = BitmapEx(aCategorie.aImageResId); + xItem->maPreview1 = BitmapEx(aCategory.aImageResId); const Size& rSize = xItem->maPreview1.GetSizePixel(); m_nMaxWidth = std::max(m_nMaxWidth, rSize.Width()); m_nMaxHeight = std::max(m_nMaxHeight, rSize.Height()); - xItem->maTitle = DBA_RES(aCategorie.pLabelResId); + xItem->maTitle = DBA_RES(aCategory.pLabelResId); m_nMaxWidth = std::max<tools::Long>(m_nMaxWidth, GetTextWidth(xItem->maTitle)); AppendItem(std::move(xItem)); }