https://bugs.documentfoundation.org/show_bug.cgi?id=89216

--- Comment #12 from Teraslilja <[email protected]> ---
(In reply to Xisco FaulĂ­ from comment #11)
> Hello Teraslilja,
> Thanks for the patch.
> Could you please submit the patch to gerrit as described here:
> https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch?

The patch(es) above won't work any more. The object passing a cell range to
basic macro has been changed. So I have written a new patch that I will submit
later this week.

diff --git a/sc/source/core/tool/interpr4.cxx
b/sc/source/core/tool/interpr4.cxx
index b2dc0adee55e..518a1475a5f2 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3544,11 +3545,12 @@ bool ScInterpreter::SetSbxVariable( SbxVariable* pVar,
const ScAddress& rPos )
                 }
                 break;
             default :
-                pVar->PutDouble( 0.0 );
+                pVar->PutEmpty();
         }
     }
     else
-        pVar->PutDouble( 0.0 );
+        pVar->PutEmpty();
+
     return bOk;
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to