diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 11:48:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 12:22:52 +0100 |
commit | 94af3da7e11e82c4ed2d59655e246b5201c18709 (patch) | |
tree | a5c07d6b7d0d9420722b4112dc36820fea11a81c /sfx2 | |
parent | 6dc8f25ecf676a2e4d1a1018b729fef4096df8e7 (diff) |
rename and explain the MENUBUTTON_MENUMODE_TIMED stuff
Change-Id: Ifc6ddfb0cc249e537c01f28bab84b42c6b1577d9
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 67738f454499..5ba36412e997 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -262,8 +262,8 @@ void BackingWindow::initControls() mpLocalView->SetStyle( mpLocalView->GetStyle() | WB_VSCROLL); mpLocalView->Hide(); - mpTemplateButton->SetMenuMode( MENUBUTTON_MENUMODE_TIMED ); - mpRecentButton->SetMenuMode( MENUBUTTON_MENUMODE_TIMED ); + mpTemplateButton->SetDelayMenu(true); + mpRecentButton->SetDelayMenu(true); //set handlers mpLocalView->setCreateContextMenuHdl(LINK(this, BackingWindow, CreateContextMenuHdl)); |