[Libreoffice-commits] core.git: sd/source
Shubham Goyal (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 24 12:29:54 UTC 2019
sd/source/ui/slideshow/slideshow.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 891db26079e0983f2afb38d32aa57eec9dbefc98
Author: Shubham Goyal <22shubh22 at gmail.com>
AuthorDate: Sat Apr 27 09:20:28 2019 +0530
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri May 24 14:28:37 2019 +0200
tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT
Change-Id: Ie4f1362510636006cae8a680b3ad2bbfa93e854b
Reviewed-on: https://gerrit.libreoffice.org/70449
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 93a07f9ed637..f5c387b66404 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -222,7 +222,7 @@ bool SlideShow::IsRunning( ViewShell& rViewShell )
void SlideShow::CreateController( ViewShell* pViewSh, ::sd::View* pView, vcl::Window* pParentWindow )
{
- DBG_ASSERT( !mxController.is(), "sd::SlideShow::CreateController(), clean up old controller first!" );
+ SAL_INFO_IF( !mxController.is(), "sd.slideshow", "sd::SlideShow::CreateController(), clean up old controller first!" );
Reference< XPresentation2 > xThis( this );
@@ -648,8 +648,7 @@ void SAL_CALL SlideShow::end()
// The mbIsInStartup flag should have been reset during the start of the
// slide show. Reset it here just in case that something has horribly
// gone wrong.
- OSL_ASSERT(!mbIsInStartup);
- mbIsInStartup = false;
+ assert(!mbIsInStartup);
rtl::Reference< SlideshowImpl > xController( mxController );
if( !xController.is() )
@@ -801,7 +800,7 @@ void SAL_CALL SlideShow::startWithArguments(const Sequence< PropertyValue >& rAr
// Stop a running show before starting a new one.
if( mxController.is() )
{
- OSL_ASSERT(!mbIsInStartup);
+ assert(!mbIsInStartup);
end();
}
else if (mbIsInStartup)
More information about the Libreoffice-commits
mailing list