summaryrefslogtreecommitdiff
path: root/sw/inc/SwRewriter.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-05-26 09:00:19 +0000
committerRüdiger Timm <rt@openoffice.org>2004-05-26 09:00:19 +0000
commit43d76b13c03a3241c910c5b814842dd9d4227f2a (patch)
treedd860726fb2123e895b938d0519e1bf5c9000d34 /sw/inc/SwRewriter.hxx
parent5a82d7586a2b4a0b9ae461b40e77e5dfbf7d34a9 (diff)
#i10000# Do not use 'using namespace std' in headers
Diffstat (limited to 'sw/inc/SwRewriter.hxx')
-rw-r--r--sw/inc/SwRewriter.hxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/sw/inc/SwRewriter.hxx b/sw/inc/SwRewriter.hxx
index cfdb442e791e..acb804d8e984 100644
--- a/sw/inc/SwRewriter.hxx
+++ b/sw/inc/SwRewriter.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: SwRewriter.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2004-05-18 13:55:37 $
+ * last change: $Author: rt $ $Date: 2004-05-26 10:00:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,13 +66,11 @@
#include <iostream>
#include <tools/string.hxx>
-using namespace std;
-
-typedef pair<String, String> SwRewriteRule;
+typedef std::pair<String, String> SwRewriteRule;
class SwRewriter
{
- vector<SwRewriteRule> mRules;
+ std::vector<SwRewriteRule> mRules;
public:
SwRewriter();
@@ -83,9 +81,10 @@ public:
void AddRewriter(const SwRewriter & rRewriter);
String Apply(const String & rStr) const;
- vector<String> Apply(const vector<String> & rStrs) const;
+ std::vector<String> Apply(const std::vector<String> & rStrs) const;
- friend ostream & operator << (ostream & o, const SwRewriter & rRewriter);
+ friend std::ostream & operator << (std::ostream & o,
+ const SwRewriter & rRewriter);
};
#endif // _SW_REWRITER_HXX