Kaydet (Commit) ad99d4ee authored tarafından Michael Stahl's avatar Michael Stahl

SvXMLAutoStylePoolP_Impl: try to make MSVC happy

Change-Id: Ifecfa196923b7fdde51839d74bef46e840bae501
üst e38940a1
...@@ -263,12 +263,14 @@ OUString SvXMLAutoStylePoolP_Impl::Find( sal_Int32 nFamily, ...@@ -263,12 +263,14 @@ OUString SvXMLAutoStylePoolP_Impl::Find( sal_Int32 nFamily,
OUString sName; OUString sName;
XMLFamilyData_Impl aTemporary( nFamily ); XMLFamilyData_Impl aTemporary( nFamily );
XMLFamilyDataList_Impl::iterator aFind = maFamilyList.find(aTemporary); XMLFamilyDataList_Impl::const_iterator const iter =
DBG_ASSERT(aFind != maFamilyList.end(), "SvXMLAutoStylePool_Impl::Find: unknown family"); maFamilyList.find(aTemporary);
OSL_ENSURE(iter != maFamilyList.end(),
"SvXMLAutoStylePool_Impl::Find: unknown family");
if (aFind != maFamilyList.end()) if (iter != maFamilyList.end())
{ {
XMLFamilyData_Impl &rFamily = *aFind; XMLFamilyData_Impl const& rFamily = *iter;
const SvXMLAutoStylePoolParentsP_Impl* pParents = const SvXMLAutoStylePoolParentsP_Impl* pParents =
rFamily.mpParentList; rFamily.mpParentList;
......
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