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

Stephan Bergmann sbergman at redhat.com
Fri Jun 13 10:07:17 PDT 2014


 slideshow/source/engine/shapes/viewmediashape.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 02315362782d6d28c9d5f8bfcce278cdbee0e98b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 13 19:06:48 2014 +0200

    -Werror,-Wunused-parameter
    
    Change-Id: Ic46e1113af5e88a859273f76f850dbb00939c621

diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index b95e098..c11aaf5 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -469,7 +469,9 @@ namespace slideshow
                                                                   rRangePix.getMinY(),
                                                                     rRangePix.getMaxX() - rRangePix.getMinX(),
                                                                     rRangePix.getMaxY() - rRangePix.getMinY() );
-#if HAVE_FEATURE_GLTF
+#if !HAVE_FEATURE_GLTF
+                            (void)rMimeType;
+#else
                             if( avmedia::IsModel(rMimeType) )
                             {
                                 mpEventHandlerParent.reset(new Window(pWindow, WB_NOBORDER|WB_NODIALOGCONTROL));


More information about the Libreoffice-commits mailing list