Kaydet (Commit) f4d750cf authored tarafından Noel Grandin's avatar Noel Grandin

convert includes/svtools/openfiledroptargetlistener.hxx to OUString

Change-Id: I09fe1739e92aa522c7c6f085d0355fd7c03c047d
üst 55f2f086
...@@ -64,7 +64,7 @@ class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1< ...@@ -64,7 +64,7 @@ class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1<
void implts_BeginDrag( const css::uno::Sequence< css::datatransfer::DataFlavor >& rSupportedDataFlavors ); void implts_BeginDrag( const css::uno::Sequence< css::datatransfer::DataFlavor >& rSupportedDataFlavors );
void implts_EndDrag(); void implts_EndDrag();
sal_Bool implts_IsDropFormatSupported( SotFormatStringId nFormat ); sal_Bool implts_IsDropFormatSupported( SotFormatStringId nFormat );
void implts_OpenFile( const String& rFilePath ); void implts_OpenFile( const OUString& rFilePath );
}; };
#endif // SVTOOLS_DROPTARGETLISTENER_HXX #endif // SVTOOLS_DROPTARGETLISTENER_HXX
......
...@@ -191,7 +191,7 @@ sal_Bool OpenFileDropTargetListener::implts_IsDropFormatSupported( SotFormatStri ...@@ -191,7 +191,7 @@ sal_Bool OpenFileDropTargetListener::implts_IsDropFormatSupported( SotFormatStri
return bRet; return bRet;
} }
void OpenFileDropTargetListener::implts_OpenFile( const String& rFilePath ) void OpenFileDropTargetListener::implts_OpenFile( const OUString& rFilePath )
{ {
OUString aFileURL; OUString aFileURL;
if ( !::utl::LocalFileHelper::ConvertPhysicalNameToURL( rFilePath, aFileURL ) ) if ( !::utl::LocalFileHelper::ConvertPhysicalNameToURL( rFilePath, aFileURL ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment