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

jan Iversen jani at libreoffice.org
Fri Mar 9 18:00:23 UTC 2018


 svx/source/unodraw/unopage.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit bfaae016b225e775264008935cddef1564b07e66
Author: jan Iversen <jani at libreoffice.org>
Date:   Fri Mar 9 18:56:38 2018 +0100

    svx, compile error with !HAVE_FEATURE_DESKTOP
    
    solved unused parameter referer in case of !HAVE_FEATURE_DESKTOP
    
    Change-Id: I64e2707ad87822ba784ed40c45801c6d101e6386

diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 3f182ffefc82..d7f14d3676c5 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -580,6 +580,10 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInvent
     (void) referer;
 #endif
     SvxShape* pRet = nullptr;
+#if !HAVE_FEATURE_DESKTOP
+    (void)referer;
+#endif
+
     switch( nInventor )
     {
         case SdrInventor::E3d:


More information about the Libreoffice-commits mailing list