diff options
-rw-r--r-- | dbaccess/source/ui/dlg/dlgsave.cxx | 8 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dlgsave.hxx | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx b/dbaccess/source/ui/dlg/dlgsave.cxx index 9aeecae139ed..23f6dbe373e4 100644 --- a/dbaccess/source/ui/dlg/dlgsave.cxx +++ b/dbaccess/source/ui/dlg/dlgsave.cxx @@ -84,8 +84,6 @@ OSaveAsDlg::OSaveAsDlg( weld::Window * pParent, SADFlags _nFlags) : GenericDialogController(pParent, "dbaccess/ui/savedialog.ui", "SaveDialog") , m_xContext( _rxContext ) - , m_aQryLabel(DBA_RES(STR_QRY_LABEL)) - , m_sTblLabel(DBA_RES(STR_TBL_LABEL)) , m_aName(rDefault) , m_rObjectNameCheck( _rObjectNameCheck ) , m_nType(_rType) @@ -115,13 +113,13 @@ OSaveAsDlg::OSaveAsDlg( weld::Window * pParent, switch (_rType) { case CommandType::QUERY: - implInitOnlyTitle(m_aQryLabel); + implInitOnlyTitle(DBA_RES(STR_QRY_LABEL)); break; case CommandType::TABLE: OSL_ENSURE( m_xMetaData.is(), "OSaveAsDlg::OSaveAsDlg: no meta data for entering table names: this will crash!" ); { - m_xLabel->set_label(m_sTblLabel); + m_xLabel->set_label(DBA_RES(STR_TBL_LABEL)); if(m_xMetaData.is() && !m_xMetaData->supportsCatalogsInTableDefinitions()) { m_xCatalogLbl->hide(); m_xCatalog->hide(); @@ -191,8 +189,6 @@ OSaveAsDlg::OSaveAsDlg(weld::Window * pParent, SADFlags _nFlags) : GenericDialogController(pParent, "dbaccess/ui/savedialog.ui", "SaveDialog") , m_xContext( _rxContext ) - , m_aQryLabel(DBA_RES(STR_QRY_LABEL)) - , m_sTblLabel(DBA_RES(STR_TBL_LABEL)) , m_aName(rDefault) , m_rObjectNameCheck( _rObjectNameCheck ) , m_nType(CommandType::COMMAND) diff --git a/dbaccess/source/ui/inc/dlgsave.hxx b/dbaccess/source/ui/inc/dlgsave.hxx index c5bc9d8037e1..f3b33a278500 100644 --- a/dbaccess/source/ui/inc/dlgsave.hxx +++ b/dbaccess/source/ui/inc/dlgsave.hxx @@ -49,8 +49,6 @@ namespace dbaui { private: css::uno::Reference< css::uno::XComponentContext > m_xContext; - OUString m_aQryLabel; - OUString m_sTblLabel; OUString m_aName; const IObjectNameCheck& m_rObjectNameCheck; css::uno::Reference< css::sdbc::XDatabaseMetaData> m_xMetaData; |