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 6543b345247f..6e6cda4743d6 100644
--- a/uui/source/iahndl.hxx
+++ b/uui/source/iahndl.hxx
@@ -32,6 +32,7 @@
#include <tools/errcode.hxx>
#include <tools/rc.hxx>
+#include <tools/resary.hxx>
#include <tools/wintypes.hxx>
#include <unordered_map>
@@ -247,12 +248,11 @@ private:
css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > const & rContinuations );
};
-class ErrorResource: private Resource
+class ErrorResource
{
+ ResStringArray m_aStringArray;
public:
- explicit ErrorResource(ResId & rResId): Resource(rResId) {}
-
- ~ErrorResource() { FreeResource(); }
+ explicit ErrorResource(ResId& rResId) : m_aStringArray(rResId) {}
bool getString(ErrCode nErrorCode, OUString &rString) const;
};