summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/guid.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/embed/guid.cxx')
-rwxr-xr-xembedserv/source/embed/guid.cxx24
1 files changed, 22 insertions, 2 deletions
diff --git a/embedserv/source/embed/guid.cxx b/embedserv/source/embed/guid.cxx
index ab62b048acf3..081b78eadb7a 100755
--- a/embedserv/source/embed/guid.cxx
+++ b/embedserv/source/embed/guid.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: guid.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mav $ $Date: 2003-03-05 15:50:10 $
+ * last change: $Author: mav $ $Date: 2003-03-17 11:02:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -121,6 +121,26 @@
return ::rtl::OUString();
}
+::rtl::OUString getTestFileURLFromGUID_Impl( GUID* guid )
+{
+ if ( *guid == OID_WriterTextServer )
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "file:///d:/OLE_TEST/test.sxw" ) );
+
+ if ( *guid == OID_CalcServer )
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "file:///d:/OLE_TEST/test.sxc" ) );
+
+ if ( *guid == OID_DrawingServer )
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "file:///d:/OLE_TEST/test.sxd" ) );
+
+ if ( *guid == OID_PresentationServer )
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "file:///d:/OLE_TEST/test.sxi" ) );
+
+ if ( *guid == OID_MathServer )
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "file:///d:/OLE_TEST/test.sxm" ) );
+
+ return ::rtl::OUString();
+}
+
/*
::rtl::OUString getCurTypeNameFromGUID_Impl( const uno::Reference< lang::XMultiServiceFactory > xFactory, GUID* guid )
{