summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-08-29 12:17:29 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-08-29 12:17:29 +0000
commitd3f37934a1398a9ea922c20e0043700882e5cc06 (patch)
tree72ef64249fe70e476bdbf64c59ac45f35d81c877 /connectivity
parente7df24d141ead533b587a22f963e5b2b0feceb5f (diff)
#i93253# Avoid warning about unused parameter when building with '--disable-mozilla'. Patch by christianlins.
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
index 892c61df27..f115cf6a61 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
@@ -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 @@ void MozillaBootstrap::Init()
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 @@ Sequence< ::rtl::OUString > SAL_CALL MozillaBootstrap::getSupportedServiceNames(
#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 @@ Sequence< ::rtl::OUString > SAL_CALL MozillaBootstrap::getSupportedServiceNames(
#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 @@ Sequence< ::rtl::OUString > SAL_CALL MozillaBootstrap::getSupportedServiceNames(
return xRunnable.StartProxy(aCode);;
#else
+ (void)aCode; /* avoid warning about unused parameter */
return -1;
#endif
}