diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 13:05:17 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 13:37:02 +0100 |
commit | 788283383e93a646a397d9a14847128b354f18bb (patch) | |
tree | f8df6a9ef6c4f77571b90108a2fe61ecc3447ddb /dbaccess | |
parent | 14e3351b22789706e2360936433ebca062bed272 (diff) |
Remove unnecessary variable
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryDesignView.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 2b0fd2ce59e8..13ef270fc455 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -3283,7 +3283,6 @@ void OQueryDesignView::fillFunctionInfo( const ::connectivity::OSQLParseNode* p // get the type of the expression, as far as easily possible OQueryController& rController = static_cast<OQueryController&>(getController()); sal_Int32 nDataType = DataType::DOUBLE; - ::rtl::OUString sFieldName = sFunctionTerm; switch(pNode->getNodeType()) { case SQL_NODE_CONCAT: @@ -3585,7 +3584,7 @@ void OQueryDesignView::fillFunctionInfo( const ::connectivity::OSQLParseNode* p aInfo->SetDataType(nDataType); aInfo->SetFieldType(TAB_NORMAL_FIELD); - aInfo->SetField(sFieldName); + aInfo->SetField(sFunctionTerm); aInfo->SetTabWindow(NULL); } // ----------------------------------------------------------------------------- |