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

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 8 12:03:06 UTC 2020


 svx/source/unodraw/unopage.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 5f03eb4e6dd11f65e16a1bb8aa46a7ae18379160
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Wed Apr 8 12:51:41 2020 +0200
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Apr 8 14:02:29 2020 +0200

    svx: Drop duplicate fix for unused parameter
    
    It looks like the two commits
    c468b6910bf77e332647725da70e3cb248a9de0e
    ("-Werror,-Wunused-parameter (Android)") and
    bfaae016b225e775264008935cddef1564b07e66
    ("svx, compile error with !HAVE_FEATURE_DESKTOP")
    were submitted independently on 2019-03-09 with just
    a few hours in between, and thus this has been
    added twice...
    
    Change-Id: Ic930eaba65adda9c210a1d3e376136095ee062db
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91885
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index e59afceef7cf..f80f92e77f56 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -615,9 +615,6 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInvent
     (void) referer;
 #endif
     SvxShape* pRet = nullptr;
-#if !HAVE_FEATURE_DESKTOP
-    (void)referer;
-#endif
 
     switch( nInventor )
     {


More information about the Libreoffice-commits mailing list