[PATCH] making sure the scanwin doesn't give a new warning
Rob Snelders
programming at ertai.nl
Thu Oct 20 11:34:10 PDT 2011
---
extensions/source/scanner/scanunx.cxx | 2 +-
extensions/source/scanner/scanwin.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx
index efa2a28..342f011 100644
--- a/extensions/source/scanner/scanunx.cxx
+++ b/extensions/source/scanner/scanunx.cxx
@@ -304,7 +304,7 @@ sal_Bool ScannerManager::configureScannerAndScan( ScannerContext& scanner_contex
);
pHolder->m_bBusy = true;
- SaneDlg aDlg( NULL, pHolder->m_aSane, istener.is() );
+ SaneDlg aDlg( NULL, pHolder->m_aSane, listener.is() );
sal_Bool bRet = (sal_Bool)aDlg.Execute();
bool bScan = aDlg.getDoScan();
pHolder->m_bBusy = false;
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx
index a57b1c8..7a7c86b 100644
--- a/extensions/source/scanner/scanwin.cxx
+++ b/extensions/source/scanner/scanwin.cxx
@@ -1004,7 +1004,7 @@ SEQ( ScannerContext ) SAL_CALL ScannerManager::getAvailableScanners() throw()
// -----------------------------------------------------------------------------
-sal_Bool SAL_CALL ScannerManager::configureScannerAndScan( ScannerContext& rContext, const uno::Reference< lang::XEventListener >& rxListener )
+sal_Bool SAL_CALL ScannerManager::configureScannerAndScan( ScannerContext& rContext, const uno::Reference< lang::XEventListener >& )
throw( ScannerException )
{
osl::MutexGuard aGuard( maProtector );
--
1.7.0.4
--------------060900050307000006040702--
More information about the LibreOffice
mailing list