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.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx
index 558951b3ef90..5b1fda3e38c5 100644
--- a/uui/source/iahndl.hxx
+++ b/uui/source/iahndl.hxx
@@ -30,7 +30,6 @@
#include <com/sun/star/task/InteractionClassification.hpp>
#include <vcl/errcode.hxx>
-#include <tools/resary.hxx>
#include <tools/wintypes.hxx>
#include <unordered_map>
@@ -248,10 +247,14 @@ private:
class ErrorResource
{
- ResStringArray m_aStringArray;
+ const std::pair<const char*, ErrCode>* m_pStringArray;
+ const std::locale& m_rResLocale;
public:
- explicit ErrorResource(ResId& rResId) : m_aStringArray(rResId) {}
-
+ explicit ErrorResource(const std::pair<const char*, ErrCode>* pStringArray, const std::locale& rResLocale)
+ : m_pStringArray(pStringArray)
+ , m_rResLocale(rResLocale)
+ {
+ }
bool getString(ErrCode nErrorCode, OUString &rString) const;
};