diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-22 14:24:25 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-22 14:24:25 +0000 |
commit | 84cb31fecd1de21b783898704befb891cc2d4ba4 (patch) | |
tree | d498c33d106e062cf11204a0f2ec7a988f314565 /svtools/source/control/fixedhyper.cxx | |
parent | INTEGRATION: CWS jl76 (1.2.138); FILE MERGED (diff) | |
download | core-84cb31fecd1de21b783898704befb891cc2d4ba4.tar.gz core-84cb31fecd1de21b783898704befb891cc2d4ba4.zip |
INTEGRATION: CWS jl76 (1.3.120); FILE MERGED
2007/11/02 08:45:40 pb 1.3.120.1: fix: #i81502# Set/GetURL(), SetDescription() added
Diffstat (limited to 'svtools/source/control/fixedhyper.cxx')
-rw-r--r-- | svtools/source/control/fixedhyper.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/svtools/source/control/fixedhyper.cxx b/svtools/source/control/fixedhyper.cxx index 699aa612f522..b4abb622423c 100644 --- a/svtools/source/control/fixedhyper.cxx +++ b/svtools/source/control/fixedhyper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fixedhyper.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2007-06-29 12:11:36 $ + * last change: $Author: ihi $ $Date: 2007-11-22 15:24:25 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -128,6 +128,18 @@ void FixedHyperlink::KeyInput( const KeyEvent& rKEvt ) } } +void FixedHyperlink::SetURL( const String& rNewURL ) +{ + m_sURL = rNewURL; + SetQuickHelpText( m_sURL ); +} + +void FixedHyperlink::SetDescription( const String& rNewDescription ) +{ + SetText( rNewDescription ); + m_nTextLen = GetCtrlTextWidth( GetText() ); +} + //......................................................................... } // namespace svt //......................................................................... |