diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-07-03 15:50:38 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-06 12:53:09 +0200 |
commit | 90bfc0aba0f7520ec00966a5c5f7cca0305a260c (patch) | |
tree | d9db2a4ac5752de62108a05865b38f3fd998c4c2 /vcl | |
parent | c10cb611e682a01b233a7bbe57d67592540ebf36 (diff) |
tdf#92392 - tolerate Window::SetText post dispose.
Change-Id: I458f8e8665373d3e5ab9ed20e39783f4d34ca128
Reviewed-on: https://gerrit.libreoffice.org/16752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
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 372ea7d05d83..8afd41259f4d 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3184,7 +3184,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 ); |