diff options
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/olecomponent.cxx | 20 | ||||
-rw-r--r-- | embeddedobj/source/msole/olevisual.cxx | 4 | ||||
-rw-r--r-- | embeddedobj/source/msole/xdialogcreator.cxx | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 140ad3dc073b..adff4fee07f1 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -185,28 +185,28 @@ struct OleComponentNative_Impl { m_aSupportedGraphFormats.realloc( 5 ); m_aSupportedGraphFormats[0] = datatransfer::DataFlavor( - OUString( "application/x-openoffice-emf;windows_formatname=\"Image EMF\"" ), - OUString( "Windows Enhanced Metafile" ), + "application/x-openoffice-emf;windows_formatname=\"Image EMF\"", + "Windows Enhanced Metafile", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); m_aSupportedGraphFormats[1] = datatransfer::DataFlavor( - OUString( "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"" ), - OUString( "Windows Metafile" ), + "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"", + "Windows Metafile", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); m_aSupportedGraphFormats[2] = datatransfer::DataFlavor( - OUString( "application/x-openoffice-bitmap;windows_formatname=\"Bitmap\"" ), - OUString( "Bitmap" ), + "application/x-openoffice-bitmap;windows_formatname=\"Bitmap\"", + "Bitmap", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); m_aSupportedGraphFormats[3] = datatransfer::DataFlavor( - OUString( "image/png" ), - OUString( "PNG" ), + "image/png", + "PNG", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); m_aSupportedGraphFormats[0] = datatransfer::DataFlavor( - OUString( "application/x-openoffice-gdimetafile;windows_formatname=\"GDIMetaFile\"" ), - OUString( "GDIMetafile" ), + "application/x-openoffice-gdimetafile;windows_formatname=\"GDIMetaFile\"", + "GDIMetafile", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); } diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx index 03045f3c6ac2..f73df4f3cbdc 100644 --- a/embeddedobj/source/msole/olevisual.cxx +++ b/embeddedobj/source/msole/olevisual.cxx @@ -362,8 +362,8 @@ embed::VisualRepresentation SAL_CALL OleEmbeddedObject::getPreferredVisualRepres changeState( embed::EmbedStates::RUNNING ); datatransfer::DataFlavor aDataFlavor( - OUString( "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"" ), - OUString( "Windows Metafile" ), + "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"", + "Windows Metafile", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); aVisualRepr.Data = m_pOleComponent->getTransferData( aDataFlavor ); diff --git a/embeddedobj/source/msole/xdialogcreator.cxx b/embeddedobj/source/msole/xdialogcreator.cxx index e7cc0216e938..07bc3d7333ef 100644 --- a/embeddedobj/source/msole/xdialogcreator.cxx +++ b/embeddedobj/source/msole/xdialogcreator.cxx @@ -245,8 +245,8 @@ embed::InsertedObjectInfo SAL_CALL MSOLEDialogObjectCreator::createInstanceByDia if ( nBufSize && nBufSize == GetMetaFileBitsEx( pMF->hMF, nBufSize, pBuf+22 ) ) { datatransfer::DataFlavor aFlavor( - OUString( "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"" ), - OUString( "Image WMF" ), + "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"", + "Image WMF", cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); aObjectInfo.Options.realloc( 2 ); |