summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/transitions
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-01-08 21:02:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-09 09:37:58 +0100
commitc26e2328ff09fecbf3fd74d41f0895555f118426 (patch)
tree33d94671c7f6fd26c41b87f25c2ef4b8a5534b72 /slideshow/source/engine/transitions
parent4d1a877dbf74b8e6e5908bb2c0eec570a5fb3184 (diff)
turn some OSL_ENSURE into SAL_WARN_IF to avoid warnings about unused variables
And one OSL_ASSERT too. Change-Id: I51f0083b9b9336e80c3b6a898c295173ad48f77c Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'slideshow/source/engine/transitions')
-rw-r--r--slideshow/source/engine/transitions/fanwipe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/transitions/fanwipe.cxx b/slideshow/source/engine/transitions/fanwipe.cxx
index fd3792c5cc90..dc102ff99b89 100644
--- a/slideshow/source/engine/transitions/fanwipe.cxx
+++ b/slideshow/source/engine/transitions/fanwipe.cxx
@@ -51,7 +51,7 @@ namespace internal {
}
else
{
- OSL_ASSERT( ! m_fanIn );
+ SAL_WARN_IF( m_fanIn, "slideshow", "FanWipe: m_fanIn is true ?" );
res.transform(basegfx::tools::createScaleTranslateB2DHomMatrix(0.5, 1.0, 0.5, 1.0));
}
return res;