diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 12:25:19 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 12:25:19 +0000 |
commit | 710a553683cef16be38fa8ef35b1dc88fb607ba4 (patch) | |
tree | c521067803ad6a9cecd7e09ea66e8e15e975bba1 /sw/source/core/graphic | |
parent | c02b9a6ef81460f4062ff6b17e5002eb23368d19 (diff) |
INTEGRATION: CWS oasisbf2 (1.24.62); FILE MERGED
2004/11/02 17:15:20 mib 1.24.62.1: #i35133#: replacement image for embedded objects
Diffstat (limited to 'sw/source/core/graphic')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 023fdb1b8802..badc53507223 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ndgrf.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: kz $ $Date: 2004-10-04 19:07:45 $ + * last change: $Author: rt $ $Date: 2004-11-26 13:25:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1037,7 +1037,10 @@ BOOL SwGrfNode::GetStreamStorageNames( String& rStrmName, } else { - rStorName = aUserData.Copy( aProt.Len(), nPos-aProt.Len() ); + xub_StrLen nPathStart = aProt.Len(); + if( 0 == aUserData.CompareToAscii( "./", 2 ) ) + nPathStart += 2; + rStorName = aUserData.Copy( nPathStart, nPos-nPathStart ); rStrmName = aUserData.Copy( nPos+1 ); } } |