summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-11-21 12:48:27 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-11-21 12:48:27 +0000
commit8b0f52682323b70713f372bb217a089fb474c820 (patch)
treedc272a6e897a514586cc397530dd003c8210be03 /package
parent51ccc101a55802e44e8321342830691349420552 (diff)
#95040# fix service name/implementation name
Diffstat (limited to 'package')
-rw-r--r--package/source/manifest/ManifestReader.cxx10
-rw-r--r--package/source/manifest/ManifestWriter.cxx10
2 files changed, 8 insertions, 12 deletions
diff --git a/package/source/manifest/ManifestReader.cxx b/package/source/manifest/ManifestReader.cxx
index 94a989172771..1e711de165f4 100644
--- a/package/source/manifest/ManifestReader.cxx
+++ b/package/source/manifest/ManifestReader.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ManifestReader.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: mtg $ $Date: 2001-11-15 20:24:12 $
+ * last change: $Author: mtg $ $Date: 2001-11-21 13:47:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -145,10 +145,9 @@ Reference < XInterface > SAL_CALL ManifestReader_createInstance( Reference< XMul
{
return *new ManifestReader( rServiceFactory );
}
-#define SERVICE_NAME "com.sun.star.packages.manifest.comp.ManifestReader"
OUString ManifestReader::static_getImplementationName()
{
- return OUString ( RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME ) );
+ return OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.packages.manifest.comp.ManifestReader" ) );
}
sal_Bool SAL_CALL ManifestReader::static_supportsService(OUString const & rServiceName)
@@ -159,10 +158,9 @@ sal_Bool SAL_CALL ManifestReader::static_supportsService(OUString const & rServi
Sequence < OUString > ManifestReader::static_getSupportedServiceNames()
{
Sequence < OUString > aNames(1);
- aNames[0] = OUString(RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME ) );
+ aNames[0] = OUString(RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.packages.manifest.ManifestReader" ) );
return aNames;
}
-#undef SERVICE_NAME
OUString ManifestReader::getImplementationName()
throw (RuntimeException)
diff --git a/package/source/manifest/ManifestWriter.cxx b/package/source/manifest/ManifestWriter.cxx
index 57089f1ddbaf..6cf0ca6fed8d 100644
--- a/package/source/manifest/ManifestWriter.cxx
+++ b/package/source/manifest/ManifestWriter.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ManifestWriter.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mtg $ $Date: 2001-11-15 20:25:26 $
+ * last change: $Author: mtg $ $Date: 2001-11-21 13:48:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -120,10 +120,9 @@ Reference < XInterface > SAL_CALL ManifestWriter_createInstance( Reference< XMul
return *new ManifestWriter( rServiceFactory );
}
-#define SERVICE_NAME "com.sun.star.packages.manifest.comp.ManifestWriter"
OUString ManifestWriter::static_getImplementationName()
{
- return OUString ( RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME ) );
+ return OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.packages.manifest.comp.ManifestWriter" ) );
}
sal_Bool SAL_CALL ManifestWriter::static_supportsService(OUString const & rServiceName)
@@ -133,10 +132,9 @@ sal_Bool SAL_CALL ManifestWriter::static_supportsService(OUString const & rServi
Sequence < OUString > ManifestWriter::static_getSupportedServiceNames()
{
Sequence < OUString > aNames(1);
- aNames[0] = OUString(RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME ) );
+ aNames[0] = OUString(RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.packages.manifest.ManifestWriter" ) );
return aNames;
}
-#undef SERVICE_NAME
OUString ManifestWriter::getImplementationName()
throw (RuntimeException)