summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/writer/WCatalog.cxx3
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx1
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/writer/WCatalog.cxx b/connectivity/source/drivers/writer/WCatalog.cxx
index ea78c89bc4e7..9d273e201945 100644
--- a/connectivity/source/drivers/writer/WCatalog.cxx
+++ b/connectivity/source/drivers/writer/WCatalog.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <connectivity/sdbcx/VCollection.hxx>
+#include <o3tl/make_unique.hxx>
#include <writer/WConnection.hxx>
@@ -54,7 +55,7 @@ void OWriterCatalog::refreshTables()
if (m_pTables)
m_pTables->reFill(aVector);
else
- m_pTables.reset(new OWriterTables(m_xMetaData, *this, m_aMutex, aVector));
+ m_pTables = o3tl::make_unique<OWriterTables>(m_xMetaData, *this, m_aMutex, aVector);
}
} // namespace writer
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 88c70e14532d..50a653d79560 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -63,7 +63,6 @@
#include <fmtclds.hxx>
#include <fmtrowsplt.hxx>
#include <fmtline.hxx>
-#include <breakit.hxx>
#include <fmtanchr.hxx>
#include <ftninfo.hxx>
#include <htmltbl.hxx>