summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen4.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-10 14:49:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-10 14:57:26 +0200
commit0f3ac23d732239b50207cfbb8cf810ef41fa9835 (patch)
treea338a71c043dfa71e9de3c6cdc5b239b5f4b04a3 /sc/source/core/data/documen4.cxx
parent356cef643585469d17232543e4cb98ee4f3c225b (diff)
Insert explicit "break" when falling through to empty next case
...which itself only contains a "break" (or nothing at all at the end of the "switch"), as otherwise Clang -Wimplicit-fallthrough would warn about these. Change-Id: I25c1cf2ca74dfeba7ca0385ca8f1c1bf30bbf91b
Diffstat (limited to 'sc/source/core/data/documen4.cxx')
-rw-r--r--sc/source/core/data/documen4.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index 11fba58d7d81..3f91377c7d02 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -461,8 +461,9 @@ bool setCacheTableReferenced(formula::FormulaToken& rToken, ScExternalRefManager
* have to be marked as well, if so. Mechanism would be
* different. */
OSL_FAIL("ScDocument::MarkUsedExternalReferences: implement the svExternalName case!");
+ break;
default:
- ;
+ break;
}
return false;
}