summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/AnnotationMenuButton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/AnnotationMenuButton.cxx')
-rw-r--r--sw/source/uibase/docvw/AnnotationMenuButton.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/AnnotationMenuButton.cxx b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
index 51a7d809d7cc..c8996bdc3554 100644
--- a/sw/source/uibase/docvw/AnnotationMenuButton.cxx
+++ b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
@@ -102,7 +102,7 @@ void AnnotationMenuButton::MouseButtonDown( const MouseEvent& rMEvt )
if (mrSidebarWin.IsProtected())
{
- pButtonPopup->EnableItem(FN_REPLY, false);
+ pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply"), false);
}
else
{
@@ -118,11 +118,11 @@ void AnnotationMenuButton::MouseButtonDown( const MouseEvent& rMEvt )
// do not allow to reply to ourself and no answer possible if this note is in a protected section
if (sAuthor == mrSidebarWin.GetAuthor())
{
- pButtonPopup->EnableItem(FN_REPLY, false);
+ pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply"), false);
}
else
{
- pButtonPopup->EnableItem(FN_REPLY);
+ pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply"));
}
}