diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-28 15:14:11 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-28 15:14:11 +0100 |
commit | ce82146a6be87b239a0bde0b59fddf8865290b99 (patch) | |
tree | bdce5bc3ccd342e87b8e7416cdf2b426d3b80ecf /include/tools | |
parent | a31991c4188e91326941fbe510ce70129d1ccde8 (diff) | |
parent | e8b97a52c96df9c8e8055407b1e40ed7cb9cfc67 (diff) |
Merge remote-tracking branch 'origin/feature/vclptrmerge2'
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/errinf.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/tools/errinf.hxx b/include/tools/errinf.hxx index a16b56a179f4..4a9f07a69d62 100644 --- a/include/tools/errinf.hxx +++ b/include/tools/errinf.hxx @@ -28,9 +28,11 @@ #include <tools/errcode.hxx> #include <tools/toolsdllapi.h> +// FIXME: horrible legacy dependency on VCL from tools. +namespace vcl { class Window; } + class EDcr_Impl; class ErrHdl_Impl; -namespace vcl { class Window; } class ErrorInfo { @@ -115,20 +117,20 @@ private: OUString aArg; }; +struct ErrorContextImpl; class TOOLS_DLLPUBLIC ErrorContext { friend class ErrorHandler; private: - ErrorContext* pNext; - vcl::Window* pWin; + ErrorContextImpl *pImpl; public: ErrorContext(vcl::Window *pWin=0); virtual ~ErrorContext(); virtual bool GetString( sal_uIntPtr nErrId, OUString& rCtxStr ) = 0; - vcl::Window* GetParent() { return pWin; } + vcl::Window* GetParent(); static ErrorContext* GetContext(); }; |