Changeset d52fe9c in tol


Ignore:
Timestamp:
Jun 24, 2010, 1:49:51 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
4e559163
Parents:
7508034
Message:

Refs #921
Using new method CheckNonDeclarativeAction

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2318 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/text_type/txtgra.cpp

    r7508034 rd52fe9c  
    434434//--------------------------------------------------------------------
    435435{
     436  if(CheckNonDeclarativeAction("PutEditor")) { return; }
    436437    contens_ = BSys::Editor();
    437438    BText editorPath = Text(Arg(1));
    … …  
    455456//--------------------------------------------------------------------
    456457{
     458  if(CheckNonDeclarativeAction("PutLanguage")) { return; }
    457459  contens_ = I2("ENGLISH","CASTELLANO");
    458460  BText& lang = Text(Arg(1));
    … …  
    12011203void BPutTableRealFormat::CalcContens()
    12021204{
     1205  if(CheckNonDeclarativeAction("PutTableRealFormat")) { return; }
    12031206    contens_ = BTableFormat::RealFormat();
    12041207    if(Arg(2))
    … …  
    12321235void BPutTableDateFormat::CalcContens()
    12331236{
     1237  if(CheckNonDeclarativeAction("PutTableDateFormat")) { return; }
    12341238    contens_ = BTableFormat::DateFormat().Format();
    12351239    if(Arg(2))
    … …  
    12581262//--------------------------------------------------------------------
    12591263{
     1264  if(CheckNonDeclarativeAction("PutRealFormat")) { return; }
    12601265    contens_ = BDat::RealFormat();
    12611266    BDat::PutRealFormat(Text(Arg(1)));
    … …  
    13561361//--------------------------------------------------------------------
    13571362{
     1363  if(CheckNonDeclarativeAction("PutDateFormat")) { return; }
    13581364    contens_ = BDateFormat::Defect().Format();
    13591365    BDateFormat::Defect() =  BDateFormat(Text(Arg(1)));
    … …  
    13941400//--------------------------------------------------------------------
    13951401{
     1402  if(CheckNonDeclarativeAction("PutDumpFile")) { return; }
    13961403  BBool rewrite = BTRUE;
    13971404  if(Arg(2)) { rewrite = (BBool)Real(Arg(2)); }
    … …  
    17871794//--------------------------------------------------------------------
    17881795{
     1796  if(CheckNonDeclarativeAction("ShowFile")) { return; }
    17891797    contens_ = Text(Arg(1));
    17901798    BSys::Edit(contens_,1);
    … …  
    18281836//--------------------------------------------------------------------
    18291837{
     1838  if(CheckNonDeclarativeAction("WriteFile")) { return; }
    18301839    BText fileName = Text(Arg(1));
    18311840    if(OverWrite(fileName,Text(Arg(2))))
    … …  
    18511860//--------------------------------------------------------------------
    18521861{
     1862  if(CheckNonDeclarativeAction("AppendFile")) { return; }
    18531863    BText fileName = Text(Arg(1));
    18541864    if(AppendWrite(fileName,Text(Arg(2))))
    … …  
    22792289//--------------------------------------------------------------------
    22802290{
    2281     contens_ = GetAbsolutePath(Text(Arg(1)));
     2291    contens_ = GetStandardAbsolutePath(Text(Arg(1)));
    22822292}
    22832293
Note: See TracChangeset for help on using the changeset viewer.