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
commitf07e4d501bd8ae85218fcc3bf2467abf0ea40e18 (patch)
treef097081794e597a7ec59219c6118bc19edda6eee /codemaker
parent4af0b189a02adf30bbdb18f8a83de46ff566a2df (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 52a5a1b6acf7..c8d38be6100d 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;