update ooo310-m15
[ooovba.git] / applied_patches / 0752-oox-fix-abs-relations.diff
blobe0b139c87efa3f2ef12f1f4fd50704dd7e4d48e4
1 --- /home/freuter/t35/ooo-build/build/ooo310-m7/oox/source/core/relations.cxx 2008-04-10 17:13:28.000000000 +0200
2 +++ oox/source/core/relations.cxx 2009-04-09 10:50:20.000000000 +0200
3 @@ -90,7 +90,7 @@
5 // absolute target, or empty fragment path -> return target
6 if( (rTarget[ 0 ] == cDirSep) || (maBasePath.getLength() == 0) )
7 - return rTarget;
8 + return rTarget.copy(1);
10 sal_Int32 nLastSepPos = maBasePath.lastIndexOf( cDirSep );
11 OUString aPath = (nLastSepPos < 0) ? maBasePath : maBasePath.copy( 0, nLastSepPos );