From 6e4697e1e1c3e1c3a64dc0feecc1eb0b8dbe0308 Mon Sep 17 00:00:00 2001 From: jp Date: Tue, 30 Jan 2001 12:40:36 +0000 Subject: Copy-/PasteExchange now public methods --- svtools/source/urlobj/inetimg.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'svtools/source/urlobj') diff --git a/svtools/source/urlobj/inetimg.cxx b/svtools/source/urlobj/inetimg.cxx index a19cac29c1da..075f2da04346 100644 --- a/svtools/source/urlobj/inetimg.cxx +++ b/svtools/source/urlobj/inetimg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: inetimg.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:59:06 $ + * last change: $Author: jp $ $Date: 2001-01-30 13:40:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,15 +114,15 @@ String INetImage::CopyExchange() const //----------------------------------------------------------------------- -void INetImage::PasteExchange( String aString ) +void INetImage::PasteExchange( const String& rString ) { - USHORT nStart = 0; - aImageURL = aString.GetToken( 0, TOKEN_SEPARATOR, nStart ); - aTargetURL = aString.GetToken( 0, TOKEN_SEPARATOR, nStart ); - aTargetFrame = aString.GetToken( 0, TOKEN_SEPARATOR, nStart ); - aAlternateText = aString.GetToken( 0, TOKEN_SEPARATOR, nStart ); - aSizePixel.Width() = aString.GetToken( 0, TOKEN_SEPARATOR, nStart ).ToInt32(); - aSizePixel.Height() = aString.GetToken( 0, TOKEN_SEPARATOR, nStart ).ToInt32(); + xub_StrLen nStart = 0; + aImageURL = rString.GetToken( 0, TOKEN_SEPARATOR, nStart ); + aTargetURL = rString.GetToken( 0, TOKEN_SEPARATOR, nStart ); + aTargetFrame = rString.GetToken( 0, TOKEN_SEPARATOR, nStart ); + aAlternateText = rString.GetToken( 0, TOKEN_SEPARATOR, nStart ); + aSizePixel.Width() = rString.GetToken( 0, TOKEN_SEPARATOR, nStart ).ToInt32(); + aSizePixel.Height() = rString.GetToken( 0, TOKEN_SEPARATOR, nStart ).ToInt32(); } //----------------------------------------------------------------------- -- cgit