Kaydet (Commit) 89420495 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Kohei Yoshida

fix for fdo#37548: InsertNames->InsertAll doesn't insert anything

Signed-off-by: 's avatarKohei Yoshida <kyoshida@novell.com>
üst 13a74d72
...@@ -4721,7 +4721,7 @@ sal_Bool ScDocFunc::InsertNameList( const ScAddress& rStartPos, sal_Bool bApi ) ...@@ -4721,7 +4721,7 @@ sal_Bool ScDocFunc::InsertNameList( const ScAddress& rStartPos, sal_Bool bApi )
for (ScRangeName::iterator itr = itrBeg; itr != itrEnd; ++itr) for (ScRangeName::iterator itr = itrBeg; itr != itrEnd; ++itr)
{ {
const ScRangeData& r = *itr; const ScRangeData& r = *itr;
if (r.HasType(RT_DATABASE && !r.HasType(RT_SHARED))) if (!r.HasType(RT_DATABASE) && !r.HasType(RT_SHARED))
++nValidCount; ++nValidCount;
} }
......
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