diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 08:50:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 10:57:21 +0100 |
commit | a107bdfdfc1baf73f14055262d64bf616fc0a889 (patch) | |
tree | 2e4cbadd538f5e8d495fb8953a5a7939c8ab2bb5 /filter | |
parent | document the swap-on-free idiom usage (diff) | |
download | core-a107bdfdfc1baf73f14055262d64bf616fc0a889.tar.gz core-a107bdfdfc1baf73f14055262d64bf616fc0a889.zip |
ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertabdialog.cxx | 4 |
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 ) |