[Libreoffice-commits] .: svl/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Nov 7 04:41:51 PST 2011


 svl/source/misc/inettype.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2ea9da71470a9e2a442ec6a660de47691a3f8723
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 7 12:41:47 2011 +0000

    don't need typename outside a template

diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx
index c5a7603..1f55f21 100644
--- a/svl/source/misc/inettype.cxx
+++ b/svl/source/misc/inettype.cxx
@@ -542,7 +542,7 @@ TypeNameMapEntry * Registration::getExtensionEntry(UniString const &
     UniString aTheTypeName = rTypeName;
     aTheTypeName.ToLowerAscii();
     Registration &rRegistration = theRegistration::get();
-    typename TypeNameMap::iterator it = rRegistration.m_aTypeNameMap.find(aTheTypeName);
+    TypeNameMap::iterator it = rRegistration.m_aTypeNameMap.find(aTheTypeName);
     if (it != rRegistration.m_aTypeNameMap.end())
         return it->second;
     return 0;
@@ -599,7 +599,7 @@ INetContentType Registration::GetContentType(UniString const & rTypeName)
 
     UniString aTheTypeName = rTypeName;
     aTheTypeName.ToLowerAscii();
-    typename TypeNameMap::iterator it = rRegistration.m_aTypeNameMap.find(aTheTypeName);
+    TypeNameMap::iterator it = rRegistration.m_aTypeNameMap.find(aTheTypeName);
     return it != rRegistration.m_aTypeNameMap.end()
         ? it->second->m_eTypeID
         : CONTENT_TYPE_UNKNOWN;
@@ -636,7 +636,7 @@ INetContentType Registration::GetContentType4Extension(UniString const &
 {
     Registration &rRegistration = theRegistration::get();
 
-    typename ExtensionMap::iterator it = rRegistration.m_aExtensionMap.find(rExtension);
+    ExtensionMap::iterator it = rRegistration.m_aExtensionMap.find(rExtension);
     return it != rRegistration.m_aExtensionMap.end()
         ? it->second->m_eTypeID
         : CONTENT_TYPE_UNKNOWN;


More information about the Libreoffice-commits mailing list