summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index b0252455b2f7..868254f60d79 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -736,10 +736,8 @@ IMPL_LINK( SmDistanceDialog, CheckBoxClickHdl, Button *, pCheckBox, void )
void SmDistanceDialog::SetHelpId(MetricField &rField, const OString& sHelpId)
{
- const OUString aEmptyText;
-
rField.SetHelpId(sHelpId);
- rField.SetHelpText(aEmptyText);
+ rField.SetHelpText("");
// since MetricField inherits from SpinField which has a sub Edit field
// (which is actually the one we modify) we have to set the help-id
@@ -748,7 +746,7 @@ void SmDistanceDialog::SetHelpId(MetricField &rField, const OString& sHelpId)
if (pSubEdit)
{
pSubEdit->SetHelpId(sHelpId);
- pSubEdit->SetHelpText(aEmptyText);
+ pSubEdit->SetHelpText("");
}
}