From 1d0ea9c7f8e2955294c451c67f65edc6c1b9a590 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 29 Apr 2008 13:24:15 +0000
Subject: #i10000#: fix gcc-4.2.3 warning about using a member with a type
withing an anonymous namespace
---
ucb/source/inc/regexpmap.tpt | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
(limited to 'ucb')
diff --git a/ucb/source/inc/regexpmap.tpt b/ucb/source/inc/regexpmap.tpt
index 6a8ae4986fbf..f1bd7dfa0d6f 100644
--- a/ucb/source/inc/regexpmap.tpt
+++ b/ucb/source/inc/regexpmap.tpt
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: regexpmap.tpt,v $
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@@ -47,8 +47,9 @@
using namespace ucb_impl;
+namespace ucb_impl {
+
//============================================================================
-namespace {
template< typename Val >
struct Entry
@@ -63,16 +64,12 @@ struct Entry
//============================================================================
template< typename Val > class List: public std::list< Entry< Val > > {};
-}
-
//============================================================================
//
// RegexpMapIterImpl
//
//============================================================================
-namespace ucb_impl {
-
template< typename Val >
class RegexpMapIterImpl
{
--
cgit