summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tppattern.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/tppattern.cxx')
-rw-r--r--cui/source/tabpages/tppattern.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx
index 56ada28c2681..1d77214eeb08 100644
--- a/cui/source/tabpages/tppattern.cxx
+++ b/cui/source/tabpages/tppattern.cxx
@@ -49,8 +49,6 @@
#include <sfx2/opengrf.hxx>
#include <sal/log.hxx>
-#include <o3tl/make_unique.hxx>
-
using namespace com::sun::star;
/*************************************************************************
@@ -436,7 +434,7 @@ IMPL_LINK_NOARG(SvxPatternTabPage, ClickModifyHdl_Impl, weld::Button&, void)
const BitmapEx aBitmapEx(m_xBitmapCtl->GetBitmapEx());
// #i123497# Need to replace the existing entry with a new one (old returned needs to be deleted)
- m_pPatternList->Replace(o3tl::make_unique<XBitmapEntry>(Graphic(aBitmapEx), aName), nPos);
+ m_pPatternList->Replace(std::make_unique<XBitmapEntry>(Graphic(aBitmapEx), aName), nPos);
BitmapEx aBitmap = m_pPatternList->GetBitmapForPreview( static_cast<sal_uInt16>( nPos ), m_xPatternLB->GetIconSize() );
m_xPatternLB->RemoveItem(nId);