diff options
Diffstat (limited to 'sal/osl/w32/file_dirvol.cxx')
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx index bd5bb0272c93..5f8aef4c32fb 100644 --- a/sal/osl/w32/file_dirvol.cxx +++ b/sal/osl/w32/file_dirvol.cxx @@ -1151,9 +1151,7 @@ SAL_CALL osl_identicalDirectoryItem( oslDirectoryItem a, oslDirectoryItem b) if (a == b) return sal_True; /* same name => same item, unless renaming / moving madness has occurred */ - if (rtl_ustr_compare_WithLength( - pA->m_pFullPath->buffer, pA->m_pFullPath->length, - pB->m_pFullPath->buffer, pB->m_pFullPath->length ) == 0) + if (pA->m_pFullPath == pB->m_pFullPath) return sal_True; // FIXME: as/when/if this is used in anger on Windows we could |