summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-12 21:12:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-13 09:49:18 +0000
commitb1cf29092494e59a59b4f8f5786a7617ed270073 (patch)
tree39c7a9effde843776411c1ee35dca3920757dcb1 /toolkit
parentf88473c56a718574e3cf45725f568cb4e1397aa4 (diff)
merge SetDescription into SetText
that way the display text always matches the link text Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindows.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 41774812a48e..aa69a69c7458 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2955,8 +2955,8 @@ void VCLXFixedHyperlink::setText( const ::rtl::OUString& Text ) throw(::com::sun
SolarMutexGuard aGuard;
FixedHyperlink* pBase = (FixedHyperlink*)GetWindow();
- if ( pBase )
- pBase->SetDescription( Text );
+ if (pBase)
+ pBase->SetText(Text);
}
::rtl::OUString VCLXFixedHyperlink::getText() throw(::com::sun::star::uno::RuntimeException)
@@ -3084,7 +3084,7 @@ void VCLXFixedHyperlink::setProperty( const ::rtl::OUString& PropertyName, const
{
::rtl::OUString sNewLabel;
if ( Value >>= sNewLabel )
- pBase->SetDescription( sNewLabel );
+ pBase->SetText(sNewLabel);
break;
}