[Libreoffice-commits] .: offapi/com offapi/type_reference offapi/UnoApi_offapi.mk qadevOOo/Jar_OOoRunner.mk qadevOOo/tests sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 30 09:59:51 PST 2012


 offapi/UnoApi_offapi.mk                                |    1 
 offapi/com/sun/star/text/XTextEmbeddedObject.idl       |   62 -----------------
 offapi/type_reference/types.rdb                        |binary
 qadevOOo/Jar_OOoRunner.mk                              |    1 
 qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java |   51 -------------
 qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java |    1 
 sw/source/ui/frmdlg/cption.cxx                         |    1 
 7 files changed, 117 deletions(-)

New commits:
commit 7a8d933585f5165393a9357edc55606c54cb36eb
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Nov 30 18:56:44 2012 +0100

    API CHANGE: remove com.sun.star.text.XTextEmbeddedObject
    
    This interface was apparently never implemented in OpenOffice.org.
    
    EXISTENCE: published key "/UCR/com/sun/star/text/XTextEmbeddedObject"
    exists only in registry 1
    
    Change-Id: Ib802fa3f035d1842c9ee8018ef15f35a4680fe2b

diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 608bfa0..e0b42b3 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -3657,7 +3657,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/text,\
 	XTextCopy \
 	XTextCursor \
 	XTextDocument \
-	XTextEmbeddedObject \
 	XTextEmbeddedObjectsSupplier \
 	XTextField \
 	XTextFieldsSupplier \
diff --git a/offapi/com/sun/star/text/XTextEmbeddedObject.idl b/offapi/com/sun/star/text/XTextEmbeddedObject.idl
deleted file mode 100644
index 1f1097a..0000000
--- a/offapi/com/sun/star/text/XTextEmbeddedObject.idl
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef __com_sun_star_text_XTextEmbeddedObject_idl__
-#define __com_sun_star_text_XTextEmbeddedObject_idl__
-
-#include <com/sun/star/text/XTextContent.idl>
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
-
- module com {  module sun {  module star {  module text {
-
-
-// DocMerge from xml: interface com::sun::star::text::XTextEmbeddedObject
-/** f t!
-
-
-
-
-
-    @deprecated
- */
-published interface XTextEmbeddedObject: com::sun::star::text::XTextContent
-{
-
-    // DocMerge from idl: method com::sun::star::text::XTextEmbeddedObject::getObject
-    /** @returns an interface to the linked object that is contained in
-                the TextEmbeddedObject.
-     */
-    com::sun::star::uno::XInterface getObject();
-
-
-    // DocMerge from xml: method com::sun::star::text::XTextEmbeddedObject::setObject
-    /** sets an object into the TextEmbeddedObject.
-     */
-    void setObject( [in] com::sun::star::uno::XInterface xObject );
-
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/type_reference/types.rdb b/offapi/type_reference/types.rdb
index db615c6..f4e72e5 100644
Binary files a/offapi/type_reference/types.rdb and b/offapi/type_reference/types.rdb differ
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index eac1785..c0481c1 100644
--- a/qadevOOo/Jar_OOoRunner.mk
+++ b/qadevOOo/Jar_OOoRunner.mk
@@ -866,7 +866,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
     qadevOOo/tests/java/ifc/text/_XTextContent \
     qadevOOo/tests/java/ifc/text/_XTextCursor \
     qadevOOo/tests/java/ifc/text/_XTextDocument \
-    qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject \
     qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier \
     qadevOOo/tests/java/ifc/text/_XTextField \
     qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier \
diff --git a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java
deleted file mode 100644
index 43cf0fc..0000000
--- a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-package ifc.text;
-
-import lib.MultiMethodTest;
-
-import com.sun.star.text.XTextEmbeddedObject;
-
-public class _XTextEmbeddedObject extends MultiMethodTest {
-
-    public XTextEmbeddedObject oObj = null;
-    public _XTextEmbeddedObject(){
-    }
-
-
-    public void _getObject(){
-            boolean bResult = false;
-            log.println("Going to get the object");
-            //dbg.printInterfaces(oObj);
-            Object oTEobj = oObj.getObject();
-            if (!(oTEobj == null)){ bResult = true; }
-            tRes.tested("getObject", bResult );
-            return;
-    }
-
-/*        public void _setObject(){
-            boolean bResult = false;
-            log.println("Going to set the object");
-            tRes.tested("setObject", bResult );
-            return;
-    }
-*/
- }  // finish class _XTextEmbeddedObject
-
-
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java b/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java
index 64ef1bf..b44ee22 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java
@@ -50,7 +50,6 @@ import com.sun.star.util.XCloseable;
  * @see com.sun.star.lang.XComponent
  * @see com.sun.star.text.TextEmbeddedObject
  * @see com.sun.star.text.XTextContent
- * @see com.sun.star.text.XTextEmbeddedObject
  *
  */
 public class SwXTextEmbeddedObject extends TestCase {
diff --git a/sw/source/ui/frmdlg/cption.cxx b/sw/source/ui/frmdlg/cption.cxx
index 2e92937..f9a3f5b 100644
--- a/sw/source/ui/frmdlg/cption.cxx
+++ b/sw/source/ui/frmdlg/cption.cxx
@@ -39,7 +39,6 @@
 #include <com/sun/star/text/TableColumnSeparator.hpp>
 #include <com/sun/star/text/XTextTable.hpp>
 #include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
-#include <com/sun/star/text/XTextEmbeddedObject.hpp>
 #include <com/sun/star/text/XTextFramesSupplier.hpp>
 #include <com/sun/star/text/XTextFrame.hpp>
 #include <comphelper/string.hxx>


More information about the Libreoffice-commits mailing list