summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-25 15:33:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-25 16:06:54 +0100
commita4feeebd3780d59605ba6b4c266226c6841d043b (patch)
tree5955aed3248b287fd682adcaeab7e1e59f149008 /svtools/inc
parentc694be016923d6ed3763e001d509a6f720dc1ee9 (diff)
refactor ImpSvtData
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/svtools/svtresid.hxx (renamed from svtools/inc/svtools/svtdata.hxx)33
-rw-r--r--svtools/inc/svtools/ttprops.hxx2
2 files changed, 5 insertions, 30 deletions
diff --git a/svtools/inc/svtools/svtdata.hxx b/svtools/inc/svtools/svtresid.hxx
index 8689915ca514..f30ed5605e98 100644
--- a/svtools/inc/svtools/svtdata.hxx
+++ b/svtools/inc/svtools/svtresid.hxx
@@ -26,45 +26,20 @@
*
************************************************************************/
-#ifndef _SVTOOLS_SVTDATA_HXX
-#define _SVTOOLS_SVTDATA_HXX
+#ifndef _SVTOOLS_SVTRESID_HXX
+#define _SVTOOLS_SVTRESID_HXX
#include "svtools/svtdllapi.h"
#include <tools/resid.hxx>
#include <com/sun/star/lang/Locale.hpp>
-class ResMgr;
-class SfxItemDesruptorList_Impl;
-
-//============================================================================
-class ImpSvtData
-{
-public:
- SfxItemDesruptorList_Impl * pItemDesruptList;
- ResMgr * pResMgr;
-
-private:
- ImpSvtData():
- pItemDesruptList(0), pResMgr(0)
- {}
-
- ~ImpSvtData();
-
-public:
- ResMgr * GetResMgr(const ::com::sun::star::lang::Locale aLocale);
- ResMgr * GetResMgr(); // VCL dependant, only available in SVT, not in SVL!
-
- static ImpSvtData & GetSvtData();
-};
-
-//============================================================================
class SVT_DLLPUBLIC SvtResId: public ResId
{
public:
SvtResId(sal_uInt16 nId);
- // VCL dependant, only available in SVT, not in SVL!
+ static void DeleteResMgr();
};
-#endif // _SVTOOLS_SVTDATA_HXX
+#endif // _SVTOOLS_SVTRESID_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/inc/svtools/ttprops.hxx b/svtools/inc/svtools/ttprops.hxx
index dc43c54c252d..e44b7f381267 100644
--- a/svtools/inc/svtools/ttprops.hxx
+++ b/svtools/inc/svtools/ttprops.hxx
@@ -32,7 +32,7 @@
#include "svtools/svtdllapi.h"
#include <tools/rtti.hxx>
#include <vcl/apptypes.hxx>
-#include <svtools/svtdata.hxx>
+#include <svtools/svtresid.hxx>
class SfxPoolItem;
class Bitmap;