From 664e65f9c291589d9a0cd639fec06bc0575ba6da Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 11 Feb 2013 23:23:09 -0500 Subject: Forgot to name it consistently... Change-Id: I331dcd6678c5f781b5535b72d38fd7544ad9b431 --- sc/source/filter/xml/editattributemap.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sc/source/filter/xml/editattributemap.cxx b/sc/source/filter/xml/editattributemap.cxx index 174f5080d8f1..22b4016bd132 100644 --- a/sc/source/filter/xml/editattributemap.cxx +++ b/sc/source/filter/xml/editattributemap.cxx @@ -20,7 +20,7 @@ struct { sal_uInt16 mnItemID; sal_uInt8 mnFlag; -} Entries[] = { +} aEntries[] = { { "color", "CharColor", EE_CHAR_COLOR, 0 }, { "font-charset", "CharFontCharSet", EE_CHAR_FONTINFO, MID_FONT_CHAR_SET }, @@ -76,13 +76,13 @@ ScXMLEditAttributeMap::Entry::Entry(sal_uInt16 nItemID, sal_uInt8 nFlag) : ScXMLEditAttributeMap::ScXMLEditAttributeMap() { - size_t n = sizeof(Entries) / sizeof(Entries[0]); + size_t n = sizeof(aEntries) / sizeof(aEntries[0]); for (size_t i = 0; i < n; ++i) { maEntries.insert( EntriesType::value_type( - OUString::createFromAscii(Entries[i].mpAPIName), - Entry(Entries[i].mnItemID, Entries[i].mnFlag))); + OUString::createFromAscii(aEntries[i].mpAPIName), + Entry(aEntries[i].mnItemID, aEntries[i].mnFlag))); } } -- cgit