diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-10-31 21:18:24 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-10-31 21:18:24 +0100 |
commit | 7edb1da8c566c8c17b6bf9dd4f88101c14a07df8 (patch) | |
tree | 8cd098bc13c07811e17af668652fa5efc7c546e6 /dbaccess/source/ui/app/AppController.cxx | |
parent | rhbz#657394: crash closing document while printing (diff) | |
download | core-7edb1da8c566c8c17b6bf9dd4f88101c14a07df8.tar.gz core-7edb1da8c566c8c17b6bf9dd4f88101c14a07df8.zip |
move CloseVeto from dbaccess to unotools
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index e02e1874f400..e530eae10acb 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -33,7 +33,6 @@ #include "dbustrings.hrc" #include "advancedsettingsdlg.hxx" #include "subcomponentmanager.hxx" -#include "closeveto.hxx" /** === begin UNO includes === **/ #include <com/sun/star/beans/NamedValue.hpp> @@ -104,6 +103,7 @@ #include <vcl/menu.hxx> #include <vcl/lstbox.hxx> +#include <unotools/closeveto.hxx> #include <unotools/pathoptions.hxx> #include <unotools/tempfile.hxx> #include <unotools/internaloptions.hxx> @@ -1962,7 +1962,7 @@ IMPL_LINK( OApplicationController, OnCreateWithPilot, void*, _pType ) // ----------------------------------------------------------------------------- void OApplicationController::newElementWithPilot( ElementType _eType ) { - CloseVeto aKeepDoc( getFrame() ); + utl::CloseVeto aKeepDoc( getFrame() ); // prevent the document being closed while the wizard is open OSL_ENSURE( getContainer(), "OApplicationController::newElementWithPilot: without a view?" ); |