dbaccess/source/ui/querydesign/QueryDesignView.cxx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
New commits: commit 63614919195934a764eacb509d75d15f8b243a48 Author: Lionel Elie Mamane <[email protected]> Date: Sun Dec 2 18:55:44 2012 +0100 WaE: explicitly do nothing when nothing needs to be done Removes compiler warning Change-Id: Ied96ef294f25cca54887ca6a86ec07ecb2b1fae0 diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 8ba3912..816991a 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -463,12 +463,15 @@ namespace OQueryTableConnectionData data(*pData); switch (data.GetJoinType()) { - case LEFT_JOIN: - data.SetJoinType(RIGHT_JOIN); - break; - case RIGHT_JOIN: - data.SetJoinType(LEFT_JOIN); - break; + case LEFT_JOIN: + data.SetJoinType(RIGHT_JOIN); + break; + case RIGHT_JOIN: + data.SetJoinType(LEFT_JOIN); + break; + default: + // the other join types are symmetric, so nothing to change + break; } return BuildJoin(_xConnection, rRh, BuildTable(_xConnection,pLh), &data); } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
