summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-28 15:14:11 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-28 15:14:11 +0100
commitce82146a6be87b239a0bde0b59fddf8865290b99 (patch)
treebdce5bc3ccd342e87b8e7416cdf2b426d3b80ecf /include/tools
parenta31991c4188e91326941fbe510ce70129d1ccde8 (diff)
parente8b97a52c96df9c8e8055407b1e40ed7cb9cfc67 (diff)
Merge remote-tracking branch 'origin/feature/vclptrmerge2'
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/errinf.hxx10
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();
};