summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-12 11:53:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-12 11:53:28 +0200
commit11ef5ee940b32641ae2697d0426e8a0108f2a858 (patch)
tree10651c494c05506087a07bb7a67475949c164ec4 /dbaccess/source
parent94b361b0054dda1896f993e813950c6f120d8d86 (diff)
in non-debug build, leave sPath empty
(avoid -Wimplicit-fallthrough with NDEBUG) Change-Id: I60332c4b05c805a7972189774283cdd518f77af0
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index f3979f26e217..19a3468dd9c6 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;