summaryrefslogtreecommitdiff
path: root/uui/source/iahndl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/iahndl.hxx')
-rw-r--r--uui/source/iahndl.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx
index 6e6cda4743d6..6543b345247f 100644
--- a/uui/source/iahndl.hxx
+++ b/uui/source/iahndl.hxx
@@ -32,7 +32,6 @@
#include <tools/errcode.hxx>
#include <tools/rc.hxx>
-#include <tools/resary.hxx>
#include <tools/wintypes.hxx>
#include <unordered_map>
@@ -248,11 +247,12 @@ private:
css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > const & rContinuations );
};
-class ErrorResource
+class ErrorResource: private Resource
{
- ResStringArray m_aStringArray;
public:
- explicit ErrorResource(ResId& rResId) : m_aStringArray(rResId) {}
+ explicit ErrorResource(ResId & rResId): Resource(rResId) {}
+
+ ~ErrorResource() { FreeResource(); }
bool getString(ErrCode nErrorCode, OUString &rString) const;
};