Kaydet (Commit) 5078c9fc authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: use prefix variant

üst 0a4e8bfe
......@@ -135,7 +135,7 @@ void SAL_CALL ManifestImport::startElement( const OUString& aName, const uno::Re
else if ( aStack.size() > 1 )
{
ManifestStack::reverse_iterator aIter = aStack.rbegin();
aIter++;
++aIter;
if ( aIter->m_aConvertedName.equals( sFileEntryElement ) )
{
......@@ -317,7 +317,7 @@ void SAL_CALL ManifestImport::setDocumentLocator( const uno::Reference< xml::sax
::rtl::OUString ManifestImport::ConvertName( const ::rtl::OUString& aName )
{
::rtl::OUString aConvertedName;
for ( ManifestStack::reverse_iterator aIter = aStack.rbegin(); !aConvertedName.getLength() && aIter != aStack.rend(); aIter++ )
for ( ManifestStack::reverse_iterator aIter = aStack.rbegin(); !aConvertedName.getLength() && aIter != aStack.rend(); ++aIter )
{
if ( !aIter->m_aNamespaces.empty() )
aConvertedName = ConvertNameWithNamespace( aName, aIter->m_aNamespaces );
......
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