[Libreoffice-commits] core.git: sd/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 2 19:42:48 UTC 2019


 sd/source/ui/slidesorter/controller/SlsClipboard.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 25cca30ef5f27b0a20ea7da79d0ddea66dc98d93
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Dec 2 18:51:49 2019 +0100
Commit:     Stephan Bergmann <sbergman at 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 <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at 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())
             {


More information about the Libreoffice-commits mailing list