diff options
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 35ea5104b090..a2a073a68ab2 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -36,6 +36,7 @@ #include "typedstrdata.hxx" #include "calcmacros.hxx" #include "calcconfig.hxx" +#include <o3tl/deleter.hxx> #include <svl/hint.hxx> #include <tools/gen.hxx> #include <svl/zforlist.hxx> @@ -2386,6 +2387,8 @@ private: void SetNeedsListeningGroups( const std::vector<ScAddress>& rPosArray ); }; +typedef std::unique_ptr<ScDocument, o3tl::default_delete<ScDocument>> ScDocumentUniquePtr; + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |