diff options
Diffstat (limited to 'xmloff/source/text/txtimp.cxx')
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 7ed81b9e6f2a..60768588f3ee 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -1164,12 +1164,7 @@ bool XMLTextImportHelper::IsDuplicateFrame(const OUString& sName, sal_Int32 nX, } // In some case, position is not defined for frames, so check whether the two frames follow each other (are anchored to the same position) - if (m_xImpl->msLastImportedFrameName != sName) - { - return false; - } - - return true; + return m_xImpl->msLastImportedFrameName == sName; } return false; } |