summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accpreview.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2002-07-09 11:51:33 +0000
committerMichael Brauer <mib@openoffice.org>2002-07-09 11:51:33 +0000
commit37022ca287997ca746fc92dd1d4ba5a026131eb4 (patch)
tree01a4799b0047b0fb922b3428d79496bb87239c7a /sw/source/core/access/accpreview.cxx
parent56a3b5dc4a1ea8fcebab667dff99567790f40d14 (diff)
#100889#: component descriptions added, idl files reviewed
Diffstat (limited to 'sw/source/core/access/accpreview.cxx')
-rw-r--r--sw/source/core/access/accpreview.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx
index 3604c808e2c6..5428266118e3 100644
--- a/sw/source/core/access/accpreview.cxx
+++ b/sw/source/core/access/accpreview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: accpreview.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: dvo $ $Date: 2002-05-22 11:38:22 $
+ * last change: $Author: mib $ $Date: 2002-07-09 12:51:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,8 +70,8 @@
#endif
-const sal_Char sServiceName[] = "com.sun.star.text.AccessibleTextDocumentView";
-const sal_Char sPreviewImplementationName[] = "SwAccessibleDocumentPreview";
+const sal_Char sServiceName[] = "drafts.com.sun.star.text.AccessibleTextDocumentPageView";
+const sal_Char sImplementationName[] = "com.sun.star.comp.Writer.SwAccessibleDocumentPageView";
// using namespace ::drafts::com::sun::star::accessibility;
@@ -100,20 +100,23 @@ SwAccessiblePreview::~SwAccessiblePreview()
OUString SwAccessiblePreview::getImplementationName( )
throw( RuntimeException )
{
- return OUString( RTL_CONSTASCII_USTRINGPARAM( sPreviewImplementationName ) );
+ return OUString( RTL_CONSTASCII_USTRINGPARAM( sImplementationName ) );
}
sal_Bool SwAccessiblePreview::supportsService( const OUString& rServiceName )
throw( RuntimeException )
{
return rServiceName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM( sServiceName) );
+ RTL_CONSTASCII_STRINGPARAM( sServiceName) ) ||
+ rServiceName.equalsAsciiL(
+ RTL_CONSTASCII_STRINGPARAM( sAccessibleServiceName ) );
}
Sequence<OUString> SwAccessiblePreview::getSupportedServiceNames( )
throw( RuntimeException )
{
- Sequence<OUString> aSeq( 1 );
+ Sequence<OUString> aSeq( 2 );
aSeq[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( sServiceName ) );
+ aSeq[1] = OUString( RTL_CONSTASCII_USTRINGPARAM( sAccessibleServiceName ) );
return aSeq;
}