diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-15 09:14:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-15 09:20:24 +0200 |
commit | 366e1238bd41eecf6727784402592fd5c278fe8f (patch) | |
tree | 97e24b8bf6cf355372fb970cf8cb28b0e56d3b1d /ridljar | |
parent | 3d94dab1bd7878305923b695425cc13283a52253 (diff) |
[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
Diffstat (limited to 'ridljar')
-rw-r--r-- | ridljar/Jar_ridl.mk | 1 | ||||
-rw-r--r-- | ridljar/com/sun/star/uno/Union.java | 37 |
2 files changed, 0 insertions, 38 deletions
diff --git a/ridljar/Jar_ridl.mk b/ridljar/Jar_ridl.mk index d76429ba79e7..cdee781d5be6 100644 --- a/ridljar/Jar_ridl.mk +++ b/ridljar/Jar_ridl.mk @@ -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 \ )) diff --git a/ridljar/com/sun/star/uno/Union.java b/ridljar/com/sun/star/uno/Union.java deleted file mode 100644 index 4c7da7b51075..000000000000 --- a/ridljar/com/sun/star/uno/Union.java +++ /dev/null @@ -1,37 +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 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; -} - |