diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-11-14 05:07:03 -0800 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-14 05:08:24 -0800 |
commit | d360febd39b554c92136f9d08d400400e1caf933 (patch) | |
tree | ba668b8a9e1d28edf9c845c49ef32b811157f299 /embedserv/source | |
parent | b26edbb44920e455a3a9e0ea6074a0808ea6d001 (diff) |
embedserv: unused code
Change-Id: I6343cf1f274de407b6de18304612b69e2516f621
Diffstat (limited to 'embedserv/source')
-rw-r--r-- | embedserv/source/embed/ed_ipersiststr.cxx | 2 | ||||
-rw-r--r-- | embedserv/source/embed/guid.cxx | 35 |
2 files changed, 0 insertions, 37 deletions
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx index c7ad57ffb527..6c941e057565 100644 --- a/embedserv/source/embed/ed_ipersiststr.cxx +++ b/embedserv/source/embed/ed_ipersiststr.cxx @@ -57,8 +57,6 @@ using namespace ::com::sun::star; extern OUString getStorageTypeFromGUID_Impl( GUID* guid ); extern OUString getServiceNameFromGUID_Impl( GUID* ); extern OUString getFilterNameFromGUID_Impl( GUID* ); -// extern CLIPFORMAT getClipFormatFromGUID_Impl( GUID* ); -OUString getTestFileURLFromGUID_Impl( GUID* guid ); const OUString aOfficeEmbedStreamName( "package_stream" ); const OUString aExtentStreamName( "properties_stream" ); diff --git a/embedserv/source/embed/guid.cxx b/embedserv/source/embed/guid.cxx index 1e445df1694c..f757bf914785 100644 --- a/embedserv/source/embed/guid.cxx +++ b/embedserv/source/embed/guid.cxx @@ -129,41 +129,6 @@ OUString getFilterNameFromGUID_Impl( GUID* guid ) return OUString(); } -OUString getTestFileURLFromGUID_Impl( GUID* guid ) -{ - if ( *guid == OID_WriterTextServer ) - return OUString( "file:///d:/OLE_TEST/test.sxw" ); - - if ( *guid == OID_WriterOASISTextServer ) - return OUString( "file:///d:/OLE_TEST/test.odt" ); - - if ( *guid == OID_CalcServer ) - return OUString( "file:///d:/OLE_TEST/test.sxc" ); - - if ( *guid == OID_CalcOASISServer ) - return OUString( "file:///d:/OLE_TEST/test.ods" ); - - if ( *guid == OID_DrawingServer ) - return OUString( "file:///d:/OLE_TEST/test.sxd" ); - - if ( *guid == OID_DrawingOASISServer ) - return OUString( "file:///d:/OLE_TEST/test.odg" ); - - if ( *guid == OID_PresentationServer ) - return OUString( "file:///d:/OLE_TEST/test.sxi" ); - - if ( *guid == OID_PresentationOASISServer ) - return OUString( "file:///d:/OLE_TEST/test.odp" ); - - if ( *guid == OID_MathServer ) - return OUString( "file:///d:/OLE_TEST/test.sxm" ); - - if ( *guid == OID_MathOASISServer ) - return OUString( "file:///d:/OLE_TEST/test.odf" ); - - return OUString(); -} - // Fix strange warnings about some // ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions. // warning C4505: 'xxx' : unreferenced local function has been removed |