diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-26 14:11:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:53 +0100 |
commit | c44f4d335f75f9f0226cf6b07b70bfbb500cba63 (patch) | |
tree | ec4eb99ec7743f214fe6849b7627453dc2ae0de4 | |
parent | 76b7acf0d25b257ef70dad9b3ecdde3434ca6b78 (diff) |
reduce size requests if new text is same as old
Change-Id: I6e9b03c4baf05d096aa780b4f6d8635bb1e254ac
-rw-r--r-- | vcl/source/window/window.cxx | 3 |
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 ); |