summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx6
-rw-r--r--jvmfwk/source/elements.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 77823293ef83..250a7655ffba 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -118,7 +118,7 @@ bool getSDKInfoFromRegistry(vector<OUString> & vecHome);
bool getJREInfoFromRegistry(vector<OUString>& vecJavaHome);
#endif
-bool decodeOutput(const OString& s, OUString* out);
+static bool decodeOutput(const OString& s, OUString* out);
namespace
@@ -840,7 +840,7 @@ vector<OUString> getVectorFromCharArray(char const * const * ar, int size)
In case of an error the returned string has the length 0.
Otherwise the returned string is the "resolved" file URL.
*/
-OUString resolveDirPath(const OUString & path)
+static OUString resolveDirPath(const OUString & path)
{
OUString ret;
salhelper::LinkResolver aResolver(osl_FileStatus_Mask_Type |
@@ -862,7 +862,7 @@ OUString resolveDirPath(const OUString & path)
/** Checks if the path is a file. If it is a link to a file than
it is resolved.
*/
-OUString resolveFilePath(const OUString & path)
+static OUString resolveFilePath(const OUString & path)
{
OUString ret;
salhelper::LinkResolver aResolver(osl_FileStatus_Mask_Type |
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx
index 94b0ed7c2f39..b4eb74e03a03 100644
--- a/jvmfwk/source/elements.cxx
+++ b/jvmfwk/source/elements.cxx
@@ -48,7 +48,7 @@ using namespace osl;
namespace jfw
{
-OString getElement(OString const & docPath,
+static OString getElement(OString const & docPath,
xmlChar const * pathExpression)
{
//Prepare the xml document and context