From bade0a1517245c6f57caf586de6c9c8bc49ed4b9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 May 2016 17:02:32 +0200 Subject: Add SAL_FALLTHROUGH, where apparently appropriate Change-Id: I0dccdf984f4b171feab20e8400376cf8846ffe2e --- jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jvmfwk/plugins') diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 90e813e351ec..f1d33b1313ee 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -300,6 +300,7 @@ FileHandleReader::readLine(OString * pLine) { case 0x0D: m_bLf = true; + SAL_FALLTHROUGH; case 0x0A: *pLine += OString(m_aBuffer + nStart, m_nIndex - 1 - nStart); @@ -360,6 +361,7 @@ void AsynchReader::execute() { case osl_File_E_PIPE: //HACK! for windows nRead = 0; + SAL_FALLTHROUGH; case osl_File_E_None: break; default: -- cgit