summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 10:16:14 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 10:16:14 +0000
commit373d4dcc19beb2fa18fadd08a74257cb9d3ae670 (patch)
tree1e606edfe0f32f9d03bd515241cababa68fd4fd8 /forms
parent9fbc22d2a71e36dd84db457e01f7415fbf96e8c6 (diff)
INTEGRATION: CWS sb59 (1.4.28); FILE MERGED
2006/08/29 16:11:02 sb 1.4.28.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/xpathlib/xpathlib.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/xforms/xpathlib/xpathlib.cxx b/forms/source/xforms/xpathlib/xpathlib.cxx
index 8e8d4457a180..0dee8f464592 100644
--- a/forms/source/xforms/xpathlib/xpathlib.cxx
+++ b/forms/source/xforms/xpathlib/xpathlib.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xpathlib.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 00:08:24 $
+ * last change: $Author: obo $ $Date: 2006-10-12 11:16:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -67,7 +67,7 @@ using namespace com::sun::star::xml::dom;
using namespace com::sun::star::xforms;
using namespace com::sun::star::lang;
-xmlXPathFunction xforms_lookupFunc(void */*ctxt*/, const xmlChar *xname, const xmlChar */*ns_uri*/)
+xmlXPathFunction xforms_lookupFunc(void *, const xmlChar *xname, const xmlChar *)
{
const char *name = (char *)xname;
@@ -128,7 +128,7 @@ void xforms_ifFunction(xmlXPathParserContextPtr ctxt, int nargs)
if (xmlXPathCheckError(ctxt)) XP_ERROR(XPATH_INVALID_TYPE);
xmlChar *s1 = xmlXPathPopString(ctxt);
if (xmlXPathCheckError(ctxt)) XP_ERROR(XPATH_INVALID_TYPE);
- sal_Bool aBool = xmlXPathPopBoolean(ctxt);
+ bool aBool = xmlXPathPopBoolean(ctxt);
if (xmlXPathCheckError(ctxt)) XP_ERROR(XPATH_INVALID_TYPE);
if (aBool)
@@ -538,7 +538,7 @@ void xforms_instanceFuction(xmlXPathParserContextPtr ctxt, int nargs)
xmlNodePtr pNode = reinterpret_cast< xmlNodePtr >( aTunnel->getSomething(Sequence< sal_Int8 >()) );
xmlXPathObjectPtr pObject = xmlXPathNewNodeSet(pNode);
xmlXPathReturnNodeSet(ctxt, pObject->nodesetval);
- } catch (RuntimeException& e)
+ } catch (RuntimeException&)
{
xmlXPathReturnEmptyNodeSet(ctxt);
}
@@ -566,7 +566,7 @@ void xforms_currentFunction(xmlXPathParserContextPtr ctxt, int nargs)
xmlXPathObjectPtr pObject = xmlXPathNewNodeSet(pNode);
xmlXPathReturnNodeSet(ctxt, pObject->nodesetval);
}
- catch (RuntimeException& e)
+ catch (RuntimeException&)
{
xmlXPathReturnEmptyNodeSet(ctxt);
}