summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-08-30 14:55:18 +0200
committerDavid Tardon <dtardon@redhat.com>2012-09-07 10:07:02 +0200
commit7fac82d6f4bfd632c13d6a2b6566aa9dc8809827 (patch)
treea25ae8856bb223006ef165f2f99a094b009c510e
parent6b84e09ff13d9173fb92575c860cce2f43b18b61 (diff)
convert OSL_ debug funcs to SAL_
Change-Id: I8903dd6aff6cdd6a4b24e3030309780975ea9318
-rw-r--r--slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
index 0d1a0336e49f..93bc99dbc927 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
@@ -851,7 +851,7 @@ void OGLTransitionerImpl::setSlides( const uno::Reference< rendering::XBitmap >&
#endif
GLInitSlides();
- OSL_ENSURE(SlideBitmapLayout.PlaneStride == 0,"only handle no plane stride now");
+ SAL_WARN_IF(SlideBitmapLayout.PlaneStride != 0, "slideshow.opengl","only handle no plane stride now");
#ifdef UNX
/* flush & sync */
@@ -946,7 +946,7 @@ void OGLTransitionerImpl::createTexture( unsigned int* texID,
#if defined( GLX_VERSION_1_3 ) && defined( GLX_EXT_texture_from_pixmap )
}
#endif
- OSL_ENSURE(glIsTexture(*texID), "Can't generate Leaving slide textures in OpenGL");
+ SAL_WARN_IF(!glIsTexture(*texID), "slideshow.opengl", "Can't generate Leaving slide textures in OpenGL");
}
void OGLTransitionerImpl::prepareEnvironment()