summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-06-19 16:49:05 +0200
committerKrisztian Pinter <pin.terminator@gmail.com>2014-07-25 17:14:10 +0200
commitd26944b588d6411b300e36c918726ac9ec2f2438 (patch)
treec8db51d891e9cf638396a16e0c081750ac42c40a
parent8b41daa9100d9468cf7ba7783d01ea6eca7ba3ec (diff)
Code cleanup
Change-Id: Ib452a5cd716ef243e04f498d2fa23d0d389865c0
-rw-r--r--svx/source/tbxctrls/SvxColorValueSet.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx
index 1ee94f1cc208..b2ada21150e3 100644
--- a/svx/source/tbxctrls/SvxColorValueSet.cxx
+++ b/svx/source/tbxctrls/SvxColorValueSet.cxx
@@ -90,14 +90,10 @@ void SvxColorValueSet::addEntriesForXColorList(const XColorList& rXColorList, sa
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();
it != rColorVector.end(); it++, nStartIndex++)
{
- const Color& rEntry = *it;
- InsertItem(nStartIndex, rEntry, "");
+ InsertItem(nStartIndex, *it, "");
}
}