summaryrefslogtreecommitdiff
path: root/xmloff/source/style/impastp2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-01 10:56:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-01 13:54:51 +0100
commit7e579295c8c07998d7e077fa7e1db24745726e5f (patch)
tree5a276e6f17e6094b578b9b6947db9398e7509c65 /xmloff/source/style/impastp2.cxx
parent3515019f8aabebc6f0037fa2e8f4a271b64e3845 (diff)
convert SvXMLAutoStylePoolNamesP_Impl to a std::set
Change-Id: I839edf8d0e941f78f6f6f9e6a9117f76587a5f39
Diffstat (limited to 'xmloff/source/style/impastp2.cxx')
-rw-r--r--xmloff/source/style/impastp2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/impastp2.cxx b/xmloff/source/style/impastp2.cxx
index 882619d15f0f..b5d3c94b3747 100644
--- a/xmloff/source/style/impastp2.cxx
+++ b/xmloff/source/style/impastp2.cxx
@@ -58,7 +58,7 @@ SvXMLAutoStylePoolPropertiesP_Impl::SvXMLAutoStylePoolPropertiesP_Impl( XMLFamil
sBuffer.append( OUString::valueOf( (sal_Int32)pFamilyData->mnName ) );
msName = sBuffer.makeStringAndClear();
}
- while( pFamilyData->mpNameList->Seek_Entry( &msName, 0 ) );
+ while( pFamilyData->mpNameList->find(msName) != pFamilyData->mpNameList->end() );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */