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>
This commit is contained in:
Stephan Bergmann 2022-05-31 14:57:39 +02:00
parent e4842a4c52
commit c593567b68
2 changed files with 2 additions and 3 deletions

View file

@ -63,7 +63,7 @@ UUIInteractionRequestStringResolver::getStringFromInformationalRequest(
{
try
{
return m_pImpl->getStringFromRequest(Request);
return m_pImpl.getStringFromRequest(Request);
}
catch (uno::RuntimeException const & ex)
{

View file

@ -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;