diff options
Diffstat (limited to 'desktop/source/migration/migration_impl.hxx')
-rw-r--r-- | desktop/source/migration/migration_impl.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx index 9dab246792da..4ab670887080 100644 --- a/desktop/source/migration/migration_impl.hxx +++ b/desktop/source/migration/migration_impl.hxx @@ -124,12 +124,13 @@ struct MigrationItem bool operator==(const MigrationItem& aMigrationItem) { - return ((aMigrationItem.m_sCommandURL == m_sCommandURL - || (areBothOpenFrom(aMigrationItem.m_sCommandURL, m_sCommandURL) - || areBothOpenFrom(m_sCommandURL, aMigrationItem.m_sCommandURL))) + return + (aMigrationItem.m_sCommandURL == m_sCommandURL + || areBothOpenFrom(aMigrationItem.m_sCommandURL, m_sCommandURL) + || areBothOpenFrom(m_sCommandURL, aMigrationItem.m_sCommandURL)) && aMigrationItem.m_sParentNodeName == m_sParentNodeName && aMigrationItem.m_sPrevSibling == m_sPrevSibling - && aMigrationItem.m_xPopupMenu.is() == m_xPopupMenu.is() ); + && aMigrationItem.m_xPopupMenu.is() == m_xPopupMenu.is(); } }; |