diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-01-08 21:02:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-01-09 09:37:58 +0100 |
commit | c26e2328ff09fecbf3fd74d41f0895555f118426 (patch) | |
tree | 33d94671c7f6fd26c41b87f25c2ef4b8a5534b72 /slideshow | |
parent | Revert "fix a few /tmp file leaks" (diff) | |
download | core-c26e2328ff09fecbf3fd74d41f0895555f118426.tar.gz core-c26e2328ff09fecbf3fd74d41f0895555f118426.zip |
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')
-rw-r--r-- | slideshow/source/engine/transitions/fanwipe.cxx | 2 |
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; |