summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index e83edf00f776..060dd47a3d9f 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -1018,7 +1018,7 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
std::shared_ptr<const SfxFilter> pFilter = bUpdate ? SfxFilter::GetFilterByName( sFilterName ) : nullptr;
if (!pFilter)
{
- pFilter.reset(new SfxFilter( sFilterName ,
+ pFilter = std::make_shared<SfxFilter>( sFilterName ,
sExtension ,
nFlags ,
nClipboardId ,
@@ -1026,7 +1026,7 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
sMimeType ,
sUserData ,
sServiceName ,
- bEnabled ));
+ bEnabled );
rList.push_back( pFilter );
}
else