diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 12:51:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 13:54:23 +0000 |
commit | 2c91fc19445bb503652e97cc8b9f9014db436c37 (patch) | |
tree | 2d660534cb865ccc88868f36b4bc36e1addabffe /uui/source/iahndl.hxx | |
parent | 41ae267529e0473aa105fa9e153eaa532f559f95 (diff) |
replace localresource of strings and keys with StringArray
Change-Id: I402f5485af0c1e60677b8291c879bc7ca14633d3
Diffstat (limited to 'uui/source/iahndl.hxx')
-rw-r--r-- | uui/source/iahndl.hxx | 8 |
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; }; |