[Libreoffice-commits] core.git: vcl/source
Michael Meeks
michael.meeks at collabora.com
Fri Jul 3 13:41:37 PDT 2015
vcl/source/window/window.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c59726e696b7a507f0b5e752a52e3ea7773c230f
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri Jul 3 15:50:38 2015 +0100
tdf#92392 - tolerate Window::SetText post dispose.
Change-Id: I458f8e8665373d3e5ab9ed20e39783f4d34ca128
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 10d9e39..407087c 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 );
More information about the Libreoffice-commits
mailing list