diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-07 21:15:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-07 21:15:55 +0200 |
commit | 9a2dea064082465ba912391f637d4710ad355a64 (patch) | |
tree | 593865e5a77e57e3ee16e42805c0d3011849a007 /framework/inc | |
parent | 8b9207f49f436a886bcb94ae902e16c47484b3cb (diff) |
dllexport class deriving from template means trouble with MSVC
Change-Id: I9d170168eac26c52fd6ca8d22124e8ff78b81226
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/classes/protocolhandlercache.hxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/framework/inc/classes/protocolhandlercache.hxx b/framework/inc/classes/protocolhandlercache.hxx index cb9c66a8b651..61896c22caaf 100644 --- a/framework/inc/classes/protocolhandlercache.hxx +++ b/framework/inc/classes/protocolhandlercache.hxx @@ -60,13 +60,9 @@ struct FWI_DLLPUBLIC ProtocolHandler uno implementation names as value. Overloading of the index operator makes it possible to search for a key by using a full qualified URL on list of all possible pattern keys. */ -class FWI_DLLPUBLIC PatternHash : public std::unordered_map<OUString, OUString, OUStringHash> -{ - /* interface */ - public: - - PatternHash::iterator findPatternKey( const OUString& sURL ); -}; +typedef std::unordered_map<OUString, OUString, OUStringHash> PatternHash; +FWI_DLLPUBLIC PatternHash::iterator findPatternKey( + PatternHash const & hash, const OUString& sURL); /** This hash holds protocol handler structs by her names. |