summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-06 09:42:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-06 11:46:04 +0000
commit9b6b03542df7f6b0feecf60a13bab7e885ef3587 (patch)
treec18a6e2e2c423d69cb4ae83f80acdb48dea14b45 /sd
parentf120005ea41d59caf4b7d7f6017f3549d25b4287 (diff)
convert InfoBox to MessageDialog
Change-Id: Ic3a7b927c4eceb4f059e84d135b710f150ccfc3e
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/Outliner.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 00551dfc1aa2..3701a1e2a7b1 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -26,6 +26,7 @@
#include <vcl/outdev.hxx>
#include <svx/dlgutil.hxx>
#include <svx/xtable.hxx>
+#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/printer.hxx>
@@ -1102,15 +1103,13 @@ void Outliner::ShowEndOfSearchDialog (void)
// Show the message in an info box that is modal with respect to the
// whole application.
- InfoBox aInfoBox (NULL, aString);
+ MessageDialog aInfoBox(NULL, aString, VCL_MESSAGE_INFO);
+
ShowModalMessageBox (aInfoBox);
mbWholeDocumentProcessed = true;
}
-
-
-
bool Outliner::ShowWrapArroundDialog (void)
{
bool bDoWrapArround = false;