Kaydet (Commit) c027e5d7 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS cfg01 (1.16.4.2.4); FILE MERGED

2003/03/13 15:22:09 jb 1.16.4.2.4.1: #108154# Use NodeAccessRef to avoid copying Accessor objects
üst c0c591c5
......@@ -2,9 +2,9 @@
*
* $RCSfile: templateimpl.cxx,v $
*
* $Revision: 1.17 $
* $Revision: 1.18 $
*
* last change: $Author: hr $ $Date: 2003-03-19 16:19:48 $
* last change: $Author: vg $ $Date: 2003-04-01 13:42:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -281,7 +281,7 @@ namespace
private: // NodeAction implementation
Result handle(ValueNodeAccess const& _aValueNode);
Result handle(NodeAccess const& _aNonValueNode);
Result handle(NodeAccessRef const& _aNonValueNode);
};
//-----------------------------------------------------------------------------
static UnoType detectNodeType(TreeAccessor const& _aElement)
......@@ -437,7 +437,7 @@ namespace
return CONTINUE; // always continue to detect errors in data
}
//-----------------------------------------------------------------------------
TypeDetector::Result TypeDetector::handle(NodeAccess const& _aNonValueNode)
TypeDetector::Result TypeDetector::handle(NodeAccessRef const& _aNonValueNode)
{
OSL_ENSURE(!ValueNodeAccess::isInstance(_aNonValueNode),"Value node dipatched to wrong handler");
switch (this->result) // transition depends on previous state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment