diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-01-19 16:55:22 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-01-19 17:16:33 +0100 |
commit | 259af2832e953adfde2b4439d4f18ea316e5b078 (patch) | |
tree | 5d944008d8efebeacdc612418615364d27414dde /lotuswordpro | |
parent | 55786395b56e365cb0d6663f4d375b37aaf79228 (diff) |
Fix Consecutive return, break
Change-Id: I7e7586f430b4c33d4bdc786622fcf3680021d517
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpmargins.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpmargins.hxx b/lotuswordpro/source/filter/lwpmargins.hxx index 6dad47231094..e733f58fb751 100644 --- a/lotuswordpro/source/filter/lwpmargins.hxx +++ b/lotuswordpro/source/filter/lwpmargins.hxx @@ -101,16 +101,12 @@ inline double LwpMargins::GetMarginsValue(const sal_uInt8& nWhichSide) { case MARGIN_LEFT://left return LwpTools::ConvertFromUnitsToMetric(m_nLeft); - break; case MARGIN_RIGHT://right return LwpTools::ConvertFromUnitsToMetric(m_nRight); - break; case MARGIN_TOP://top return LwpTools::ConvertFromUnitsToMetric(m_nTop); - break; case MARGIN_BOTTOM://bottom return LwpTools::ConvertFromUnitsToMetric(m_nBottom); - break; } // FIXME: this is needed to avoid warning: control reaches end of non-void function // a better solution would be to enum value for the parameter side |