summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/window.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 88df1b407c2a..07311a980058 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -7871,6 +7871,9 @@ void Window::SetCursor( Cursor* pCursor )
void Window::SetText( const XubString& rStr )
{
+ if (rStr == mpWindowImpl->maText)
+ return;
+
DBG_CHKTHIS( Window, ImplDbgCheckWindow );
String oldTitle( mpWindowImpl->maText );