summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 9f4bfecd4d5c..1d2f41210154 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -22,7 +22,6 @@
#include <comphelper/fileformat.h>
#include <comphelper/accessibletexthelper.hxx>
-#include <o3tl/make_unique.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
@@ -545,7 +544,7 @@ Printer* SmDocShell::GetPrt()
}
else if (!mpPrinter)
{
- auto pOptions = o3tl::make_unique<SfxItemSet>(
+ auto pOptions = std::make_unique<SfxItemSet>(
GetPool(),
svl::Items<
SID_PRINTTITLE, SID_PRINTZOOM,
@@ -900,7 +899,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
SfxUndoManager *pTmpUndoMgr = GetUndoManager();
if (pTmpUndoMgr)
pTmpUndoMgr->AddUndoAction(
- o3tl::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
+ std::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
SetFormat( aNewFormat );
Repaint();
@@ -943,7 +942,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
SfxUndoManager *pTmpUndoMgr = GetUndoManager();
if (pTmpUndoMgr)
pTmpUndoMgr->AddUndoAction(
- o3tl::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
+ std::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
SetFormat( aNewFormat );
Repaint();
@@ -966,7 +965,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
SfxUndoManager *pTmpUndoMgr = GetUndoManager();
if (pTmpUndoMgr)
pTmpUndoMgr->AddUndoAction(
- o3tl::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
+ std::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
SetFormat( aNewFormat );
Repaint();
@@ -989,7 +988,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
SfxUndoManager *pTmpUndoMgr = GetUndoManager();
if (pTmpUndoMgr)
pTmpUndoMgr->AddUndoAction(
- o3tl::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
+ std::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
SetFormat( aNewFormat );
Repaint();
@@ -1017,7 +1016,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
SfxUndoManager *pTmpUndoMgr = GetUndoManager();
if (pTmpUndoMgr)
pTmpUndoMgr->AddUndoAction(
- o3tl::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
+ std::make_unique<SmFormatAction>(this, aOldFormat, aNewFormat));
SetFormat( aNewFormat );
Repaint();