summaryrefslogtreecommitdiff
path: root/svtools/source/urlobj
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-01-30 12:40:36 +0000
committerjp <jp@openoffice.org>2001-01-30 12:40:36 +0000
commit6e4697e1e1c3e1c3a64dc0feecc1eb0b8dbe0308 (patch)
tree75e9fe70475c0a526c16ccfb1db0d5496f69d567 /svtools/source/urlobj
parent80f34e1be667659e1e69eba59978128e605778e6 (diff)
Copy-/PasteExchange now public methods
Diffstat (limited to 'svtools/source/urlobj')
-rw-r--r--svtools/source/urlobj/inetimg.cxx20
1 files changed, 10 insertions, 10 deletions
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();
}
//-----------------------------------------------------------------------