To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95450





------- Additional comments from e...@openoffice.org Tue Jan 13 23:15:40 +0000 
2009 -------
I simplified that by using the method GetDoubleWithDefault(), the
resulting patch is:

Index: interpr1.cxx
===================================================================
--- interpr1.cxx        (revision 265913)
+++ interpr1.cxx        (working copy)
@@ -6146,7 +6146,7 @@ void ScInterpreter::ScAddressFunc()
     USHORT  nFlags = SCA_COL_ABSOLUTE | SCA_ROW_ABSOLUTE;   // default
     if( nParamCount >= 3 )
     {
-        USHORT n = (USHORT) ::rtl::math::approxFloor(GetDouble());
+        USHORT n = (USHORT) ::rtl::math::approxFloor( GetDoubleWithDefault( 
1.0));
         switch ( n )
         {
             default :


However, the missing parameter needs to be supported in export to
ODF11/PODF file format as well (RewriteMissingToPof, ScMissingContext,
AddMissing), but the source changed significantly with CWSs odff05 and
frmdlg that got integrated to m39, which isn't ready yet. Adding that to
a CWS based on m38 would clash upon integration and would had to be
rewritten, so we'll have to wait for m39 getting ready.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sc.openoffice.org
For additional commands, e-mail: issues-h...@sc.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to