summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-18 08:50:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-18 10:57:21 +0100
commita107bdfdfc1baf73f14055262d64bf616fc0a889 (patch)
tree2e4cbadd538f5e8d495fb8953a5a7939c8ab2bb5 /filter
parent3b6091ca42cd2d9f230e7d81648c34f3d7085107 (diff)
ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltdialog/xmlfiltertabdialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.cxx b/filter/source/xsltdialog/xmlfiltertabdialog.cxx
index 2969b9555020..72b52189e573 100644
--- a/filter/source/xsltdialog/xmlfiltertabdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertabdialog.cxx
@@ -21,7 +21,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <tools/resid.hxx>
-#include <vcl/msgbox.hxx>
+#include <vcl/layout.hxx>
#include <osl/file.hxx>
#include "xmlfilterdialogstrings.hrc"
@@ -257,7 +257,7 @@ bool XMLFilterTabDialog::onOk()
aMessage = aMessage.replaceAll( "%s", aReplace1 );
}
- ErrorBox aBox(this, (WinBits)(WB_OK), aMessage );
+ MessageDialog aBox(this, aMessage);
aBox.Execute();
if( pFocusWindow )