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

Michael Stahl mstahl at redhat.com
Fri Dec 13 08:10:51 PST 2013


 writerfilter/source/ooxml/OOXMLDocumentImpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d785fa16fdd39b1f78e35b61ba09f65933dee86b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Dec 13 17:06:37 2013 +0100

    warning C4701: potentially uninitialized local variable
    
    Change-Id: I05c5eaf4575dc4b8c8d4e3c45d644a51aab84f0a

diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 92a4057..a746dbf 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -563,7 +563,7 @@ void OOXMLDocumentImpl::resolveGlossaryStream(Stream & /*rStream*/)
               OUString gTarget(aSeq[2].Second);
               OUString contentType;
 
-              OOXMLStream::StreamType_t nType;
+              OOXMLStream::StreamType_t nType(OOXMLStream::UNKNOWN);
               bool bFound = true;
               if(gType.compareTo(sSettingsType) == 0)
               {


More information about the Libreoffice-commits mailing list