diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-23 11:20:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-23 14:11:39 +0300 |
commit | 827c46e7d75000cb03b0ce21759f9d0825f0c096 (patch) | |
tree | 3a84ccc45d54607c61328b18f58f914c1d6ec240 /include/svx/fmtools.hxx | |
parent | 7cbbefae224ab85343accb42b03f9431ec693a83 (diff) |
fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.
Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
Diffstat (limited to 'include/svx/fmtools.hxx')
-rw-r--r-- | include/svx/fmtools.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index 946599ec8107..61edca34e54b 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -70,18 +70,18 @@ #include <set> -class Window; +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&, Window* _pParent = NULL); -void displayException(const css::sdbc::SQLWarning&, Window* _pParent = NULL); -SVX_DLLPUBLIC void displayException(const css::sdb::SQLContext&, Window* _pParent = NULL); -void displayException(const css::sdb::SQLErrorEvent&, Window* _pParent = NULL); -void displayException(const css::uno::Any&, Window* _pParent = NULL); +void displayException(const css::sdbc::SQLException&, vcl::Window* _pParent = NULL); +void displayException(const css::sdbc::SQLWarning&, vcl::Window* _pParent = NULL); +SVX_DLLPUBLIC void displayException(const css::sdb::SQLContext&, vcl::Window* _pParent = NULL); +void displayException(const css::sdb::SQLErrorEvent&, vcl::Window* _pParent = NULL); +void displayException(const css::uno::Any&, vcl::Window* _pParent = NULL); sal_Int32 getElementPos(const css::uno::Reference< css::container::XIndexAccess>& xCont, const css::uno::Reference< css::uno::XInterface>& xElement); |