summaryrefslogtreecommitdiffstats
path: root/desktop/source/migration/services/wordbookmigration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/migration/services/wordbookmigration.cxx')
-rw-r--r--desktop/source/migration/services/wordbookmigration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx
index 83f687703e9f..a3fff8823925 100644
--- a/desktop/source/migration/services/wordbookmigration.cxx
+++ b/desktop/source/migration/services/wordbookmigration.cxx
@@ -138,7 +138,7 @@ static bool IsUserWordbook( const OUString& rFile )
{
if (IsUserWordbook(elem) )
{
- OUString sSourceLocalName = elem.copy( m_sSourceDir.getLength() );
+ std::u16string_view sSourceLocalName = elem.subView( m_sSourceDir.getLength() );
OUString sTargetName = sTargetDir + sSourceLocalName;
INetURLObject aURL( sTargetName );
aURL.removeSegment();