diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-11 11:34:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-12 10:04:52 +0100 |
commit | 4d807017749855281f1268ac477b780befbcad9e (patch) | |
tree | 8bd88be3e914182430c9eec3f09532cbea20f25c /include/svx/fmtools.hxx | |
parent | 32b7c32aa84dc51d3acd75bde5db7655868e5ad9 (diff) |
transport error dialog parent as awt::XWindow earlier
Change-Id: Idfc6ffdb31d28316886800eed12ac46c1dbcc191
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112336
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/fmtools.hxx')
-rw-r--r-- | include/svx/fmtools.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index 97d6fcff0d05..5ed09267aac7 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -33,6 +33,7 @@ #include <o3tl/sorted_vector.hxx> #include <set> +namespace com::sun::star::awt { class XWindow; } namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::container { class XIndexAccess; } namespace com::sun::star::container { class XNameAccess; } @@ -42,17 +43,16 @@ namespace com::sun::star::sdbc { class SQLException; } namespace com::sun::star::sdbc { class XRowSet; } namespace com::sun::star::sdb { class SQLContext; } namespace com::sun::star::sdb { struct SQLErrorEvent; } -namespace vcl { class Window; } // common types // displaying a database exception for the user // display info about a simple css::sdbc::SQLException -void displayException(const css::sdbc::SQLException&, vcl::Window* _pParent); -SVXCORE_DLLPUBLIC void displayException(const css::sdb::SQLContext&, vcl::Window* _pParent); -void displayException(const css::sdb::SQLErrorEvent&, vcl::Window* _pParent); -void displayException(const css::uno::Any&, vcl::Window* _pParent); +void displayException(const css::sdbc::SQLException&, const css::uno::Reference<css::awt::XWindow>& rParent); +SVXCORE_DLLPUBLIC void displayException(const css::sdb::SQLContext&, const css::uno::Reference<css::awt::XWindow>& rParent); +void displayException(const css::sdb::SQLErrorEvent&, const css::uno::Reference<css::awt::XWindow>& rParent); +void displayException(const css::uno::Any&, const css::uno::Reference<css::awt::XWindow>& rParent); sal_Int32 getElementPos(const css::uno::Reference< css::container::XIndexAccess>& xCont, const css::uno::Reference< css::uno::XInterface>& xElement); |