summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-19 14:15:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-20 08:42:30 +0200
commite86b07e292dc91d67a72a56e7cc15b8c2a9694a9 (patch)
treee39344b2604658c7b463973e1d585bc86c82de94 /dbaccess
parenta0aff40f3e0c91aaae51802bca4b6b77f18ae848 (diff)
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
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/inc/querycontroller.hxx1
-rw-r--r--dbaccess/source/ui/querydesign/querycontroller.cxx4
2 files changed, 2 insertions, 3 deletions
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() );