User: rt Date: 2008-08-29 13:17:32+0000 Modified: dba/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
Log: #i93253# Avoid warning about unused parameter when building with '--disable-mozilla'. Patch by christianlins. File Changes: Directory: /dba/connectivity/source/drivers/mozab/bootstrap/ ============================================================ File [changed]: MMozillaBootstrap.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx?r1=1.7&r2=1.8 Delta lines: +9 -2 ------------------- --- MMozillaBootstrap.cxx 2008-08-18 13:09:10+0000 1.7 +++ MMozillaBootstrap.cxx 2008-08-29 13:17:29+0000 1.8 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: MMozillaBootstrap.cxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.8 $ * * This file is part of OpenOffice.org. * @@ -80,6 +80,8 @@ MNS_Init(aProfileExists); m_ProfileManager = new ProfileManager(); +#else + (void)aProfileExists; /* avoid warning about unused parameter */ #endif m_ProfileAccess = new ProfileAccess(); bootupProfile(::com::sun::star::mozilla::MozillaProductType_Mozilla,rtl::OUString()); @@ -165,6 +167,8 @@ #ifndef MINIMAL_PROFILEDISCOVER return m_ProfileManager->bootupProfile(product,profileName); #else + (void)product; /* avoid warning about unused parameter */ + (void)profileName; /* avoid warning about unused parameter */ return -1; #endif } @@ -205,6 +209,8 @@ #ifndef MINIMAL_PROFILEDISCOVER return m_ProfileManager->setCurrentProfile(product,profileName); #else + (void)product; /* avoid warning about unused parameter */ + (void)profileName; /* avoid warning about unused parameter */ return ::rtl::OUString(); #endif } @@ -225,6 +231,7 @@ return xRunnable.StartProxy(aCode);; #else + (void)aCode; /* avoid warning about unused parameter */ return -1; #endif } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
