summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-25 15:32:29 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-25 15:54:19 -0400
commit52a36fb30aef51fc1cecde4cf2ac9c43a5c88c09 (patch)
tree828a3cdff2947b9eb129a49a18cac1fe284a3b3a /include
parent690f7ff8839c66c29f71f681b9e78cc51923c6b6 (diff)
pImplize XMLPropertyHandlerFactory.
Change-Id: Iff524c9065e9374b39db998e3860704555130995
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/prhdlfac.hxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/xmloff/prhdlfac.hxx b/include/xmloff/prhdlfac.hxx
index aca1469fabd0..1b1822b3404b 100644
--- a/include/xmloff/prhdlfac.hxx
+++ b/include/xmloff/prhdlfac.hxx
@@ -20,13 +20,12 @@
#ifndef INCLUDED_XMLOFF_PRHDLFAC_HXX
#define INCLUDED_XMLOFF_PRHDLFAC_HXX
-#include <sal/config.h>
#include <xmloff/dllapi.h>
#include <sal/types.h>
-#include <map>
#include <salhelper/simplereferenceobject.hxx>
-#include <xmloff/xmlprhdl.hxx>
+
+class XMLPropertyHandler;
/**
This class is a base-class to create XMLPropertyHandler.
@@ -39,7 +38,14 @@
*/
class XMLOFF_DLLPUBLIC XMLPropertyHandlerFactory : public salhelper::SimpleReferenceObject
{
+ struct Impl;
+ Impl* mpImpl;
+
+ XMLPropertyHandlerFactory( const XMLPropertyHandlerFactory& ); // disabled
+ XMLPropertyHandlerFactory& operator= ( const XMLPropertyHandlerFactory& ); // disabled
+
public:
+ XMLPropertyHandlerFactory();
virtual ~XMLPropertyHandlerFactory();
/**
@@ -91,11 +97,7 @@ protected:
private:
/** Retrieves ( creates if necessary ) PropertyHandler for
basic XML-types */
- SAL_DLLPRIVATE const XMLPropertyHandler* GetBasicHandler( sal_Int32 nType )
- const;
-
- typedef ::std::map<sal_Int32, const XMLPropertyHandler*> CacheMap;
- mutable CacheMap maHandlerCache;
+ SAL_DLLPRIVATE const XMLPropertyHandler* GetBasicHandler( sal_Int32 nType ) const;
};
#endif // INCLUDED_XMLOFF_PRHDLFAC_HXX