diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-31 14:57:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-31 17:04:47 +0200 |
commit | c593567b68d353ca13206e7ee62c4a0f8348d987 (patch) | |
tree | 823a1f6ffd46b203f02a80b787db8089b04b0ddc /uui | |
parent | e4842a4c520c68813f0567d34ad321de11c4f1c3 (diff) |
UUIInteractionRequestStringResolver::m_pImpl can be a plain data member
Change-Id: I1daed58cec87d192118f027ce1843e56b17da19b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135186
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/requeststringresolver.cxx | 2 | ||||
-rw-r--r-- | uui/source/requeststringresolver.hxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/uui/source/requeststringresolver.cxx b/uui/source/requeststringresolver.cxx index 8bcb78bfea8d..baaaf088713c 100644 --- a/uui/source/requeststringresolver.cxx +++ b/uui/source/requeststringresolver.cxx @@ -63,7 +63,7 @@ UUIInteractionRequestStringResolver::getStringFromInformationalRequest( { try { - return m_pImpl->getStringFromRequest(Request); + return m_pImpl.getStringFromRequest(Request); } catch (uno::RuntimeException const & ex) { diff --git a/uui/source/requeststringresolver.hxx b/uui/source/requeststringresolver.hxx index 9456444a43f4..f9c95d87f6f5 100644 --- a/uui/source/requeststringresolver.hxx +++ b/uui/source/requeststringresolver.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> #include "iahndl.hxx" -#include <optional> class UUIInteractionRequestStringResolver: public cppu::WeakImplHelper< @@ -36,7 +35,7 @@ public: css::uno::Reference< css::uno::XComponentContext > const & rxContext); private: - std::optional<UUIInteractionHelper> m_pImpl; + UUIInteractionHelper m_pImpl; UUIInteractionRequestStringResolver(UUIInteractionRequestStringResolver const &) = delete; void operator =(UUIInteractionRequestStringResolver const &) = delete; |