dbaccess/source/ui/browser/unodatbr.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 11ef5ee940b32641ae2697d0426e8a0108f2a858
Author: Stephan Bergmann <[email protected]>
Date:   Thu May 12 11:53:28 2016 +0200

    in non-debug build, leave sPath empty
    
    (avoid -Wimplicit-fallthrough with NDEBUG)
    
    Change-Id: I60332c4b05c805a7972189774283cdd518f77af0

diff --git a/dbaccess/source/ui/browser/unodatbr.cxx 
b/dbaccess/source/ui/browser/unodatbr.cxx
index f3979f2..19a3468 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -1201,12 +1201,12 @@ SvTreeListEntry* 
SbaTableQueryBrowser::getObjectEntry(const OUString& _rDataSour
                         nIndex = -1;
                         break;
 
-                    default:
-                        assert(false);
-                        // in non-debug builds, fall through.
                     case CommandType::QUERY:
                         sPath = _rCommand.getToken( 0, '/', nIndex );
                         break;
+
+                    default:
+                        assert(false);
                     }
                     pObject = 
m_pTreeView->getListBox().GetEntryPosByName(sPath, pCommandType);
                     pCommandType = pObject;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to