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

Noel Grandin noel at peralex.com
Tue Jun 21 11:01:24 UTC 2016


 oox/source/docprop/docprophandler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 46bf504e0384d7491b9543604e594228c64318a1
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Jun 21 12:59:50 2016 +0200

    simplify
    
    Change-Id: I67de532443cbb9e64bed67fe28ee94fef38f5eae

diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx
index b71c5ec..773a6e5 100644
--- a/oox/source/docprop/docprophandler.cxx
+++ b/oox/source/docprop/docprophandler.cxx
@@ -305,7 +305,7 @@ void SAL_CALL OOXMLDocPropHandler::startFastElement( ::sal_Int32 nElement, const
         if ( xAttribs.is() && xAttribs->hasAttribute( XML_name ) )
             m_aCustomPropertyName = xAttribs->getValue( XML_name );
     }
-    else if ( m_nState && m_nInBlock && m_nInBlock == 2 && getNamespace( nElement ) == NMSP_officeDocPropsVT )
+    else if ( m_nState && m_nInBlock == 2 && getNamespace( nElement ) == NMSP_officeDocPropsVT )
     {
         m_nType = nElement;
     }


More information about the Libreoffice-commits mailing list