diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2001-06-20 13:50:40 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2001-06-20 13:50:40 +0000 |
commit | 40cd280e03a8d926231adbdf57f14db65a90c086 (patch) | |
tree | 68f521636cb488a81523d015574c9dee513548c8 /codemaker/inc | |
parent | 80a03301e115c456280064d9ad714af86828013a (diff) |
#87298# insert operator<< for OString
Diffstat (limited to 'codemaker/inc')
-rw-r--r-- | codemaker/inc/codemaker/global.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/codemaker/inc/codemaker/global.hxx b/codemaker/inc/codemaker/global.hxx index b406c60f45f8..52a5a1b6acf7 100644 --- a/codemaker/inc/codemaker/global.hxx +++ b/codemaker/inc/codemaker/global.hxx @@ -2,9 +2,9 @@ * * $RCSfile: global.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2001-03-13 12:04:21 $ + * last change: $Author: jsc $ $Date: 2001-06-20 14:49:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -139,6 +139,11 @@ public: sal_Int32 getSize(); ::rtl::OString getName() { return m_name; } + + // friend functions + friend ostream &operator<<(ostream& o, ::rtl::OString*); + friend ostream &operator<<(ostream& o, const ::rtl::OString&); + protected: ::rtl::OString m_name; }; |