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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user