summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/sdi/drviewsh.sdi2
-rw-r--r--sd/sdi/grviewsh.sdi2
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/sdi/drviewsh.sdi b/sd/sdi/drviewsh.sdi
index 553843a144fb..174b919ccaaf 100644
--- a/sd/sdi/drviewsh.sdi
+++ b/sd/sdi/drviewsh.sdi
@@ -144,7 +144,7 @@ interface ImpressEditView : DrawView
ExecMethod = Execute ;
StateMethod = GetState ;
]
- SID_SHOW_POSTIT
+ SID_TOGGLE_NOTES
[
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
diff --git a/sd/sdi/grviewsh.sdi b/sd/sdi/grviewsh.sdi
index df765f3c62ee..f5d1642ac4ac 100644
--- a/sd/sdi/grviewsh.sdi
+++ b/sd/sdi/grviewsh.sdi
@@ -39,7 +39,7 @@ shell GraphicViewShell
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
]
- SID_SHOW_POSTIT
+ SID_TOGGLE_NOTES
[
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
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 );