summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-12-23 15:15:36 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-12-23 15:31:04 +0100
commit68aecf0dd81b6660e78e8dd758ec9431727f4f0b (patch)
treeb59c2483d92a2a81dbd8523f795c53eb68818448 /dbaccess
parent66b338b4f9fa13f69e69a8c0e8a3ea06e49fd764 (diff)
remove unused variables [-Werror,-Wunused-private-field]
Change-Id: I3cb08dd52c5a34be6585ac9fc0c4b6bb04b6ae8c
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx2
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 13b59603bf2a..f0bccc505f42 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -619,7 +619,6 @@ SbaXDataBrowserController::SbaXDataBrowserController(const Reference< ::com::sun
,m_sStateUndoRecord(ModuleRes(RID_STR_UNDO_MODIFY_RECORD))
,m_sModuleIdentifier( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sdb.DataSourceBrowser" ) ) )
,m_pFormControllerImpl(NULL)
- ,m_nPendingLoadFinished(0)
,m_nFormActionNestingLevel(0)
,m_bLoadCanceled( sal_False )
,m_bCannotSelectUnfiltered( true )
@@ -1293,7 +1292,6 @@ void SbaXDataBrowserController::elementReplaced(const ::com::sun::star::containe
sal_Bool SbaXDataBrowserController::suspend(sal_Bool /*bSuspend*/) throw( RuntimeException )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaui", "Ocke.Janssen@sun.com", "SbaXDataBrowserController::suspend" );
- OSL_ENSURE(m_nPendingLoadFinished == 0, "SbaXDataBrowserController::suspend : there shouldn't be a pending load !");
m_aAsyncGetCellFocus.CancelCall();
m_aAsyncDisplayError.CancelCall();
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index 27df5e66050b..4563d971b492 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -111,7 +111,6 @@ namespace dbaui
// members for asynchronous load operations
FormControllerImpl* m_pFormControllerImpl; // implementing the XFormController
- sal_uLong m_nPendingLoadFinished; // the event used to tell ourself that the load is finished
sal_uInt16 m_nFormActionNestingLevel; // see enter-/leaveFormAction
sal_Bool m_bLoadCanceled : 1; // the load was canceled somehow