summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-01-19 17:14:01 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-01-19 17:16:33 +0100
commit8ab3715d8e622d06cfaa404842de2d9f8ea66ef5 (patch)
tree18918eb078e170087eb0ebd1f722146588346731 /lotuswordpro
parent558aebe27b92eab29456e510d98347083118e8cf (diff)
Again Fix others Consecutive return, break
Change-Id: I67a453bb09b794c996f5f02a065abe8cef6ca3b6
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpborderstuff.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/lotuswordpro/source/filter/lwpborderstuff.cxx b/lotuswordpro/source/filter/lwpborderstuff.cxx
index 89f4062f5a5e..69591b4af0e3 100644
--- a/lotuswordpro/source/filter/lwpborderstuff.cxx
+++ b/lotuswordpro/source/filter/lwpborderstuff.cxx
@@ -167,16 +167,12 @@ sal_uInt16 LwpBorderStuff::GetSideType(sal_uInt16 side)
{
case LEFT:
return m_nBoderGroupIDLeft;
- break;
case RIGHT:
return m_nBoderGroupIDRight;
- break;
case TOP:
return m_nBoderGroupIDTop;
- break;
case BOTTOM:
return m_nBoderGroupIDBottom;
- 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
@@ -189,16 +185,12 @@ LwpColor LwpBorderStuff::GetSideColor(sal_uInt16 side)
{
case LEFT:
return m_aColorLeft;
- break;
case RIGHT:
return m_aColorRight;
- break;
case TOP:
return m_aColorTop;
- break;
case BOTTOM:
return m_aColorBottom;
- 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
@@ -211,16 +203,12 @@ float LwpBorderStuff::GetSideWidth(sal_uInt16 side)
{
case LEFT:
return LwpTools::ConvertToMetric(LwpTools::ConvertFromUnits(m_nWidthLeft));
- break;
case RIGHT:
return LwpTools::ConvertToMetric(LwpTools::ConvertFromUnits(m_nWidthRight));
- break;
case TOP:
return LwpTools::ConvertToMetric(LwpTools::ConvertFromUnits(m_nWidthTop));
- break;
case BOTTOM:
return LwpTools::ConvertToMetric(LwpTools::ConvertFromUnits(m_nWidthBottom));
- 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