diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-07-03 15:50:38 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-07-03 21:46:20 +0100 |
commit | c59726e696b7a507f0b5e752a52e3ea7773c230f (patch) | |
tree | 1ffc849d0948271670b8edced4be75358464cf99 /vcl | |
parent | a8a9b4f8381c3935bab96a713c8237381ffc5c93 (diff) |
tdf#92392 - tolerate Window::SetText post dispose.
Change-Id: I458f8e8665373d3e5ab9ed20e39783f4d34ca128
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 10d9e39d5621..407087ccadb9 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3185,7 +3185,7 @@ void Window::SetCursor( vcl::Cursor* pCursor ) void Window::SetText( const OUString& rStr ) { - if (rStr == mpWindowImpl->maText) + if (!mpWindowImpl || rStr == mpWindowImpl->maText) return; OUString oldTitle( mpWindowImpl->maText ); |