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

Stephan Bergmann sbergman at redhat.com
Fri Mar 9 12:38:28 UTC 2018


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

New commits:
commit c468b6910bf77e332647725da70e3cb248a9de0e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 9 13:37:57 2018 +0100

    -Werror,-Wunused-parameter (Android)
    
    Change-Id: Ib15218f1f3bc2867ca0e8daa50a2d4edad4a9d87

diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 4532749471d1..3f182ffefc82 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -576,6 +576,9 @@ void SvxDrawPage::GetTypeAndInventor( sal_uInt16& rType, SdrInventor& rInventor,
 
 SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInventor nInventor, SdrObject *pObj, SvxDrawPage *mpPage, OUString const & referer )
 {
+#if !HAVE_FEATURE_DESKTOP
+    (void) referer;
+#endif
     SvxShape* pRet = nullptr;
     switch( nInventor )
     {


More information about the Libreoffice-commits mailing list