diff options
Diffstat (limited to 'sd/source/core/drawdoc3.cxx')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index e5533b874c80..c5b6fa911a7b 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -38,6 +38,7 @@ #include <svx/svdpagv.hxx> #include <svx/svdogrp.hxx> #include <svx/svdundo.hxx> +#include <vcl/layout.hxx> #include <vcl/msgbox.hxx> #include <sot/formats.hxx> @@ -239,7 +240,7 @@ SdDrawDocument* SdDrawDocument::OpenBookmarkDoc(SfxMedium& rMedium) if (!bOK) { - ErrorBox aErrorBox( NULL, (WinBits)WB_OK, SD_RESSTR(STR_READ_DATA_ERROR)); + MessageDialog aErrorBox(NULL, SD_RESSTR(STR_READ_DATA_ERROR)); aErrorBox.Execute(); CloseBookmarkDoc(); |