Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1149
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/49/1149/1
API CHANGE: remove com.sun.star.document.XDocumentInfo
The following badly designed interfaces and services were deprecated
in OpenOffice.org 3.0 and are now remove from the API:
com.sun.star.document.DocumentInfo
com.sun.star.document.StandaloneDocumentInfo
com.sun.star.document.XDocumentInfo
com.sun.star.document.XDocumentInfoSupplier
com.sun.star.document.XStandaloneDocumentInfo
The supported replacements for these have been introduced in OOo 3.0:
com.sun.star.document.XDocumentProperties
com.sun.star.document.XDocumentPropertiesSupplier
com.sun.star.document.DocumentProperties
http://www.mail-archive.com/interface-announce@openoffice.org/msg00432.html
Remove the implementation of these interfaces and services in sfx2
(SfxBaseModel, objuno.cxx)
Also remove unit tests for these services in qadevOOo and sfx2.
Change-Id: Ib0b48a4e53a8079c82fac3bb49a829812f8e5256
---
M offapi/UnoApi_offapi.mk
D offapi/com/sun/star/document/DocumentInfo.idl
M offapi/com/sun/star/document/OfficeDocument.idl
D offapi/com/sun/star/document/StandaloneDocumentInfo.idl
D offapi/com/sun/star/document/XDocumentInfo.idl
D offapi/com/sun/star/document/XDocumentInfoSupplier.idl
D offapi/com/sun/star/document/XStandaloneDocumentInfo.idl
M offapi/type_reference/types.rdb
M qadevOOo/Jar_OOoRunner.mk
M qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv
M qadevOOo/objdsc/sd/com.sun.star.comp.office.SdXImpressDocument.csv
D qadevOOo/objdsc/sfx/com.sun.star.comp.sfx2.StandaloneDocumentInfo.csv
M qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextDocument.csv
D qadevOOo/tests/java/ifc/document/_DocumentInfo.java
D qadevOOo/tests/java/ifc/document/_XDocumentInfo.java
D qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
D qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java
D qadevOOo/tests/java/mod/_fwk/DocumentProperties.java
D qadevOOo/tests/java/mod/_sfx/StandaloneDocumentInfo.java
M sfx2/JunitTest_sfx2_complex.mk
M sfx2/Library_sfx.mk
D sfx2/inc/sfx2/objuno.hxx
M sfx2/inc/sfx2/sfxbasemodel.hxx
D sfx2/qa/complex/sfx2/DocumentInfo.java
D sfx2/qa/complex/sfx2/StandaloneDocumentInfo.java
D sfx2/qa/complex/sfx2/standalonedocinfo/StandaloneDocumentInfoTest.java
D sfx2/qa/complex/sfx2/standalonedocinfo/Test01.java
D sfx2/qa/complex/sfx2/standalonedocinfo/TestHelper.java
M sfx2/qa/unoapi/sfx.sce
M sfx2/source/appl/appuno.cxx
D sfx2/source/doc/objuno.cxx
M sfx2/source/doc/sfxbasemodel.cxx
M sfx2/util/sfx.component
M sfx2/util/sfx.xml
34 files changed, 13 insertions(+), 3,692 deletions(-)
--
To view, visit https://gerrit.libreoffice.org/1149
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0b48a4e53a8079c82fac3bb49a829812f8e5256
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Michael Stahl <mstahl@redhat.com>
Context
- [PATCH] API CHANGE: remove com.sun.star.document.XDocumentInfo · Michael Stahl (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.