diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-30 20:26:16 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-30 20:26:16 +0100 |
commit | aab4574d4b0b055385be8d9b2a752863ba8a1a64 (patch) | |
tree | 43f23440ef2661fcc4aafe6fa7a479afdcc21828 /sw | |
parent | 4323fd8b7a766ab197a1f9a38594cacc51f4d017 (diff) |
API CHANGE: remove service com.sun.star.text.PrintPreviewSettings
This service was obsoleted by CWS printerpullpages: the implementation
in Writer was defunct in OpenOffice.org 3.3 and completely removed in
OpenOffice.org 3.4.
Change-Id: Ia4dd6f1f1d8fc399583032b44d99663532409b5c
EXISTENCE: published key "/UCR/com/sun/star/text/PrintPreviewSettings" exists only in registry 1
SERVICE: /UCR/com/sun/star/text/DocumentSettings
service1 contains 1 more references as service2
incompatible change: Reference 2 ('PrintPreviewSettings') in 'r1' is not longer a reference of this service in 'r2'
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/unoapi/knownissues.xcl | 3 | ||||
-rw-r--r-- | sw/source/ui/uno/SwXDocumentSettings.cxx | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sw/qa/unoapi/knownissues.xcl b/sw/qa/unoapi/knownissues.xcl index c2c131bbb3e4..e3f122db73b4 100644 --- a/sw/qa/unoapi/knownissues.xcl +++ b/sw/qa/unoapi/knownissues.xcl @@ -113,9 +113,6 @@ sw.SwXFieldMaster::com::sun::star::text::TextFieldMaster sw.SwAccessibleTableView # -> disabled in sw.sce -### i85635 ### -sw.DocumentSettings::com::sun::star::text::PrintPreviewSettings - ### i85638 ### sw.SwXTextDocument::com::sun::star::frame::XStorable diff --git a/sw/source/ui/uno/SwXDocumentSettings.cxx b/sw/source/ui/uno/SwXDocumentSettings.cxx index d5167a5ee798..ede40fd2b794 100644 --- a/sw/source/ui/uno/SwXDocumentSettings.cxx +++ b/sw/source/ui/uno/SwXDocumentSettings.cxx @@ -1228,11 +1228,10 @@ sal_Bool SAL_CALL SwXDocumentSettings::supportsService( const OUString& ServiceN Sequence< OUString > SAL_CALL SwXDocumentSettings::getSupportedServiceNames( ) throw(RuntimeException) { - Sequence< OUString > aSeq( 4 ); + Sequence< OUString > aSeq( 3 ); aSeq[0] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.document.Settings") ); aSeq[1] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.DocumentSettings") ); aSeq[2] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.PrintSettings") ); - aSeq[3] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.PrintPreviewSettings") ); return aSeq; } |