Kaydet (Commit) 69a3080a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:refcounting (RequestFilterSelect_Impl derives from XInterface)

Change-Id: Iabf9b94626b599b4fe799523b3523e18df5203c5
üst 2d297109
......@@ -157,14 +157,9 @@ css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > >
RequestFilterSelect::RequestFilterSelect( const OUString& sURL )
: pImpl( new RequestFilterSelect_Impl( sURL ))
{
pImpl->acquire();
}
{}
RequestFilterSelect::~RequestFilterSelect()
{
pImpl->release();
}
RequestFilterSelect::~RequestFilterSelect() {}
// return abort state of interaction
// If it is true, return value of method "getFilter()" will be unspecified then!
......
......@@ -30,11 +30,11 @@
#include <com/sun/star/document/NoSuchFilterRequest.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <framework/fwedllapi.h>
#include <memory>
namespace framework{
......@@ -61,7 +61,7 @@ namespace framework{
class RequestFilterSelect_Impl;
class FWE_DLLPUBLIC RequestFilterSelect
{
std::unique_ptr<RequestFilterSelect_Impl> pImpl;
rtl::Reference<RequestFilterSelect_Impl> pImpl;
public:
RequestFilterSelect( const OUString& sURL );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment