summaryrefslogtreecommitdiff
path: root/unoxml/source/xpath/xpathapi.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20look for =() in loplugin:unnecessaryparenNoel Grandin1-1/+1
Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0 Reviewed-on: https://gerrit.libreoffice.org/44944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-23loplugin:includeform: unoxmlStephan Bergmann1-4/+4
Change-Id: I447ba963bd9163e99932d95c3f3e9aeac623d822
2017-08-11convert std::map::insert to std::map::emplaceNoel Grandin1-1/+1
which is considerably less verbose Change-Id: Ifa373e8eb09e39bd6c8d3578641610a6055a187b Reviewed-on: https://gerrit.libreoffice.org/40978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-14use more OUString::operator== in test..xmlsecurityNoel Grandin1-1/+1
Change-Id: If5bdd1532be44a47ff7cc3b769be3ea585aea562 Reviewed-on: https://gerrit.libreoffice.org/39685 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26Remove dynamic exception specificationsStephan Bergmann1-13/+0
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-02coverity#1027278 silence Unchecked return valueCaolán McNamara1-1/+1
Change-Id: I3f2aa0393876a146ed291ad9e10575312516527f
2016-05-01tdf#95416 Get rid of #include "../foo/bar.hxx" style includesBurcin Akalin1-1/+1
Change-Id: If7b44c772744c63e603740be6267453118cfd01b Signed-off-by: Burcin Akalin <brcnakalin@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/21937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-28teach stylepolice plugin about ref-counted-pointer namingNoel Grandin1-6/+6
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-10Fix typosAndrea Gelmini1-1/+1
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-8/+8
Change-Id: I4f9d6c93a0bdbba290277a41537ba2728d1ee4f5
2015-09-17boost->stdCaolán McNamara1-2/+2
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann1-5/+5
Change-Id: Iddea2a6462b52e39aab31e96fbc83836cf157e27
2015-01-20Some more loplugin:cstylecast: unoxmlStephan Bergmann1-5/+5
Change-Id: I7467e033c998d9ee4283a146088c3b09d161f3cd
2015-01-19fdo#39440 reduce scope of local variablesMichael Weghorn1-3/+2
This addresses some cppcheck warnings. Change-Id: I1cd8b118e2598b8b18fb445851a3bb41e554267b Reviewed-on: https://gerrit.libreoffice.org/13967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-22unoxml: huge namespacing cleanupThomas Arnhold1-2/+5
Change-Id: I2170e8fd9ef5ca0556545cb3f656a0e1ba49f43b
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann1-13/+13
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2013-10-11-Werror,-Wunused-variableStephan Bergmann1-34/+22
Change-Id: I7777008aac6331d7598f496c4808ab34c73f814e
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza1-8/+2
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-24WaE: implicit conversion of NULL constant to nullptr_tTor Lillqvist1-1/+1
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-3/+3
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2012-11-14Reset xmlSetGenericErrorFunc after useStephan Bergmann1-0/+1
...otherwise, unrelated libxml2 clients that try to report errors during exit can fail if this function is still set but the infrastructure behind it is already gone. Change-Id: I7c41fb6770dbff27a71b4b0f82330c608e6e8363
2012-07-06re-base on ALv2 code.Michael Meeks1-23/+14
2012-06-01targetted string cleanupMichael Meeks1-3/+3
Change-Id: Iaf77bb427d62d7f3be00a96cba4dfb25a01934ac
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky1-39/+94
Conflicts: binfilter/bf_xmloff/source/forms/formcellbinding.hxx binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx filter/source/xsltfilter/makefile.mk unoxml/source/dom/characterdata.cxx unoxml/source/dom/document.cxx unoxml/source/dom/documentbuilder.cxx unoxml/source/dom/element.cxx unoxml/source/dom/elementlist.cxx unoxml/source/dom/node.cxx unoxml/source/dom/node.hxx unoxml/source/dom/text.cxx unoxml/source/events/event.cxx unoxml/source/events/event.hxx unoxml/source/events/eventdispatcher.cxx unoxml/source/events/eventdispatcher.hxx unoxml/source/events/mouseevent.cxx unoxml/source/events/mouseevent.hxx unoxml/source/events/mutationevent.cxx unoxml/source/events/mutationevent.hxx unoxml/source/events/uievent.cxx unoxml/source/events/uievent.hxx unoxml/source/xpath/nodelist.cxx unoxml/source/xpath/nodelist.hxx unoxml/source/xpath/xpathobject.cxx
2011-03-19Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)Thomas Arnhold1-2/+2
2011-02-10xmlfix3: unoxml: fix various bugs uncovered by complex test:Michael Stahl1-1/+1
CAttr::getSpecified() should return true. CAttr::getValue() and CElement::setAttributeNode() could crash if no children. CAttributesMap::*NS() methods ignored namespaceURI parameter. CDATASection::getNodeValue() forwarded to wrong base class. CDocument needs to override cloneNode(). CDocument::importNode(), CDocumentBuilder::parseURI() deref null argument. CElement::getAttributes() should return an empty map. CElementList could be created for null element. CNode::insertBefore() did not set parent/children pointers. CNode::setPrefix() should only work on element/attribute. CXPathAPI had inverted check for null argument (xmlfix3 regression).
2011-01-19xmlfix3: unoxml: XPath cleanupMichael Stahl1-10/+8
2011-01-19xmlfix3: #i113682#: unoxml: locking in XPath:Michael Stahl1-26/+71
use CDocument mutex in results, and during evaluation. new CXPathAPI member mutex. also, fix lcl_collectNamespaces in case parent nodes declare same prefix.
2011-01-19xmlfix3: #i113682#: unoxml: no more globals in CNode:Michael Stahl1-10/+12
instead now the CDocument contains a node map member.
2011-01-19xmlfix3: unoxml: refactor XPath results a little:Michael Stahl1-8/+18
replace Reference<XNode> with Reference<CDocument>. also remove all using namespace css::lang, due to conflicts.
2010-11-28RTL_CONSTASCII_USTRINGPARAM in filters 12Gert Faller1-3/+3
2010-11-27RTL_CONSTASCII_USTRINGPARAM in filters 8 (build problem in sal ?)Gert Faller1-3/+3
2010-11-27RTL_CONSTASCII_USTRINGPARAM in filters 3-4Gert Faller1-3/+3
2010-11-26cppcheck: use prefix variantCaolán McNamara1-2/+2
2010-10-14sw34bf01: #i112783#: patch by cmc: fix crash in xpathobject.cxxMichael Stahl1-1/+1
2010-10-14fdo#30825# someone needs to hold the originating nodeCaolán McNamara1-1/+1
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth1-0/+3
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-06-10#i90484# Patch by pjanik for .Net2003 compilerRüdiger Timm1-1/+4
2008-06-06INTEGRATION: CWS xmlfix2 (1.5.18); FILE MERGEDRüdiger Timm1-85/+201
2008/05/15 17:26:52 mst 1.5.18.5: RESYNC: (1.5-1.6); FILE MERGED 2008/04/23 13:43:49 mst 1.5.18.4: - unoxml/source/xpath/xpathapi.cxx: + fix build with gcc 4.3: include string.h 2008/04/09 16:30:28 mst 1.5.18.3: fix issue #i87252# - unoxml/source/xpath/xpathapi.cxx: + prevent libxml from printing error messages to stderr when evaluating XPath expressions 2008/03/31 14:20:35 mst 1.5.18.2: #i81678#: interface change: XXPathAPI - unoxml/source/xpath/xpathapi{.hxx,.cxx}: + adapt to changes in css.xml.xpath.XXPathAPI 2007/11/14 14:28:38 lo 1.5.18.1: parser improvements
2008-04-11INTEGRATION: CWS changefileheader (1.5.40); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:39:00 rt 1.5.40.1: #i87441# Change license header to LPGL v3.
2006-12-20INTEGRATION: CWS jl49 (1.4.10); FILE MERGEDIvo Hinkelmann1-2/+3
2006/11/17 16:22:47 sb 1.4.10.1: #i70481# Made relative paths work for selectNodeList.
2006-06-19INTEGRATION: CWS warnings01 (1.3.6); FILE MERGEDJens-Heiner Rechtien1-15/+22
2006/03/10 19:08:17 lo 1.3.6.1: warnings01: remove warnings in unoxml
2005-09-09INTEGRATION: CWS ooo19126 (1.2.12); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 17:20:07 rt 1.2.12.1: #i54170# Change license header: remove SISSL
2004-11-16INTEGRATION: CWS eforms2 (1.1.2); FILE MERGEDOliver Bolte1-269/+307
2004/09/13 17:30:24 dvo 1.1.2.3: #i33862# keep XXPathExtension objects instead of extension handles, so that data held by extension objects is still alive when being accessed 2004/05/26 14:34:48 lo 1.1.2.2: #i28981# xpath extension 2004/03/18 14:25:16 lo 1.1.2.1: set conext node
2004-01-28addedLars Oppermann1-0/+269