summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-11-03 09:59:38 +0000
committerOliver Bolte <obo@openoffice.org>2009-11-03 09:59:38 +0000
commit0b9d07c4fc8de96fabc4e83fbebf31ad73110ae4 (patch)
tree25fc42c352acdea887407e2c72d01f5d9dfa9691
parent4071cd03f151b65397c3924521a93d66ccba5172 (diff)
CWS-TOOLING: integrate CWS dba32i
2009-11-02 08:24:27 +0100 oj r277285 : i105959# simply logic again 2009-10-30 14:47:31 +0100 oj r277271 : #i105959# duplicate contion row when new or criteria was found 2009-10-30 14:46:50 +0100 oj r277270 : #i105959# replace boolean_term with search_condition and add extra () 2009-10-28 08:12:38 +0100 oj r277235 : #i105825# try catch in the wrong place 2009-10-27 12:15:40 +0100 fs r277197 : compiler bug: streaming a volatile double into an Any results in a boolean-Any ... removed the 'volatile', which was nonsense, anyway 2009-10-23 22:07:54 +0200 fs r277171 : #i103611# re-introduced the hack for transparent VCL child windows, which got lost since OOo 3.1.x (commit approved by aw) 2009-10-23 07:11:59 +0200 oj r277131 : #i105959# handle parameter like column_ref 2009-10-22 14:57:55 +0200 fs r277124 : #i10000# wrongly resolved the merge conflict, corrected now 2009-10-22 13:53:23 +0200 oj r277118 : #i105959# change config when doc location has changed 2009-10-22 11:31:22 +0200 oj r277111 : #i106072# attachprovider at the end of doc 2009-10-22 09:12:47 +0200 fs r277102 : CWS-TOOLING: rebase CWS dba32i to branches/OOO320@276942 (milestone: OOO320:m2) 2009-10-21 21:13:02 +0200 fs r277101 : module 'data' does not exist anymore (for a long time by now), so now need to list it here 2009-10-21 13:35:35 +0200 fs r277089 : #i105992# 2009-10-21 13:17:51 +0200 fs r277088 : reintroduced the fix for issue #i102090#, which got lost since 3.1.1, during one of the many merges/changes 2009-10-21 13:06:55 +0200 fs r277085 : #i105992# position the control in isPrimitiveVisible, not in get2DDecomposition. The latter might not be called in some situations, the former (hopefully) always is 2009-10-20 07:35:27 +0200 oj r277036 : #i106041# check the dispatch in impl_select not before 2009-10-13 08:40:52 +0200 oj r276843 : #i105825# throw exception when database was written by newer version 2009-10-12 14:32:19 +0200 oj r276834 : #i105724# check tDisplayCondition 2009-10-12 13:24:28 +0200 fs r276829 : #i105806# getPropertyValue: throw an UnknownPropertyException for, well, unknown properties 2009-10-12 10:46:27 +0200 fs r276821 : since tags 2009-10-09 10:51:29 +0200 fs r276800 : #i105712# re-introduce XUnoTunnel 2009-10-09 10:46:48 +0200 oj r276799 : #i105716# end chars with 0
-rw-r--r--unoxml/source/dom/node.cxx6
-rw-r--r--unoxml/source/dom/node.hxx10
2 files changed, 14 insertions, 2 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 84533ab53..6f405c54b 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -1001,5 +1001,11 @@ namespace DOM
events::CEventDispatcher::dispatchEvent(m_aNodePtr, evt);
return sal_True;
}
+
+ ::sal_Int64 SAL_CALL CNode::getSomething(const Sequence< ::sal_Int8 >& /*aIdentifier*/)
+ throw (RuntimeException)
+ {
+ return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(m_aNodePtr));
+ }
}
diff --git a/unoxml/source/dom/node.hxx b/unoxml/source/dom/node.hxx
index 8a22fbd01..49bf6a78d 100644
--- a/unoxml/source/dom/node.hxx
+++ b/unoxml/source/dom/node.hxx
@@ -37,9 +37,10 @@
#include <sal/types.h>
#include <sax/fastattribs.hxx>
#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase3.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/xml/dom/XNode.hpp>
#include <com/sun/star/xml/dom/XNodeList.hpp>
#include <com/sun/star/xml/dom/XNamedNodeMap.hpp>
@@ -67,6 +68,8 @@ using namespace com::sun::star::xml::sax;
using namespace com::sun::star::xml::dom;
using namespace com::sun::star::xml::dom::events;
+using com::sun::star::lang::XUnoTunnel;
+
namespace DOM
{
struct Context
@@ -117,7 +120,7 @@ namespace DOM
typedef std::map< const xmlNodePtr, CNode* > nodemap_t;
- class CNode : public cppu::WeakImplHelper2< XNode, XEventTarget >
+ class CNode : public cppu::WeakImplHelper3< XNode, XUnoTunnel, XEventTarget >
{
friend class CDocument;
friend class CElement;
@@ -342,6 +345,9 @@ namespace DOM
virtual sal_Bool SAL_CALL dispatchEvent(const Reference< XEvent >& evt)
throw(RuntimeException, EventException);
+ // --- XUnoTunnel
+ virtual ::sal_Int64 SAL_CALL getSomething(const Sequence< ::sal_Int8 >& aIdentifier)
+ throw (RuntimeException);
};
/// eliminate redundant namespace declarations