sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 25cca30ef5f27b0a20ea7da79d0ddea66dc98d93 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Dec 2 18:51:49 2019 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Dec 2 20:41:46 2019 +0100 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 <sberg...@redhat.com> Tested-by: Stephan Bergmann <sberg...@redhat.com> 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()) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits