summaryrefslogtreecommitdiff
path: root/include/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-15 10:30:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-15 10:31:36 +0100
commitcef6dad4f6539c2fab0e02b24b71a15537f69034 (patch)
tree8827f30387848811d4824c3432fd09a925f48e53 /include/toolkit
parent2549be5a75ef2a17e56d5392f6c1592275abf65e (diff)
Remove unused parts of TkResMgr
Change-Id: I33f6bb8756a3bab054068a73c8e3d71b414ddfe0
Diffstat (limited to 'include/toolkit')
-rw-r--r--include/toolkit/helper/tkresmgr.hxx39
1 files changed, 3 insertions, 36 deletions
diff --git a/include/toolkit/helper/tkresmgr.hxx b/include/toolkit/helper/tkresmgr.hxx
index 6e8a170bf7c9..668a1bdaf186 100644
--- a/include/toolkit/helper/tkresmgr.hxx
+++ b/include/toolkit/helper/tkresmgr.hxx
@@ -21,45 +21,12 @@
#define INCLUDED_TOOLKIT_HELPER_TKRESMGR_HXX
#include <rtl/ustring.hxx>
-#include <vcl/image.hxx>
-class SimpleResMgr;
-class ResMgr;
+class Image;
-#define TK_RES_STRING(id) TkResMgr::loadString(id)
-
-// -----------------------------------------------------------------------------
-// TkResMgr
-// -----------------------------------------------------------------------------
-
-class TkResMgr
+namespace TkResMgr
{
- static SimpleResMgr* m_pSimpleResMgr;
- static ResMgr* m_pResMgr;
-
-private:
- // no instantiation allowed
- TkResMgr() { }
- ~TkResMgr() { }
-
- // we'll instantiate one static member of the following class,
- // which in it's dtor ensures that m_pSimpleResMgr will be deleted
- class EnsureDelete
- {
- public:
- EnsureDelete() { }
- ~EnsureDelete();
- };
- friend class EnsureDelete;
-
-protected:
- static void ensureImplExists();
-
-public:
- // loads the string with the specified resource id
- static OUString loadString( sal_uInt16 nResId );
-
- static Image getImageFromURL( const OUString& i_rImageURL );
+ Image getImageFromURL( const OUString& i_rImageURL );
};