diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-12 21:41:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-13 20:31:17 +0100 |
commit | c1c152f0e47407b2b327839e8b31601ea7423ddf (patch) | |
tree | 2f9b1eea2cbb1b5180db72a352380986115b380d /include | |
parent | fe1ddbe3f20bcce6f600c0831b35f42b8d9a7e90 (diff) |
coverity#1213522 Uncaught exception
and a gadzillion more
refactor to avoid slicing catch and rethrow
Change-Id: I5c05d1c151b81ff481eff8cd7544db9838143c71
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/window.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 2fd43a1dc2ce..b24e9339241a 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -316,6 +316,7 @@ const char* ImplDbgCheckWindow( const void* pObj ); class Dialog; class WindowImpl; +class PaintHelper; class VclBuilder; class VclSizeGroup; @@ -343,6 +344,7 @@ class VCL_DLLPUBLIC Window : public OutputDevice, public Resource friend class SystemChildWindow; friend class ImplBorderWindow; friend class VclBuilder; + friend class PaintHelper; // TODO: improve missing functionality // only required because of SetFloatingMode() @@ -480,6 +482,8 @@ protected: SAL_DLLPRIVATE WindowResHeader ImplLoadResHeader( const ResId& rResId ); SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId ); + SAL_DLLPRIVATE void PushPaintHelper(PaintHelper *pHelper); + SAL_DLLPRIVATE void PopPaintHelper(PaintHelper *pHelper); private: SAL_DLLPRIVATE void ImplInitWindowData( WindowType nType ); |