Update ooo320-m1
[ooovba.git] / applied_patches / 0398-svg-import-viewbox-fix.diff
blobddf7cca0638ecaec7d65f652a9f99cb80b782a67
1 diff -urN ../filter/source/svg/parserfragments.cxx ../current/filter/source/svg/parserfragments.cxx
2 --- filter/source/svg/parserfragments.cxx 2008-07-29 01:07:05.000000000 +0200
3 +++ filter/source/svg/parserfragments.cxx 2008-07-29 00:36:24.000000000 +0200
4 @@ -510,7 +510,8 @@
5 list_p.direct
7 real_p[push_back_a(rOutputVector)],
8 - ','
9 + // list delimiter is either ',' or space
10 + ',' | eps_p
12 ) >> end_p,
13 // End grammar
14 --- filter/source/svg/svgreader.cxx 2008-07-29 01:07:24.000000000 +0200
15 +++ filter/source/svg/svgreader.cxx 2008-07-29 00:58:39.000000000 +0200
16 @@ -254,6 +254,7 @@
17 // init state. inherit defaults from parent.
18 maCurrState = maParentStates.back();
19 maCurrState.maTransform.identity();
20 + maCurrState.maViewBox.reset();
22 // scan for style info
23 const sal_Int32 nNumAttrs( xAttributes->getLength() );