diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-23 17:24:41 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 15:46:41 +0200 |
commit | 78608fc9325833e599d8a8c0e65ee1f2c3c69538 (patch) | |
tree | 3668f19b512bbd72f48d67418462a7a7362e92ac /sc | |
parent | 53fb95bf89dbfb0c54379fabbe1a98a542846ba8 (diff) |
cppcheck: redundantAssignment
Change-Id: I4c4be0b7eb8957e454ec5fc494cf5f6e29d1dbeb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 4c408bd65fb6..d3d655f92bc7 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5348,10 +5348,9 @@ bool ScGridWindow::GetEditUrl( const Point& rPos, EditView aTempView(pEngine.get(), this); aTempView.SetOutputArea( aLogicEdit ); - bool bRet = false; MapMode aOld = GetMapMode(); SetMapMode(aEditMode); // kein return mehr - bRet = extractURLInfo(aTempView.GetFieldUnderMousePointer(), pName, pUrl, pTarget); + bool bRet = extractURLInfo(aTempView.GetFieldUnderMousePointer(), pName, pUrl, pTarget); SetMapMode(aOld); return bRet; |