diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-02 18:51:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-02 20:41:46 +0100 |
commit | 25cca30ef5f27b0a20ea7da79d0ddea66dc98d93 (patch) | |
tree | 98186756e5d4a3a90f6d2ed3bad99ff72825aeb2 /sd | |
parent | 4fafce64e87f6175a54dd5dc8aa49234e5a5f092 (diff) |
missing include (but just change use of BOOST_ASSERT to plain assert)
Change-Id: Ie789049d418f6137f76b80c54f343e5dd72fb849
Reviewed-on: https://gerrit.libreoffice.org/84261
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx index 38fcbd964f18..94a17a4dd903 100644 --- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx +++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <cassert> + #include <controller/SlsClipboard.hxx> #include <SlideSorterViewShell.hxx> @@ -755,7 +759,7 @@ sal_Int8 Clipboard::ExecuteDrop ( // has be notified, too, add a callback for that. std::shared_ptr<TransferableData> pSlideSorterTransferable ( TransferableData::GetFromTransferable(pDragTransferable)); - BOOST_ASSERT(pSlideSorterTransferable); + assert(pSlideSorterTransferable); if (pSlideSorterTransferable && pSlideSorterTransferable->GetSourceViewShell() != mrSlideSorter.GetViewShell()) { |