[Libreoffice-commits] .: sw/source

Stephan Bergmann sbergman at redhat.com
Fri Feb 1 07:19:57 PST 2013


 sw/source/filter/xml/swxml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e8e263de89c4dce720a568f8132977e730bd682c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 1 16:17:41 2013 +0100

    -Wc++11-narrowing
    
    Change-Id: I044033ca41dea75dc438bc3989d067fc8e70b9fc

diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 76778b6..175372d 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -643,7 +643,7 @@ sal_uLong XMLReader::Read( SwDoc &rDoc, const String& rBaseURL, SwPaM &rPaM, con
         { "TextDocInOOoFileFormat", sizeof("TextDocInOOoFileFormat")-1, 0,
               &::getBooleanCppuType(),
               beans::PropertyAttribute::MAYBEVOID, 0 },
-        { "SourceStorage", strlen( "SourceStorage" ), 0, &embed::XStorage::static_type(),
+        { "SourceStorage", sizeof("SourceStorage")-1, 0, &embed::XStorage::static_type(),
           ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
         { NULL, 0, 0, NULL, 0, 0 }
     };


More information about the Libreoffice-commits mailing list