diff options
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/screenshotannotationdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/screenshotannotationdlg.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index e567944d226c..de5ad381799c 100644 --- a/cui/source/dialogs/screenshotannotationdlg.cxx +++ b/cui/source/dialogs/screenshotannotationdlg.cxx @@ -638,7 +638,7 @@ IMPL_LINK(ScreenshotAnnotationDlg_Impl, pictureFrameListener, VclWindowEvent&, r ScreenshotAnnotationDlg::ScreenshotAnnotationDlg( vcl::Window* pParent, Dialog& rParentDialog) -: SfxModalDialog(pParent, "ScreenshotAnnotationDialog", "cui/ui/screenshotannotationdialog.ui") +: ModalDialog(pParent, "ScreenshotAnnotationDialog", "cui/ui/screenshotannotationdialog.ui") { m_pImpl.reset(new ScreenshotAnnotationDlg_Impl(*this, rParentDialog)); } diff --git a/cui/source/inc/screenshotannotationdlg.hxx b/cui/source/inc/screenshotannotationdlg.hxx index eaae2586bcb3..ac9e0edc564f 100644 --- a/cui/source/inc/screenshotannotationdlg.hxx +++ b/cui/source/inc/screenshotannotationdlg.hxx @@ -19,12 +19,12 @@ #ifndef INCLUDED_CUI_SOURCE_INC_SCREENSHANNDLG_HXX #define INCLUDED_CUI_SOURCE_INC_SCREENSHANNDLG_HXX -#include <sfx2/basedlgs.hxx> +#include <vcl/dialog.hxx> #include <memory> class ScreenshotAnnotationDlg_Impl; -class ScreenshotAnnotationDlg : public SfxModalDialog +class ScreenshotAnnotationDlg : public ModalDialog { private: std::unique_ptr< ScreenshotAnnotationDlg_Impl > m_pImpl; |