summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/nfuncs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/plugin/base/nfuncs.cxx')
-rw-r--r--extensions/source/plugin/base/nfuncs.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/extensions/source/plugin/base/nfuncs.cxx b/extensions/source/plugin/base/nfuncs.cxx
index e965a5696f94..f4164fd71a46 100644
--- a/extensions/source/plugin/base/nfuncs.cxx
+++ b/extensions/source/plugin/base/nfuncs.cxx
@@ -2,13 +2,10 @@
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright 2008 by Sun Microsystems, Inc.
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: nfuncs.cxx,v $
- * $Revision: 1.17 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -102,8 +99,13 @@ NPNetscapeFuncs aNPNFuncs =
NPN_MemFree,
NPN_MemFlush,
NPN_ReloadPlugins,
+#ifdef OJI
NPN_GetJavaEnv,
NPN_GetJavaPeer,
+#else
+ 0,
+ 0,
+#endif
NPN_GetURLNotify,
NPN_PostURLNotify,
NPN_GetValue,