summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svtools/openfiledroptargetlistener.hxx2
-rw-r--r--svtools/source/misc/openfiledroptargetlistener.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/openfiledroptargetlistener.hxx b/include/svtools/openfiledroptargetlistener.hxx
index 2a6832d886d0..1bebf7d45c45 100644
--- a/include/svtools/openfiledroptargetlistener.hxx
+++ b/include/svtools/openfiledroptargetlistener.hxx
@@ -64,7 +64,7 @@ class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1<
void implts_BeginDrag( const css::uno::Sequence< css::datatransfer::DataFlavor >& rSupportedDataFlavors );
void implts_EndDrag();
sal_Bool implts_IsDropFormatSupported( SotFormatStringId nFormat );
- void implts_OpenFile( const String& rFilePath );
+ void implts_OpenFile( const OUString& rFilePath );
};
#endif // SVTOOLS_DROPTARGETLISTENER_HXX
diff --git a/svtools/source/misc/openfiledroptargetlistener.cxx b/svtools/source/misc/openfiledroptargetlistener.cxx
index 5d373836e50a..5286a7e25546 100644
--- a/svtools/source/misc/openfiledroptargetlistener.cxx
+++ b/svtools/source/misc/openfiledroptargetlistener.cxx
@@ -191,7 +191,7 @@ sal_Bool OpenFileDropTargetListener::implts_IsDropFormatSupported( SotFormatStri
return bRet;
}
-void OpenFileDropTargetListener::implts_OpenFile( const String& rFilePath )
+void OpenFileDropTargetListener::implts_OpenFile( const OUString& rFilePath )
{
OUString aFileURL;
if ( !::utl::LocalFileHelper::ConvertPhysicalNameToURL( rFilePath, aFileURL ) )