Kaydet (Commit) 0e23f7b0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway

The line was like that ever since the code was introduced with
13d20309 "edit control for connection urls," and
Window::GetText() likely never in the past returned a reference to a string.

Change-Id: Ideb5c6a279ac25c2439187a9182f988696818012
üst b5df54c5
...@@ -140,7 +140,7 @@ void OConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNew ...@@ -140,7 +140,7 @@ void OConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNew
OUString OConnectionURLEdit::GetText() const OUString OConnectionURLEdit::GetText() const
{ {
if ( m_pForcedPrefix ) if ( m_pForcedPrefix )
return m_pForcedPrefix->GetText() += Edit::GetText(); return m_pForcedPrefix->GetText() + Edit::GetText();
return Edit::GetText(); return Edit::GetText();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment