summaryrefslogtreecommitdiffstats
path: root/vcl/source/window/window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 27df84f358c3..91d790650c55 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -7909,7 +7909,7 @@ void Window::SetCursor( Cursor* pCursor )
void Window::SetText( const OUString& rStr )
{
- if (rStr == OUString(mpWindowImpl->maText))
+ if (rStr == mpWindowImpl->maText)
return;
DBG_CHKTHIS( Window, ImplDbgCheckWindow );