diff options
Diffstat (limited to 'patches/dev300/layout-crash-fix.diff')
-rw-r--r-- | patches/dev300/layout-crash-fix.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/patches/dev300/layout-crash-fix.diff b/patches/dev300/layout-crash-fix.diff deleted file mode 100644 index 44e86daf6..000000000 --- a/patches/dev300/layout-crash-fix.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- - toolkit/inc/layout/layout.hxx | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git toolkit/inc/layout/layout.hxx toolkit/inc/layout/layout.hxx -index d0e0b2e..a9cd3bb 100644 ---- toolkit/inc/layout/layout.hxx -+++ toolkit/inc/layout/layout.hxx -@@ -110,7 +110,7 @@ public: - inline t##Impl &getImpl() const - - #define DECL_GET_WINDOW( cls ) ::cls* Get##cls() const --#define IMPL_GET_WINDOW( cls ) ::cls* cls::Get##cls() const { return dynamic_cast< ::cls*>( GetWindow() ); } -+#define IMPL_GET_WINDOW( cls ) ::cls* cls::Get##cls() const { return static_cast< ::cls*>( GetWindow() ); } - - #define DECL_GET_VCLXWINDOW( cls ) ::VCLX##cls* GetVCLX##cls() const - #define IMPL_GET_VCLXWINDOW( cls ) ::VCLX##cls* cls::Get##VCLX##cls() const { return dynamic_cast< ::VCLX##cls*>( GetVCLXWindow() ); } --- -1.7.0.1 - |