Kaydet (Commit) 366e1238 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

[API CHANGE] Remove deprecated com.sun.star.uno.Union class

...which had never been useful for anything, as UNOIDL does not have a union
concept.  In light of coverity#1327215 "UwF: Unwritten field," seems cleaner to
just remove that class completely than to silence that somewhat bogus (as the
class is non-final, so derivations could actually set m_value) Coverity warning.

Change-Id: Iaef9003a84e2c2f73adb2744bd759460cb149f68
üst 3d94dab1
......@@ -44,7 +44,6 @@ $(eval $(call gb_Jar_add_sourcefiles,ridl,\
ridljar/com/sun/star/uno/IQueryInterface \
ridljar/com/sun/star/uno/ITypeDescription \
ridljar/com/sun/star/uno/Type \
ridljar/com/sun/star/uno/Union \
ridljar/com/sun/star/uno/UnoRuntime \
))
......
/*
* 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 com.sun.star.uno;
/**
* Deprecated, UNOIDL does not have a union concept.
*/
@Deprecated
public class Union {
/**
* Get the value in the union.
* <p>The representation of the value is an any.</p>
* @return the any value.
*/
public final Object getValue() {
return m_value;
}
protected Object m_value;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment