summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-06-20 14:24:15 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-06-20 14:24:15 +0000
commitbad0de686b446c1dbb6c0e0515142dc6c621debe (patch)
tree477b1ba693bd95e6b150c909f35772397a3d26e5 /codemaker
parentbe8a004698228c2b4d3a5118497127d4b7a0e9b5 (diff)
#87298# insert operator<< for OString inline
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/inc/codemaker/global.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/codemaker/inc/codemaker/global.hxx b/codemaker/inc/codemaker/global.hxx
index 0c0ee43ae..465167fc0 100644
--- a/codemaker/inc/codemaker/global.hxx
+++ b/codemaker/inc/codemaker/global.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: global.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jsc $ $Date: 2001-06-20 14:49:22 $
+ * last change: $Author: jsc $ $Date: 2001-06-20 15:24:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -141,8 +141,10 @@ public:
::rtl::OString getName() { return m_name; }
// friend functions
- friend ostream &operator<<(ostream& o, ::rtl::OString*);
- friend ostream &operator<<(ostream& o, const ::rtl::OString&);
+ friend ostream &operator<<(ostream& o, ::rtl::OString* s)
+ { return o << s->getStr(); }
+ friend ostream &operator<<(ostream& o, const ::rtl::OString& s)
+ { return o << s.getStr(); }
protected:
::rtl::OString m_name;