summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-05 14:26:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-05 14:28:41 +0000
commitb3876e1dc9b05c7e0e02d7a03c372cc2600c7fad (patch)
treefc1bbf84bf093ff855d8c4c14c037bbaea5b270b /sc
parenta9b33fc3044c001a652865baf6fb870f04c91a96 (diff)
another use of the reverse Unique HelpId Hack
Change-Id: Ic2d84bc20abda1ad2417d4dfdbe8c8fb09a49efd
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index fdffac4dffaf..396cf36c03f9 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -668,10 +668,7 @@ ScRefHandler::ScRefHandler( Window &rWindow, SfxBindings* pB, bool bBindRef ):
pActiveWin(NULL)
{
m_aHelper.SetWindow(&m_rWindow);
- if(m_rWindow.GetHelpId().isEmpty()) //Hack, da im SfxModelessDialog die HelpId
- m_rWindow.SetHelpId(m_rWindow.GetUniqueId()); //fuer einen ModelessDialog entfernt und
- //in eine UniqueId gewandelt wird, machen
- //wir das an dieser Stelle rueckgaengig.
+ reverseUniqueHelpIdHack(m_rWindow);
aTimer.SetTimeout(200);
aTimer.SetTimeoutHdl(LINK( this, ScRefHandler, UpdateFocusHdl));