diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-26 12:26:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-26 12:44:48 +0000 |
commit | 07c584ad8ce44cc6fe098a177c8b07e6cfc7881e (patch) | |
tree | 62a0dc8ecaff0ac58c672d1f6ff52bddcf82b6fe /cui/source/dialogs/postdlg.cxx | |
parent | 217a0f0c2a920f5aef66a383e470258f5547f792 (diff) |
postit dialog is always used for redline comments now
Change-Id: Id3ec1c12c354aabf2556e91e4fa75d60bb2c0f3c
Diffstat (limited to 'cui/source/dialogs/postdlg.cxx')
-rw-r--r-- | cui/source/dialogs/postdlg.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx index 7fbf2e7d079a..cec8c014ebbc 100644 --- a/cui/source/dialogs/postdlg.cxx +++ b/cui/source/dialogs/postdlg.cxx @@ -41,7 +41,7 @@ // class SvxPostItDialog ------------------------------------------------- SvxPostItDialog::SvxPostItDialog(Window* pParent, const SfxItemSet& rCoreSet, - bool bPrevNext, bool bRedline) + bool bPrevNext) : SfxModalDialog(pParent, "CommentDialog", "cui/ui/comment.ui") , rSet(rCoreSet) , pOutSet(0) @@ -54,14 +54,6 @@ SvxPostItDialog::SvxPostItDialog(Window* pParent, const SfxItemSet& rCoreSet, get(m_pNextBtn, "next"); get(m_pEditED, "edit"); - if (bRedline) // HelpIDs for redlining - { - SetHelpId(HID_REDLINING_DLG); - m_pEditED->SetHelpId(HID_REDLINING_EDIT); - m_pPrevBtn->SetHelpId(HID_REDLINING_PREV); - m_pNextBtn->SetHelpId(HID_REDLINING_NEXT); - } - m_pPrevBtn->SetClickHdl( LINK( this, SvxPostItDialog, PrevHdl ) ); m_pNextBtn->SetClickHdl( LINK( this, SvxPostItDialog, NextHdl ) ); m_pAuthorBtn->SetClickHdl( LINK( this, SvxPostItDialog, Stamp ) ); |