diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-09-02 14:40:45 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-09-02 19:30:04 +0200 |
commit | 4d8a5ebdf9d2bef608a77559e93b5c543acfe6fd (patch) | |
tree | 373e66409c96ae216fcda4ba5f39164ff39c40b3 /sw/source/uibase | |
parent | 8fb5567dc05397e9b28b821b2d3ff2735ccdeb33 (diff) |
tdf#117835 Paste as Unformatted for comments in Writer
Change-Id: Ia96f8c51cc0a3898c1169454bd7c3031e08c45d4
Reviewed-on: https://gerrit.libreoffice.org/59906
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 19a513387e3f..9a519715a5c9 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -906,6 +906,10 @@ void SwAnnotationShell::ExecClpbrd(SfxRequest const &rReq) if (pPostItMgr->GetActiveSidebarWin()->GetLayoutStatus()!=SwPostItHelper::DELETED) pOLV->PasteSpecial(); break; + case SID_PASTE_UNFORMATTED: + if (pPostItMgr->GetActiveSidebarWin()->GetLayoutStatus()!=SwPostItHelper::DELETED) + pOLV->Paste(); + break; case SID_PASTE_SPECIAL: { if (pPostItMgr->GetActiveSidebarWin()->GetLayoutStatus()!=SwPostItHelper::DELETED) @@ -986,6 +990,7 @@ void SwAnnotationShell::StateClpbrd(SfxItemSet &rSet) break; } case SID_PASTE: + case SID_PASTE_UNFORMATTED: case SID_PASTE_SPECIAL: { if( !bPastePossible ) |