diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-07 13:09:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-07 13:09:31 +0000 |
commit | 19ea3db6d33e8e1de57104e42796454757facd45 (patch) | |
tree | e6baffa68f6cb5c4a8b1e234d3f98a82c827d580 /uui/source/iahndl.hxx | |
parent | eee0206831f9682f1fa1806d08bbbeaf4783b4e9 (diff) |
revert unready stuff
Change-Id: I2b112a17a2bc70bfe4d5a6af7964a3c1d7eacf9b
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 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; }; |