diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index b5802d726994..3701957bc67a 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -364,7 +364,7 @@ void AnnotationManagerImpl::ExecuteAnnotation(SfxRequest& rReq ) case SID_REPLYTO_POSTIT: ExecuteReplyToAnnotation( rReq ); break; - case SID_SHOW_POSTIT: + case SID_TOGGLE_NOTES: ShowAnnotations( !mbShowAnnotations ); break; } @@ -752,7 +752,7 @@ void AnnotationManagerImpl::GetAnnotationState(SfxItemSet& rSet) if( bReadOnly || bWrongPageKind || (nCurrentODFVersion <= SvtSaveOptions::ODFVER_012) ) rSet.DisableItem( SID_INSERT_POSTIT ); - rSet.Put(SfxBoolItem(SID_SHOW_POSTIT, mbShowAnnotations)); + rSet.Put(SfxBoolItem(SID_TOGGLE_NOTES, mbShowAnnotations)); Reference< XAnnotation > xAnnotation; GetSelectedAnnotation( xAnnotation ); |