summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/TableConnectionData.hxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-12-12 16:33:31 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-12-12 16:37:26 +0100
commit058deb4a4c422dea78b9a39bd294b7b50965d10d (patch)
tree03550676a7f7b702050ac6054eaf8f34bc783169 /dbaccess/source/ui/inc/TableConnectionData.hxx
parent6e41b5204b9574046e34bd65a009c059b5a43743 (diff)
fdo#32958 join editor: remove empty lines
Change-Id: If150261bae55cf91c8a344f34c79194ad29db903
Diffstat (limited to 'dbaccess/source/ui/inc/TableConnectionData.hxx')
-rw-r--r--dbaccess/source/ui/inc/TableConnectionData.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/dbaccess/source/ui/inc/TableConnectionData.hxx b/dbaccess/source/ui/inc/TableConnectionData.hxx
index 4af28d8bdacd..400a8a7298e6 100644
--- a/dbaccess/source/ui/inc/TableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/TableConnectionData.hxx
@@ -77,8 +77,13 @@ namespace dbaui
void ResetConnLines();
/** moves the empty lines to the back
+ removes duplicated empty lines
+
+ caller is responsible for repainting them
+
+ @return infex of first changed line, or one-past-the-end if no change
*/
- void normalizeLines();
+ OConnectionLineDataVec::size_type normalizeLines();
const OConnectionLineDataVec* GetConnLineDataList() const { return &m_vConnLineData; }
OConnectionLineDataVec* GetConnLineDataList() { return &m_vConnLineData; }