summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-01 16:17:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-01 16:19:33 +0100
commite8e263de89c4dce720a568f8132977e730bd682c (patch)
treeb2311880f724425d798ba50d9620a93e8b361d3c
parenttemporarily disable the xmloff/vcl dependency (diff)
downloadcore-e8e263de89c4dce720a568f8132977e730bd682c.tar.gz
core-e8e263de89c4dce720a568f8132977e730bd682c.zip
-Wc++11-narrowing
Change-Id: I044033ca41dea75dc438bc3989d067fc8e70b9fc
-rw-r--r--sw/source/filter/xml/swxml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 76778b6787c3..175372d85df5 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 }
};