diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 15:35:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 15:59:27 +0000 |
commit | 04a7df738aae3b255c1faa80fa79262602eaead7 (patch) | |
tree | b489b861b6ef54bfb713b67c8ffd98dc8d3730e8 /scripting | |
parent | cb7563e8ea46bbe04249fd37e03f69cf391b5a73 (diff) |
coverity#1327168 see if stock SuppressWarnings is sufficient to
silence UrF: Unread field, some sources online suggest that it
might be the case
Change-Id: I2287da343e97bec93e0aaf7a82a408c18ab76d9b
Reviewed-on: https://gerrit.libreoffice.org/19396
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/ScriptContext.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java index d447e66906c5..de285a23afbd 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java @@ -52,6 +52,7 @@ public class ScriptContext extends PropertySet implements XScriptContext { private final XComponentContext m_xComponentContext; // property, accessed via reflection + @SuppressWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") public String m_sDocURI = null; private ScriptContext(XComponentContext xmComponentContext, XDesktop xDesktop, @@ -140,4 +141,4 @@ public class ScriptContext extends PropertySet implements XScriptContext { public XComponentContext getComponentContext() { return m_xComponentContext; } -}
\ No newline at end of file +} |