[Libreoffice-commits] core.git: writerfilter/source

Caolán McNamara caolanm at redhat.com
Mon Oct 7 08:43:31 PDT 2013


 writerfilter/source/dmapper/DomainMapper.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit dd10103f8c66713fc0ed7f9647625a6f8b2d96b4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Oct 7 16:41:21 2013 +0100

    CID#708773 missing break
    
    its the same result either way, but seeing as the assignment
    is duplicated might as well tidy it up
    
    Change-Id: Id64547c6a5d2ce58b1ee79ba64cb761575b2d1dd

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index b65c7a7..935f81f 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1293,8 +1293,11 @@ void DomainMapper::lcl_attribute(Id nName, Value & val)
                                     pParaContext->SetFrameMode(false);
                                 }
                                 nIntValue = text::VertOrientation::NONE;
+                                break;
                             }
-                            default:nIntValue = text::VertOrientation::NONE;
+                            default:
+                                nIntValue = text::VertOrientation::NONE;
+                                break;
                         }
                         pParaProperties->SetyAlign( nIntValue );
                     break;


More information about the Libreoffice-commits mailing list