Kaydet (Commit) 9dbc4cc7 authored tarafından Krisztian Pinter's avatar Krisztian Pinter Kaydeden (comit) Tomaž Vajngerl

Code cleanup

Change-Id: Ib452a5cd716ef243e04f498d2fa23d0d389865c0
üst 118598c8
...@@ -90,14 +90,10 @@ void SvxColorValueSet::addEntriesForXColorList(const XColorList& rXColorList, sa ...@@ -90,14 +90,10 @@ void SvxColorValueSet::addEntriesForXColorList(const XColorList& rXColorList, sa
void SvxColorValueSet::addEntriesForColorVector(const std::vector<Color>& rColorVector, sal_uInt32 nStartIndex) void SvxColorValueSet::addEntriesForColorVector(const std::vector<Color>& rColorVector, sal_uInt32 nStartIndex)
{ {
const sal_uInt32 nColorCount(rColorVector.size());
//for(sal_uInt32 nIndex(0); nIndex < nColorCount; nIndex++, nStartIndex++)
for(std::vector<Color>::const_iterator it = rColorVector.begin(); for(std::vector<Color>::const_iterator it = rColorVector.begin();
it != rColorVector.end(); it++, nStartIndex++) it != rColorVector.end(); it++, nStartIndex++)
{ {
const Color& rEntry = *it; InsertItem(nStartIndex, *it, "");
InsertItem(nStartIndex, rEntry, "");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment