[Libreoffice-commits] core.git: embedserv/source
Andras Timar
andras.timar at collabora.com
Thu Nov 14 05:08:08 PST 2013
embedserv/source/embed/ed_ipersiststr.cxx | 2 -
embedserv/source/embed/guid.cxx | 35 ------------------------------
2 files changed, 37 deletions(-)
New commits:
commit d360febd39b554c92136f9d08d400400e1caf933
Author: Andras Timar <andras.timar at collabora.com>
Date: Thu Nov 14 05:07:03 2013 -0800
embedserv: unused code
Change-Id: I6343cf1f274de407b6de18304612b69e2516f621
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx
index c7ad57f..6c941e0 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 1e445df..f757bf9 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
More information about the Libreoffice-commits
mailing list