update dev300-m58
[ooovba.git] / applied_patches / 0030-sw-graphic-save-problem.diff
blob28519997b3f7a67ba31c8679291d785c260c4393
1 Index: sw/source/core/graphic/ndgrf.cxx
2 ===================================================================
3 RCS file: /cvs/sw/sw/source/core/graphic/ndgrf.cxx,v
4 retrieving revision 1.33
5 diff -u -r1.33 ndgrf.cxx
6 --- sw/source/core/graphic/ndgrf.cxx
7 +++ sw/source/core/graphic/ndgrf.cxx
8 @@ -1138,6 +1149,10 @@
9 if( !aUserData.Len() )
10 return;
12 + if (aNewStrmName.Len()>0) {
13 + aUserData=aNewStrmName;
14 + }
16 String aProt( RTL_CONSTASCII_STRINGPARAM( "vnd.sun.star.Package:" ) );
17 if( 0 == aUserData.CompareTo( aProt, aProt.Len() ) )