diff options
Diffstat (limited to 'xmloff/source/style/impastpl.cxx')
-rw-r--r-- | xmloff/source/style/impastpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index 263388579b21..69ad5d3e05ce 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -282,11 +282,11 @@ bool XMLAutoStylePoolParent::Add( XMLAutoStyleFamily& rFamilyData, const vector< for (size_t n = m_PropertiesList.size(); i < n; ++i) { XMLAutoStylePoolProperties *const pIS = m_PropertiesList[i].get(); - if( nProperties > (sal_Int32)pIS->GetProperties().size() ) + if( nProperties > static_cast<sal_Int32>(pIS->GetProperties().size()) ) { continue; } - else if( nProperties < (sal_Int32)pIS->GetProperties().size() ) + else if( nProperties < static_cast<sal_Int32>(pIS->GetProperties().size()) ) { break; } @@ -325,11 +325,11 @@ bool XMLAutoStylePoolParent::AddNamed( XMLAutoStyleFamily& rFamilyData, const ve for (size_t n = m_PropertiesList.size(); i < n; ++i) { XMLAutoStylePoolProperties *const pIS = m_PropertiesList[i].get(); - if( nProperties > (sal_Int32)pIS->GetProperties().size() ) + if( nProperties > static_cast<sal_Int32>(pIS->GetProperties().size()) ) { continue; } - else if( nProperties < (sal_Int32)pIS->GetProperties().size() ) + else if( nProperties < static_cast<sal_Int32>(pIS->GetProperties().size()) ) { break; } |