summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-01 10:08:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-01 14:42:04 +0100
commit26bda9f4a82c9b1956a10e3dc52a99bc2f850ada (patch)
tree37766d78617725fdf87084cebb13a93111b35a6c /sd/source/ui/annotations
parent1680b036c5a9bf50b10580ee995f91ca6f873ef5 (diff)
convert message box return types to an enum
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 2153af4c2e7f..3a50ba4510d9 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -729,8 +729,8 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
// The dialog is made modal with respect to the whole application.
QueryBox aQuestionBox ( NULL, (WB_YES_NO | WB_DEF_YES), String(SdResId(nStringId)));
aQuestionBox.SetImage (QueryBox::GetStandardImage());
- sal_uInt16 nBoxResult = aQuestionBox.Execute();
- if(nBoxResult != BUTTONID_YES)
+ short nBoxResult = aQuestionBox.Execute();
+ if (nBoxResult != RET_YES)
break;
}
while( true );