From e86b07e292dc91d67a72a56e7cc15b8c2a9694a9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 19 Sep 2017 14:15:31 +0200 Subject: unused m_sUpdateTableName in OQueryController ever since commit 2106d8e648449d34b195068eef5f672a14ea64a8 Date: Sun Jun 10 21:51:19 2012 +0100 callcatcher: update unused code Change-Id: I88a13c5c414a86a82efc6883d2e1602199569dc9 --- dbaccess/source/ui/inc/querycontroller.hxx | 1 - dbaccess/source/ui/querydesign/querycontroller.cxx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/inc/querycontroller.hxx b/dbaccess/source/ui/inc/querycontroller.hxx index e0c6b452b81c..3817398ddaeb 100644 --- a/dbaccess/source/ui/inc/querycontroller.hxx +++ b/dbaccess/source/ui/inc/querycontroller.hxx @@ -72,7 +72,6 @@ namespace dbaui OUString m_sStatement; // contains the current sql statement OUString m_sUpdateCatalogName; // catalog for update data OUString m_sUpdateSchemaName; // schema for update data - OUString m_sUpdateTableName; // table for update data mutable OUString m_sName; // name of the query diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 1ab8782d4034..331147134f1a 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -1284,7 +1284,7 @@ void OQueryController::executeQuery() { PROPERTY_ACTIVE_CONNECTION, makeAny(getConnection()) }, { PROPERTY_UPDATE_CATALOGNAME, makeAny(m_sUpdateCatalogName) }, { PROPERTY_UPDATE_SCHEMANAME, makeAny(m_sUpdateSchemaName) }, - { PROPERTY_UPDATE_TABLENAME, makeAny(m_sUpdateTableName) }, + { PROPERTY_UPDATE_TABLENAME, makeAny(OUString()) }, { PROPERTY_ESCAPE_PROCESSING, makeAny(m_bEscapeProcessing) } })); @@ -1461,7 +1461,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs) if ( editingQuery() ) { - xQuery->setPropertyValue( PROPERTY_UPDATE_TABLENAME, makeAny( m_sUpdateTableName ) ); + xQuery->setPropertyValue( PROPERTY_UPDATE_TABLENAME, makeAny( OUString() ) ); xQuery->setPropertyValue( PROPERTY_ESCAPE_PROCESSING, css::uno::makeAny( m_bEscapeProcessing ) ); xQuery->setPropertyValue( PROPERTY_LAYOUTINFORMATION, getViewData() ); -- cgit