diff options
Diffstat (limited to 'sd/source/ui/view/sdview2.cxx')
-rw-r--r-- | sd/source/ui/view/sdview2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index 3a40d4065d93..a5b3d44132b6 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -731,7 +731,7 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, sal_Int32 nIndex = aBookmark.indexOf( '#' ); if( nIndex != -1 ) { - const OUString aDocName( aBookmark.copy( 0, nIndex ) ); + const std::u16string_view aDocName( aBookmark.subView( 0, nIndex ) ); if (mpDocSh->GetMedium()->GetName() == aDocName || aDocName == mpDocSh->GetName()) { |