summaryrefslogtreecommitdiffstats
path: root/xmloff/source/style/xmlprmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlprmap.cxx')
-rw-r--r--xmloff/source/style/xmlprmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx
index 766f25bfa426..181cdac7ed77 100644
--- a/xmloff/source/style/xmlprmap.cxx
+++ b/xmloff/source/style/xmlprmap.cxx
@@ -222,11 +222,11 @@ sal_Int32 XMLPropertySetMapper::FindEntryIndex(
sal_Int32 XMLPropertySetMapper::FindEntryIndex( const sal_Int16 nContextId ) const
{
- sal_Int32 nIndex = 0;
const sal_Int32 nEntries = GetEntryCount();
if ( nEntries )
{
+ sal_Int32 nIndex = 0;
do
{
const XMLPropertySetMapperEntry_Impl& rEntry = aMapEntries[nIndex];