Kaydet (Commit) 61acb798 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

sw: fixed STL conversion from 1015cd4f

Bad integer cast made reserve throw an std::length_error exception

Change-Id: Iafdf859dd13e8b44ad61ee7e02eb11370f8260fb
üst 360c3e91
......@@ -2053,7 +2053,7 @@ void SwDoc::SetAllUniqueFlyNames()
if( 255 < ( n = GetSpzFrmFmts()->size() ))
n = 255;
SwFrmFmts aArr;
aArr.reserve( (sal_Int8)n );
aArr.reserve( n );
SwFrmFmt* pFlyFmt;
sal_Bool bLoadedFlag = sal_True; // something for the Layout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment