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:
parent
e4842a4c52
commit
c593567b68
2 changed files with 2 additions and 3 deletions
|
@ -63,7 +63,7 @@ UUIInteractionRequestStringResolver::getStringFromInformationalRequest(
|
|||
{
|
||||
try
|
||||
{
|
||||
return m_pImpl->getStringFromRequest(Request);
|
||||
return m_pImpl.getStringFromRequest(Request);
|
||||
}
|
||||
catch (uno::RuntimeException const & ex)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue