Kaydet (Commit) 78608fc9 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: redundantAssignment

Change-Id: I4c4be0b7eb8957e454ec5fc494cf5f6e29d1dbeb
üst 53fb95bf
...@@ -5348,10 +5348,9 @@ bool ScGridWindow::GetEditUrl( const Point& rPos, ...@@ -5348,10 +5348,9 @@ bool ScGridWindow::GetEditUrl( const Point& rPos,
EditView aTempView(pEngine.get(), this); EditView aTempView(pEngine.get(), this);
aTempView.SetOutputArea( aLogicEdit ); aTempView.SetOutputArea( aLogicEdit );
bool bRet = false;
MapMode aOld = GetMapMode(); MapMode aOld = GetMapMode();
SetMapMode(aEditMode); // kein return mehr SetMapMode(aEditMode); // kein return mehr
bRet = extractURLInfo(aTempView.GetFieldUnderMousePointer(), pName, pUrl, pTarget); bool bRet = extractURLInfo(aTempView.GetFieldUnderMousePointer(), pName, pUrl, pTarget);
SetMapMode(aOld); SetMapMode(aOld);
return bRet; return bRet;
......
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