[Libreoffice-commits] core.git: svx/source
Rishabh Kumar
kris.kr296 at gmail.com
Sat Jul 30 17:34:35 UTC 2016
svx/source/tbxctrls/PaletteManager.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 47f8170e5b7dfd959e1fe77599289f280f30bbd4
Author: Rishabh Kumar <kris.kr296 at gmail.com>
Date: Sat Jul 30 22:17:50 2016 +0530
Change data type of loop variant to size_type
Change-Id: I7ec187defb51362caddef3439a1a09257ef9f4dc
Reviewed-on: https://gerrit.libreoffice.org/27729
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Rishabh Kumar <kris.kr296 at yahoo.in>
diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx
index 74a87f7..e1da1d7 100644
--- a/svx/source/tbxctrls/PaletteManager.cxx
+++ b/svx/source/tbxctrls/PaletteManager.cxx
@@ -228,7 +228,7 @@ void PaletteManager::AddRecentColor(const Color& rRecentColor)
if( maRecentColors.size() > mnMaxRecentColors )
maRecentColors.pop_back();
css::uno::Sequence< sal_Int32 > aColorList(maRecentColors.size());
- for(sal_uInt32 i = 0;i < maRecentColors.size();i++)
+ for(std::deque<Color>::size_type i = 0;i < maRecentColors.size();i++)
{
aColorList[i] = static_cast<sal_Int32>(maRecentColors[i].GetColor());
}
More information about the Libreoffice-commits
mailing list