diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-14 08:42:15 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-25 09:31:31 +0200 |
commit | da64d198ec3b31318c92ad4bcaab18cc2bf5cfdc (patch) | |
tree | 96128ecdbb7c2d6f0065516c0a6a7eb3f454f8e1 /sw | |
parent | 9c807f1c8bf529fbed817990e7091335d3425666 (diff) |
tools: svstream.hxx needs only errcode.hxx & not errinf.hxx
Change-Id: Ia28e35ae5af4f601e9a586a3deffbcd61702b0ca
Reviewed-on: https://gerrit.libreoffice.org/36896
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sw')
133 files changed, 134 insertions, 0 deletions
diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx index 692e580fae60..c9804130acd5 100644 --- a/sw/inc/EnhancedPDFExportHelper.hxx +++ b/sw/inc/EnhancedPDFExportHelper.hxx @@ -26,6 +26,7 @@ #include <swtypes.hxx> #include <map> +#include <memory> #include <vector> #include <set> diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx index 870585850960..bc52043255a0 100644 --- a/sw/inc/anchoreddrawobject.hxx +++ b/sw/inc/anchoreddrawobject.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_ANCHOREDDRAWOBJECT_HXX #define INCLUDED_SW_INC_ANCHOREDDRAWOBJECT_HXX +#include <memory> #include <anchoredobject.hxx> namespace tools { class Rectangle; } diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx index 0bb13f08f8a0..1c6f9d5c7dbd 100644 --- a/sw/inc/breakit.hxx +++ b/sw/inc/breakit.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_BREAKIT_HXX #define INCLUDED_SW_INC_BREAKIT_HXX +#include <memory> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index db850ac533cd..4bc00cc6bac4 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_CALC_HXX #define INCLUDED_SW_INC_CALC_HXX +#include <memory> #include <vector> #include <basic/sbxvar.hxx> #include <unotools/syslocale.hxx> diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx index 3f918bd2384a..6492095e7c06 100644 --- a/sw/inc/cellfml.hxx +++ b/sw/inc/cellfml.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_CELLFML_HXX #define INCLUDED_SW_INC_CELLFML_HXX +#include <memory> #include <rtl/ustring.hxx> class SwTable; diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index b769a1d2600b..9d2114516c5d 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_DOCSH_HXX #define INCLUDED_SW_INC_DOCSH_HXX +#include <memory> #include <rtl/ref.hxx> #include <com/sun/star/frame/XController.hpp> #include <com/sun/star/uno/Sequence.h> diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index dcbc55556fe7..c742704600cf 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -27,6 +27,7 @@ #include "swdllapi.h" #include <unordered_map> +#include <memory> #include <vector> class SwDoc; diff --git a/sw/inc/dpage.hxx b/sw/inc/dpage.hxx index 0d8438c9ea54..c54ca8e0df33 100644 --- a/sw/inc/dpage.hxx +++ b/sw/inc/dpage.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_DPAGE_HXX #define INCLUDED_SW_INC_DPAGE_HXX +#include <memory> #include <svx/fmpage.hxx> #include <svx/svdobj.hxx> diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index 11629562e8ea..9c5e00dc3f25 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -23,6 +23,7 @@ #include <fldbas.hxx> #include <cellfml.hxx> #include <set> +#include <memory> #include <vector> class SfxPoolItem; diff --git a/sw/inc/fmtcntnt.hxx b/sw/inc/fmtcntnt.hxx index 62580c78bb31..032fe31c34ba 100644 --- a/sw/inc/fmtcntnt.hxx +++ b/sw/inc/fmtcntnt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FMTCNTNT_HXX #define INCLUDED_SW_INC_FMTCNTNT_HXX +#include <memory> #include <svl/poolitem.hxx> #include <hintids.hxx> #include <format.hxx> diff --git a/sw/inc/fmturl.hxx b/sw/inc/fmturl.hxx index 74b1e430e92d..fc062e3b9c64 100644 --- a/sw/inc/fmturl.hxx +++ b/sw/inc/fmturl.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FMTURL_HXX #define INCLUDED_SW_INC_FMTURL_HXX +#include <memory> #include <svl/poolitem.hxx> #include "swdllapi.h" #include <hintids.hxx> diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 9302682ec687..6fec965473b1 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FRMFMT_HXX #define INCLUDED_SW_INC_FRMFMT_HXX +#include <memory> #include <com/sun/star/text/PositionLayoutDir.hpp> #include <cppuhelper/weakref.hxx> #include <tools/gen.hxx> diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx index 5107eea17aed..dc263e378d62 100644 --- a/sw/inc/htmltbl.hxx +++ b/sw/inc/htmltbl.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_HTMLTBL_HXX #define INCLUDED_SW_INC_HTMLTBL_HXX +#include <memory> #include <vcl/timer.hxx> #include <editeng/svxenum.hxx> diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx index 85b21486de18..89d8b1aa4b57 100644 --- a/sw/inc/ndnotxt.hxx +++ b/sw/inc/ndnotxt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_NDNOTXT_HXX #define INCLUDED_SW_INC_NDNOTXT_HXX +#include <memory> #include "node.hxx" namespace tools { class PolyPolygon; } diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 1798dad33a03..0f1dc5225a6a 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -31,6 +31,7 @@ #include <sfx2/Metadatable.hxx> +#include <memory> #include <vector> #include <set> diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 5975916e21e3..9639ef9c44be 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -30,6 +30,7 @@ #include <SwNumberTreeTypes.hxx> #include <ndarr.hxx> #include <unordered_map> +#include <memory> #include <vector> #include <charfmt.hxx> diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 688cd1797c9d..6092b6650056 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -28,6 +28,7 @@ #include <IDocumentRedlineAccess.hxx> #include <cstddef> +#include <memory> #include <vector> class SfxItemSet; diff --git a/sw/inc/shellres.hxx b/sw/inc/shellres.hxx index 9015f844320c..afa66c112acb 100644 --- a/sw/inc/shellres.hxx +++ b/sw/inc/shellres.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_SHELLRES_HXX #define INCLUDED_SW_INC_SHELLRES_HXX +#include <memory> #include <swdllapi.h> #include <rtl/ustring.hxx> #include <vcl/bitmap.hxx> diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx index 5ca345548dc1..ce2e9cdb8b1f 100644 --- a/sw/inc/swacorr.hxx +++ b/sw/inc/swacorr.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_SWACORR_HXX #define INCLUDED_SW_INC_SWACORR_HXX +#include <memory> #include <editeng/svxacorr.hxx> #include <com/sun/star/uno/Reference.h> diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx index d8263b51b496..f72f07d5c83a 100644 --- a/sw/inc/unobaseclass.hxx +++ b/sw/inc/unobaseclass.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_UNOBASECLASS_HXX #define INCLUDED_SW_INC_UNOBASECLASS_HXX +#include <memory> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/container/XEnumeration.hpp> diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index e6a996df4166..c28d1ec4b997 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <swmodeltestbase.hxx> #include <com/sun/star/awt/Gradient.hpp> diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index e2ce0f5a9cd8..75604978ceb4 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SW_QA_EXTRAS_INC_SWMODELTESTBASE_HXX #define INCLUDED_SW_QA_EXTRAS_INC_SWMODELTESTBASE_HXX +#include <memory> #include <com/sun/star/container/XContentEnumerationAccess.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/frame/Desktop.hpp> diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 41b421b36116..2110f549031e 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <swmodeltestbase.hxx> #include <config_features.h> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx index f6a0dc3efa57..612656cde2ec 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "config_test.h" #ifdef MACOSX diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 9154ef1cfa3c..185ec428edff 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "config_test.h" #ifdef MACOSX diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 2cfaa282ab2b..a0c80b150825 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <swmodeltestbase.hxx> #include <com/sun/star/awt/FontDescriptor.hpp> diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 83a3e8398531..75ef9f9b82bb 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <com/sun/star/awt/FontWeight.hpp> #include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <com/sun/star/i18n/TextConversionOption.hpp> diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx index 97248bd0ba46..93ffeba0d942 100644 --- a/sw/source/core/access/accportions.hxx +++ b/sw/source/core/access/accportions.hxx @@ -23,6 +23,7 @@ #include <SwPortionHandler.hxx> #include <sal/types.h> #include <rtl/ustrbuf.hxx> +#include <memory> #include <vector> class SwTextNode; diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index b1c653b23812..f624de58079a 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/text/XTextRange.hpp> #include <hintids.hxx> diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 0192bbb2efb1..8c02241805ed 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <MarkManager.hxx> #include <bookmrk.hxx> #include <cntfrm.hxx> diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx index 980ce7ebe330..82bbe01a6c1a 100644 --- a/sw/source/core/doc/docruby.cxx +++ b/sw/source/core/doc/docruby.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <com/sun/star/i18n/UnicodeType.hpp> diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx index 28f5df18361b..618278a47d09 100644 --- a/sw/source/core/doc/fmtcol.cxx +++ b/sw/source/core/doc/fmtcol.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <libxml/xmlwriter.h> #include <sal/macros.h> diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index e15f70aae6e3..9f9e6fdfeac1 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <vcl/wrkwin.hxx> diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index c0bddb4c928e..286d2269b0b2 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <string.h> diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx index e302ee6c0f6d..ecb1d13efa98 100644 --- a/sw/source/core/doc/poolfmt.cxx +++ b/sw/source/core/doc/poolfmt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <i18nlangtag/mslangid.hxx> #include <unotools/localedatawrapper.hxx> diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index 05fd94d30c9b..13494cfe9317 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/text/HoriOrientation.hpp> #include <hintids.hxx> diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 44d932947a2a..10c90fddd03a 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <fesh.hxx> #include <hintids.hxx> #include <editeng/lrspitem.hxx> diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 03607dbe4b5e..6e81be59c157 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <editeng/protitem.hxx> #include <editeng/opaqitem.hxx> diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx index 1111ffaf62a4..fc6a4df0be70 100644 --- a/sw/source/core/edit/edattr.cxx +++ b/sw/source/core/edit/edattr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <editeng/tstpitem.hxx> #include <editeng/lrspitem.hxx> diff --git a/sw/source/core/edit/eddel.cxx b/sw/source/core/edit/eddel.cxx index 591fe8f911db..d19f7eac6545 100644 --- a/sw/source/core/edit/eddel.cxx +++ b/sw/source/core/edit/eddel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <doc.hxx> #include <IDocumentUndoRedo.hxx> diff --git a/sw/source/core/fields/authfld.cxx b/sw/source/core/fields/authfld.cxx index bf7cabb18d03..f217f00467a0 100644 --- a/sw/source/core/fields/authfld.cxx +++ b/sw/source/core/fields/authfld.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <comphelper/string.hxx> #include <editeng/unolingu.hxx> diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index 444f4de516b3..4dc6d5140f91 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <vcl/graph.hxx> diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx index b1f20640739b..6bcae1c5d65d 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <o3tl/make_unique.hxx> diff --git a/sw/source/core/inc/UndoBookmark.hxx b/sw/source/core/inc/UndoBookmark.hxx index f5790bde1882..dce0b4642f08 100644 --- a/sw/source/core/inc/UndoBookmark.hxx +++ b/sw/source/core/inc/UndoBookmark.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOBOOKMARK_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOBOOKMARK_HXX +#include <memory> #include <undobj.hxx> class SwHistoryBookmark; diff --git a/sw/source/core/inc/UndoNumbering.hxx b/sw/source/core/inc/UndoNumbering.hxx index aa16113f9fe2..66444b1edaef 100644 --- a/sw/source/core/inc/UndoNumbering.hxx +++ b/sw/source/core/inc/UndoNumbering.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDONUMBERING_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDONUMBERING_HXX +#include <memory> #include <vector> #include <undobj.hxx> #include <rtl/ustring.hxx> diff --git a/sw/source/core/inc/UndoOverwrite.hxx b/sw/source/core/inc/UndoOverwrite.hxx index 1b520fae1efb..d5040bc823da 100644 --- a/sw/source/core/inc/UndoOverwrite.hxx +++ b/sw/source/core/inc/UndoOverwrite.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOOVERWRITE_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOOVERWRITE_HXX +#include <memory> #include <com/sun/star/uno/Sequence.h> #include <rtl/ustring.hxx> #include <undobj.hxx> diff --git a/sw/source/core/inc/UndoRedline.hxx b/sw/source/core/inc/UndoRedline.hxx index c839a6d2d1df..8a62b33937a5 100644 --- a/sw/source/core/inc/UndoRedline.hxx +++ b/sw/source/core/inc/UndoRedline.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOREDLINE_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOREDLINE_HXX +#include <memory> #include <undobj.hxx> struct SwSortOptions; diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx index 104b3653351d..f2382dbeddde 100644 --- a/sw/source/core/inc/acorrect.hxx +++ b/sw/source/core/inc/acorrect.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX #define INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX +#include <memory> #include <editeng/svxacorr.hxx> #include <swundo.hxx> diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index 83ceece5b427..17510eafef09 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_SWFONT_HXX #define INCLUDED_SW_SOURCE_CORE_INC_SWFONT_HXX +#include <memory> #include <i18nlangtag/lang.h> #include <tools/color.hxx> #include <tools/gen.hxx> diff --git a/sw/source/core/inc/txtfly.hxx b/sw/source/core/inc/txtfly.hxx index e74d429d974b..772cd8d2d493 100644 --- a/sw/source/core/inc/txtfly.hxx +++ b/sw/source/core/inc/txtfly.hxx @@ -22,6 +22,7 @@ #include "swtypes.hxx" #include "swrect.hxx" #include <com/sun/star/text/WrapTextMode.hpp> +#include <memory> #include <vector> class OutputDevice; diff --git a/sw/source/core/inc/unometa.hxx b/sw/source/core/inc/unometa.hxx index 90573dd83970..2857bbd50913 100644 --- a/sw/source/core/inc/unometa.hxx +++ b/sw/source/core/inc/unometa.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOMETA_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNOMETA_HXX +#include <memory> #include <deque> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index 6d9721748cb5..3c9b36198788 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rootfrm.hxx" #include "pagefrm.hxx" #include "viewopt.hxx" diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 3c6198e15b24..88de9e047f9c 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <bodyfrm.hxx> diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx index f564d7ae4c0b..cfa4d8cb80f8 100644 --- a/sw/source/core/layout/layouter.cxx +++ b/sw/source/core/layout/layouter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "layouter.hxx" #include "doc.hxx" #include "sectfrm.hxx" diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 109d4486c475..9a99104da447 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -92,6 +92,7 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <basegfx/color/bcolortools.hxx> +#include <memory> #include <vector> #include <algorithm> #include <wrtsh.hxx> diff --git a/sw/source/core/text/atrhndl.hxx b/sw/source/core/text/atrhndl.hxx index fa6b0830c990..2338710da368 100644 --- a/sw/source/core/text/atrhndl.hxx +++ b/sw/source/core/text/atrhndl.hxx @@ -23,6 +23,7 @@ #define INITIAL_NUM_ATTR 3 #define NUM_ATTRIBUTE_STACKS 44 +#include <memory> #include <txatbase.hxx> #include <swfntcch.hxx> diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx index fc492ae5723a..dc870ff98313 100644 --- a/sw/source/core/text/blink.cxx +++ b/sw/source/core/text/blink.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "viewsh.hxx" #include "rootfrm.hxx" #include "txtfrm.hxx" diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index 8dfd0fac9360..e3f1b146851d 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/text/HoriOrientation.hpp> #include <hintids.hxx> #include <editeng/pgrditem.hxx> diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx index 952d80580ac9..3590976ad638 100644 --- a/sw/source/core/text/guess.hxx +++ b/sw/source/core/text/guess.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX +#include <memory> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include "swtypes.hxx" diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx index c7572fd01dbf..9950d417c39e 100644 --- a/sw/source/core/text/inftxt.hxx +++ b/sw/source/core/text/inftxt.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX +#include <memory> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include <com/sun/star/beans/PropertyValues.hpp> diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx index 7af74fcc9764..60d3eddce3a8 100644 --- a/sw/source/core/text/pormulti.hxx +++ b/sw/source/core/text/pormulti.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORMULTI_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_PORMULTI_HXX +#include <memory> #include "porlay.hxx" #include "porexp.hxx" #include <com/sun/star/text/RubyAdjust.hpp> diff --git a/sw/source/core/text/redlnitr.hxx b/sw/source/core/text/redlnitr.hxx index 69cfb437c391..b7665e64427c 100644 --- a/sw/source/core/text/redlnitr.hxx +++ b/sw/source/core/text/redlnitr.hxx @@ -26,6 +26,7 @@ #include "swfont.hxx" #include <cstddef> +#include <memory> #include <vector> class SwTextNode; diff --git a/sw/source/core/tox/ToxLinkProcessor.cxx b/sw/source/core/tox/ToxLinkProcessor.cxx index f24b1a3d8234..674008bb165c 100644 --- a/sw/source/core/tox/ToxLinkProcessor.cxx +++ b/sw/source/core/tox/ToxLinkProcessor.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "ToxLinkProcessor.hxx" #include "SwStyleNameMapper.hxx" diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index ec43a811c485..62abf09a980b 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx index dad13d0c6347..e2b3c08fc15c 100644 --- a/sw/source/core/undo/unsect.cxx +++ b/sw/source/core/undo/unsect.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <UndoSection.hxx> #include <sfx2/linkmgr.hxx> diff --git a/sw/source/core/undo/unsort.cxx b/sw/source/core/undo/unsort.cxx index b6892c8faadb..89dc23b8bd46 100644 --- a/sw/source/core/undo/unsort.cxx +++ b/sw/source/core/undo/unsort.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <UndoSort.hxx> #include <doc.hxx> #include <swundo.hxx> diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 9479f9be96c1..cb3d5b326445 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cmdid.h> diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index ee0a34f6fefa..dbdd6e13d971 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <unoidx.hxx> #include <unoidxcoll.hxx> diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 0617be992dca..a66d7200b48c 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx index 211f78b987b5..b41221e56eb1 100644 --- a/sw/source/core/unocore/unosect.cxx +++ b/sw/source/core/unocore/unosect.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <unosection.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index d040c02e7101..4125bc11026b 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -21,6 +21,7 @@ #include <list> #include <array> #include <utility> +#include <memory> #include <vector> #include <algorithm> diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx index 2e9f2121bf0f..039a1c39a0ea 100644 --- a/sw/source/filter/basflt/fltshell.cxx +++ b/sw/source/filter/basflt/fltshell.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstddef> diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx index abff69ca2fef..d13e02734563 100644 --- a/sw/source/filter/html/htmlgrin.cxx +++ b/sw/source/filter/html/htmlgrin.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <comphelper/string.hxx> #include <vcl/svapp.hxx> diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 0254036220b6..90f487888ea7 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx index 55b141c06585..c309fc4f0391 100644 --- a/sw/source/filter/html/svxcss1.cxx +++ b/sw/source/filter/html/svxcss1.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdlib.h> #include <svx/svxids.hrc> diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index be451faa479c..9624e4ab9108 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> @@ -31,6 +32,7 @@ #endif #include <hintids.hxx> +#include <tools/errinf.hxx> #include <svl/stritem.hxx> #include <svtools/imap.hxx> #include <svtools/htmltokn.h> diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index 6e3ba3d9af85..0872179801cb 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <sot/storage.hxx> diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx index 2836639b3ccb..df38952d847f 100644 --- a/sw/source/filter/writer/wrtswtbl.cxx +++ b/sw/source/filter/writer/wrtswtbl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <editeng/boxitem.hxx> #include <editeng/brushitem.hxx> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 6c0176fd3bba..356f468debab 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "docxattributeoutput.hxx" #include "docxhelper.hxx" #include "docxsdrexport.hxx" diff --git a/sw/source/filter/ww8/docxexportfilter.cxx b/sw/source/filter/ww8/docxexportfilter.cxx index 9cfba638a7f6..31b58968b591 100644 --- a/sw/source/filter/ww8/docxexportfilter.cxx +++ b/sw/source/filter/ww8/docxexportfilter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "docxexportfilter.hxx" #include "rtfexportfilter.hxx" #include "docxexport.hxx" diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index bb9bc38329d4..4bd9ad0598f0 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rtfattributeoutput.hxx" #include <cstring> #include "rtfsdrexport.hxx" diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index f204fe31a7c8..75560083f33d 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_WW8_RTFATTRIBUTEOUTPUT_HXX #define INCLUDED_SW_SOURCE_FILTER_WW8_RTFATTRIBUTEOUTPUT_HXX +#include <memory> #include <com/sun/star/drawing/FillStyle.hpp> #include "attributeoutputbase.hxx" diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index edb73a6f9eb6..d94902c275dd 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rtfsdrexport.hxx" #include "rtfattributeoutput.hxx" #include <svtools/rtfkeywd.hxx> diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 8bf4fc9eac0d..8247f958def7 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/embed/Aspects.hpp> #include <hintids.hxx> diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 7aee7de8609b..69716cf5be3c 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <iostream> #include <com/sun/star/embed/ElementModes.hpp> diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx index 7fdb12949f5a..91ddb5d0604f 100644 --- a/sw/source/filter/ww8/wrtww8gr.cxx +++ b/sw/source/filter/ww8/wrtww8gr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/embed/XEmbedPersist.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/ElementModes.hpp> diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx index 5ac6101ff948..f206d1493fd9 100644 --- a/sw/source/filter/ww8/ww8glsy.cxx +++ b/sw/source/filter/ww8/ww8glsy.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/urlobj.hxx> #include <svl/urihelper.hxx> #include <rtl/tencinfo.h> diff --git a/sw/source/filter/ww8/ww8glsy.hxx b/sw/source/filter/ww8/ww8glsy.hxx index 117e66d3cb8a..cfb8b297865e 100644 --- a/sw/source/filter/ww8/ww8glsy.hxx +++ b/sw/source/filter/ww8/ww8glsy.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8GLSY_HXX #define INCLUDED_SW_SOURCE_FILTER_WW8_WW8GLSY_HXX +#include <memory> #include <sot/storage.hxx> #include "ww8scan.hxx" diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index bb1287fe45d0..401daf475a19 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svl/itemiter.hxx> #include <vcl/svapp.hxx> #include <vcl/outdev.hxx> diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index d23385cb7762..8f51cc10d9db 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ww8scan.hxx" #include "ww8par.hxx" diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index 7157c7e776e7..b7e89103214d 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstddef> diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index cb2bbd433912..d899db80c4e8 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/packages/WrongPasswordException.hpp> #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> #include <o3tl/any.hxx> +#include <tools/errinf.hxx> #include <sfx2/docfile.hxx> #include <svtools/sfxecode.hxx> #include <svl/stritem.hxx> diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx index 9f0b42984bf7..3086a86b05f2 100644 --- a/sw/source/filter/xml/wrtxml.cxx +++ b/sw/source/filter/xml/wrtxml.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/frame/XModule.hpp> #include <comphelper/processfactory.hxx> #include <comphelper/genericpropertyset.hxx> +#include <tools/errinf.hxx> #include <o3tl/any.hxx> #include <unotools/streamwrap.hxx> #include <svx/xmlgrhlp.hxx> diff --git a/sw/source/filter/xml/xmlbrshi.hxx b/sw/source/filter/xml/xmlbrshi.hxx index dc6076499773..a73fbe0ba3df 100644 --- a/sw/source/filter/xml/xmlbrshi.hxx +++ b/sw/source/filter/xml/xmlbrshi.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_XML_XMLBRSHI_HXX #define INCLUDED_SW_SOURCE_FILTER_XML_XMLBRSHI_HXX +#include <memory> #include <com/sun/star/io/XOutputStream.hpp> #include <xmloff/xmlictxt.hxx> diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index e357175c216a..4973803d2149 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <comphelper/fileurl.hxx> diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx index 286f0d4f83cf..b76eb30dbf8c 100644 --- a/sw/source/ui/chrdlg/swuiccoll.cxx +++ b/sw/source/ui/chrdlg/swuiccoll.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "cmdid.h" #include "swmodule.hxx" #include "view.hxx" diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index e2d3fc066889..34b00493b67f 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/waitobj.hxx> #include <rtl/ustring.hxx> #include <svtools/treelistentry.hxx> diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index 0cbfba9f4e72..1295b902935c 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/edit.hxx> #include <vcl/layout.hxx> #include <vcl/msgbox.hxx> diff --git a/sw/source/uibase/app/appopt.cxx b/sw/source/uibase/app/appopt.cxx index e30b2a4fb243..732b413e0334 100644 --- a/sw/source/uibase/app/appopt.cxx +++ b/sw/source/uibase/app/appopt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <cmdid.h> #include <com/sun/star/i18n/ScriptType.hpp> diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index d8cbf183d675..79a10a7b9ff0 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sw/source/uibase/app/swdll.cxx b/sw/source/uibase/app/swdll.cxx index 549df9b99a4e..0b226ec4dadd 100644 --- a/sw/source/uibase/app/swdll.cxx +++ b/sw/source/uibase/app/swdll.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <svx/svdobj.hxx> diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 5c96d41c2b9d..bb0083ea5d38 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <comphelper/classids.hxx> #include <o3tl/any.hxx> diff --git a/sw/source/uibase/config/uinums.cxx b/sw/source/uibase/config/uinums.cxx index f6eb039df8fd..5b126a19e692 100644 --- a/sw/source/uibase/config/uinums.cxx +++ b/sw/source/uibase/config/uinums.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <uinums.hxx> #include <hintids.hxx> diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index a0ee6b5e14eb..52f9e023c440 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -39,6 +39,7 @@ #include <com/sun/star/ui/dialogs/XFilePicker2.hpp> #include <com/sun/star/ui/dialogs/XFilterManager.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <tools/errinf.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/filedlghelper.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx index 117fe87afdc3..aa44cf093099 100644 --- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx +++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <SwSpellDialogChildWindow.hxx> #include <vcl/layout.hxx> #include <editeng/svxacorr.hxx> diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx index 44d26b6441bc..18f0e5e37d10 100644 --- a/sw/source/uibase/docvw/romenu.cxx +++ b/sw/source/uibase/docvw/romenu.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <svl/eitem.hxx> diff --git a/sw/source/uibase/envelp/labelcfg.cxx b/sw/source/uibase/envelp/labelcfg.cxx index 70716ae02489..aceedc727db8 100644 --- a/sw/source/uibase/envelp/labelcfg.cxx +++ b/sw/source/uibase/envelp/labelcfg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_folders.h> #include <swtypes.hxx> diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 690b99ab2d82..d579346fecca 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_CONTENT_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_CONTENT_HXX +#include <memory> #include <limits.h> #include "swcont.hxx" diff --git a/sw/source/uibase/inc/dbtree.hxx b/sw/source/uibase/inc/dbtree.hxx index 47d179d524ce..1d55c686e3e2 100644 --- a/sw/source/uibase/inc/dbtree.hxx +++ b/sw/source/uibase/inc/dbtree.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DBTREE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_DBTREE_HXX +#include <memory> #include <svtools/treelistbox.hxx> #include "swdllapi.h" diff --git a/sw/source/uibase/inc/gloshdl.hxx b/sw/source/uibase/inc/gloshdl.hxx index 8b43af0b126e..92398bc60536 100644 --- a/sw/source/uibase/inc/gloshdl.hxx +++ b/sw/source/uibase/inc/gloshdl.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_GLOSHDL_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_GLOSHDL_HXX +#include <memory> #include <rtl/ustring.hxx> #include "swdllapi.h" diff --git a/sw/source/uibase/inc/grfsh.hxx b/sw/source/uibase/inc/grfsh.hxx index c54047ea52b1..b58be7a763ff 100644 --- a/sw/source/uibase/inc/grfsh.hxx +++ b/sw/source/uibase/inc/grfsh.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_GRFSH_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_GRFSH_HXX +#include <memory> #include "frmsh.hxx" class SwGrfShell: public SwBaseShell diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx index 349fba6c2697..a37e3b728101 100644 --- a/sw/source/uibase/inc/mailmrge.hxx +++ b/sw/source/uibase/inc/mailmrge.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_MAILMRGE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_MAILMRGE_HXX +#include <memory> #include <svx/stddlg.hxx> #include <vcl/button.hxx> diff --git a/sw/source/uibase/inc/numberingtypelistbox.hxx b/sw/source/uibase/inc/numberingtypelistbox.hxx index 741447cbc994..784817410e86 100644 --- a/sw/source/uibase/inc/numberingtypelistbox.hxx +++ b/sw/source/uibase/inc/numberingtypelistbox.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_NUMBERINGTYPELISTBOX_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_NUMBERINGTYPELISTBOX_HXX +#include <memory> #include <vcl/lstbox.hxx> #include "swdllapi.h" #include <o3tl/typed_flags_set.hxx> diff --git a/sw/source/uibase/inc/optcomp.hxx b/sw/source/uibase/inc/optcomp.hxx index 83d74baa436c..85c8b15dfa2b 100644 --- a/sw/source/uibase/inc/optcomp.hxx +++ b/sw/source/uibase/inc/optcomp.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_OPTCOMP_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_OPTCOMP_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include <vcl/fixed.hxx> #include <vcl/layout.hxx> diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx index b97af7a30853..b45ca7f26a90 100644 --- a/sw/source/uibase/inc/outline.hxx +++ b/sw/source/uibase/inc/outline.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_OUTLINE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_OUTLINE_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include <vcl/menu.hxx> diff --git a/sw/source/uibase/inc/swtablerep.hxx b/sw/source/uibase/inc/swtablerep.hxx index 2bf8c1d1a019..32c584286567 100644 --- a/sw/source/uibase/inc/swtablerep.hxx +++ b/sw/source/uibase/inc/swtablerep.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SWTABLEREP_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_SWTABLEREP_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include "swdllapi.h" #include "swtypes.hxx" diff --git a/sw/source/uibase/inc/uiitems.hxx b/sw/source/uibase/inc/uiitems.hxx index 124bf7e33a08..6cb33a60a9a0 100644 --- a/sw/source/uibase/inc/uiitems.hxx +++ b/sw/source/uibase/inc/uiitems.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_UIITEMS_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_UIITEMS_HXX +#include <memory> #include <svl/intitem.hxx> #include "swdllapi.h" #include "cmdid.h" diff --git a/sw/source/uibase/inc/uiobject.hxx b/sw/source/uibase/inc/uiobject.hxx index 568aa6c487d0..08310ba17473 100644 --- a/sw/source/uibase/inc/uiobject.hxx +++ b/sw/source/uibase/inc/uiobject.hxx @@ -10,6 +10,7 @@ #ifndef SW_SOURCE_UIBASE_INC_UIOBJECT_HXX #define SW_SOURCE_UIBASE_INC_UIOBJECT_HXX +#include <memory> #include <vcl/uitest/uiobject.hxx> class SwEditWin; diff --git a/sw/source/uibase/inc/usrpref.hxx b/sw/source/uibase/inc/usrpref.hxx index 3a8e3a1a7a46..af2b97852f21 100644 --- a/sw/source/uibase/inc/usrpref.hxx +++ b/sw/source/uibase/inc/usrpref.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_USRPREF_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_USRPREF_HXX +#include <memory> #include <unotools/configitem.hxx> #include <fldupde.hxx> #include "viewopt.hxx" diff --git a/sw/source/uibase/sidebar/PageColumnControl.cxx b/sw/source/uibase/sidebar/PageColumnControl.cxx index 3d6a384b7508..c039dd8624e5 100644 --- a/sw/source/uibase/sidebar/PageColumnControl.cxx +++ b/sw/source/uibase/sidebar/PageColumnControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "PageColumnControl.hxx" #include <cmdid.h> diff --git a/sw/source/uibase/sidebar/PageFooterPanel.hxx b/sw/source/uibase/sidebar/PageFooterPanel.hxx index 70d718fb6546..bf96a0f7568c 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.hxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEFOOTERPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEFOOTERPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/sidebar/PageFormatPanel.hxx b/sw/source/uibase/sidebar/PageFormatPanel.hxx index 5c5c174b848a..94b611d4278a 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.hxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.hxx @@ -43,6 +43,7 @@ #include <svl/poolitem.hxx> #include <svx/relfld.hxx> +#include <memory> #include <vector> namespace sw { namespace sidebar { diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.hxx b/sw/source/uibase/sidebar/PageHeaderPanel.hxx index e92a2fa06e5a..de2ceb958ed1 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.hxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEHEADERPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEHEADERPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx index bb9de2bd8f2b..080ebcfba28f 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.cxx +++ b/sw/source/uibase/sidebar/PageMarginControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx index 704e214787f8..ea29ec7370d8 100644 --- a/sw/source/uibase/sidebar/PageOrientationControl.hxx +++ b/sw/source/uibase/sidebar/PageOrientationControl.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEORIENTATIONCONTROL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEORIENTATIONCONTROL_HXX +#include <memory> #include <svx/tbxctl.hxx> #include <svx/pageitem.hxx> #include <svx/rulritem.hxx> diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index ae6916488950..6dfb0867a9f1 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "PageSizeControl.hxx" #include <cmdid.h> diff --git a/sw/source/uibase/sidebar/PageStylesPanel.hxx b/sw/source/uibase/sidebar/PageStylesPanel.hxx index 9429c6148a56..13ccd95efa0b 100644 --- a/sw/source/uibase/sidebar/PageStylesPanel.hxx +++ b/sw/source/uibase/sidebar/PageStylesPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGESTYLESPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGESTYLESPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx index 19f1d624a5da..5a56a6ef6bfc 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx @@ -11,6 +11,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/uitest/uiobject.cxx b/sw/source/uibase/uitest/uiobject.cxx index bf630740654b..eb1f23677fd9 100644 --- a/sw/source/uibase/uitest/uiobject.cxx +++ b/sw/source/uibase/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include "edtwin.hxx" #include "view.hxx" diff --git a/sw/source/uibase/uiview/formatclipboard.cxx b/sw/source/uibase/uiview/formatclipboard.cxx index f1d9e1a02112..0d41ba96e037 100644 --- a/sw/source/uibase/uiview/formatclipboard.cxx +++ b/sw/source/uibase/uiview/formatclipboard.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "formatclipboard.hxx" #include <svx/svxids.hrc> diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx index 30f19297d1d1..550ae169e88a 100644 --- a/sw/source/uibase/uiview/srcview.cxx +++ b/sw/source/uibase/uiview/srcview.cxx @@ -22,6 +22,7 @@ #include <comphelper/string.hxx> #include <unotools/tempfile.hxx> #include <tools/urlobj.hxx> +#include <tools/errinf.hxx> #include <vcl/layout.hxx> #include <vcl/print.hxx> #include <vcl/msgbox.hxx> diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx index f670bf866395..522503c58b56 100644 --- a/sw/source/uibase/uiview/viewstat.cxx +++ b/sw/source/uibase/uiview/viewstat.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <hintids.hxx> diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index 040e883ad877..e2d23c2483af 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "viscrs.hxx" #include <o3tl/any.hxx> #include <sfx2/frame.hxx> |