Ignore:
Timestamp:
08/18/14 10:03:36 (5 years ago)
Author:
jls17
Message:
  • moved ARZeroMemory function to Memory.cpp/.h
  • added new ARZeroMemory function which has a size parameter to replace ZeroMemory? (which is only available on windows)
  • replaced all ZeroMemory? calls with ARZeroMemory
  • fixed some gcc compiler warnings
  • now ARQualification throws AppException? instead of exception, because in the standard implementation there is no constructor to pass a message to exception class (this MSVC specific)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/core/ARQualification.cpp

    r592 r610  
    341341 
    342342                        CDocCurrencyField docCurrency(formId, *operand->u.currencyField); 
    343                         char *prefix = getFieldPrefix(operand); 
     343                        const char *prefix = getFieldPrefix(operand); 
    344344                         
    345345                        qText << delimiter; 
     
    394394} 
    395395 
    396 char* CARQualification::getFieldPrefix(ARFieldValueOrArithStruct *operand) 
     396const char* CARQualification::getFieldPrefix(ARFieldValueOrArithStruct *operand) 
    397397{ 
    398398        if (operand == NULL) return NULL; 
     
    429429                return true; 
    430430        } 
    431         throw exception("NotImplementedException"); 
    432 } 
    433  
     431        throw AppException("NotImplementedException", "ARQual"); 
     432} 
     433 
Note: See TracChangeset for help on using the changeset viewer.