diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 14:35:49 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 14:35:49 +0000 |
commit | 165506b66cc148e8da549cfc7c0ee5ea6ae3ef79 (patch) | |
tree | a4c7befd9850dd9bdf4ee81e112e59fcdf2623d1 /autodoc/source/ary/cpp/tplparam.cxx | |
parent | INTEGRATION: CWS adc18 (1.1.2); FILE ADDED (diff) | |
download | core-165506b66cc148e8da549cfc7c0ee5ea6ae3ef79.tar.gz core-165506b66cc148e8da549cfc7c0ee5ea6ae3ef79.zip |
INTEGRATION: CWS adc18 (1.5.2); FILE MERGED
2007/10/18 13:27:01 np 1.5.2.1: #i81775#
Diffstat (limited to 'autodoc/source/ary/cpp/tplparam.cxx')
-rw-r--r-- | autodoc/source/ary/cpp/tplparam.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/autodoc/source/ary/cpp/tplparam.cxx b/autodoc/source/ary/cpp/tplparam.cxx index ce5a237eda7e..5255e8062c78 100644 --- a/autodoc/source/ary/cpp/tplparam.cxx +++ b/autodoc/source/ary/cpp/tplparam.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tplparam.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2007-09-18 13:29:58 $ + * last change: $Author: hr $ $Date: 2007-11-02 15:35:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -38,7 +38,8 @@ // NOT FULLY DEFINED SERVICES -#include <cpp/c_gate.hxx> +#include <ary/cpp/c_gate.hxx> +#include <ary/cpp/cp_type.hxx> namespace ary @@ -65,17 +66,18 @@ TplParameter_Type::Compare( const TemplateParameter & i_rOther ) const if (pOther == 0) return -1; - return nType - pOther->nType; + return static_cast<long>(nType.Value()) + - static_cast<long>(pOther->nType.Value()); } void TplParameter_Type::Get_Text( StreamStr & o_rOut, - const ary::cpp::DisplayGate & i_rGate ) const + const ary::cpp::Gate & i_rGate ) const { - i_rGate.Get_TypeText( o_rOut, nType ); + i_rGate.Types().Get_TypeText( o_rOut, nType ); } -TplParameter_Const::TplParameter_Const( const udmstri & i_sConst ) +TplParameter_Const::TplParameter_Const( const String & i_sConst ) : sConstant(i_sConst) { } @@ -96,10 +98,10 @@ TplParameter_Const::Compare( const TemplateParameter & i_rOther ) const } void -TplParameter_Const::Get_Text( StreamStr & o_rOut, - const ary::cpp::DisplayGate & ) const +TplParameter_Const::Get_Text( StreamStr & o_out, + const ary::cpp::Gate & ) const { - o_rOut << sConstant; + o_out << sConstant; } @@ -107,5 +109,3 @@ TplParameter_Const::Get_Text( StreamStr & o_rOut, } // namespace ut } // namespace cpp } // namespace ary - - |