Update of /cvsroot/objecthandler/ObjectHandler/ohxl/Functions
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28265/ohxl/Functions
Modified Files:
manual.cpp
Log Message:
ohDependsOn() - validate only that inputs are valid range references
Index: manual.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/Functions/manual.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** manual.cpp 30 Oct 2006 12:58:23 -0000 1.5
--- manual.cpp 30 Oct 2006 18:39:18 -0000 1.6
***************
*** 33,46 ****
XLL_DEC long *ohDependsOn(
! OPER *dummy0,
! OPER *dummy1,
! OPER *dummy2,
! OPER *dummy3,
! OPER *dummy4,
! OPER *dummy5,
! OPER *dummy6,
! OPER *dummy7,
! OPER *dummy8,
! OPER *dummy9) {
boost::shared_ptr<ObjHandler::FunctionCall> functionCall;
try {
--- 33,46 ----
XLL_DEC long *ohDependsOn(
! XLOPER *dummy0,
! XLOPER *dummy1,
! XLOPER *dummy2,
! XLOPER *dummy3,
! XLOPER *dummy4,
! XLOPER *dummy5,
! XLOPER *dummy6,
! XLOPER *dummy7,
! XLOPER *dummy8,
! XLOPER *dummy9) {
boost::shared_ptr<ObjHandler::FunctionCall> functionCall;
try {
***************
*** 82,90 ****
} catch (const std::exception &e) {
! std::ostringstream err;
! err << "ohDependsOn - ";
! if (functionCall) err << functionCall->getAddressString() << " - ";
! err << e.what();
! ObjHandler::ObjectHandlerXL::instance().logError(err.str());
return 0;
}
--- 82,86 ----
} catch (const std::exception &e) {
! ObjHandler::ObjectHandlerXL::instance().logError(e.what());
return 0;
}
***************
*** 168,176 ****
// log the exception and return a null pointer (#NUM!) to Excel
! std::ostringstream err;
! err << "ohPack - ";
! if (functionCall) err << functionCall->getAddressString() << " - ";
! err << e.what();
! ObjHandler::logMessage(err.str(), 2);
return 0;
}
--- 164,168 ----
// log the exception and return a null pointer (#NUM!) to Excel
! ObjHandler::ObjectHandlerXL::instance().logError(e.what());
return 0;
}
***************
*** 249,257 ****
} catch (const std::exception &e) {
! std::ostringstream err;
! err << "ohParseField - ";
! if (functionCall) err << functionCall->getAddressString() << " - ";
! err << e.what();
! ObjHandler::logMessage(err.str(), 2);
return 0;
}
--- 241,245 ----
} catch (const std::exception &e) {
! ObjHandler::ObjectHandlerXL::instance().logError(e.what());
return 0;
}
|