Error with TextSize function

I am trying to solve this problem with my code. can someone help me look at this and tell me what is the problem or how to fix the error?

//+----------------------------------------------+

//|  DASHBOARD TITLE HEADINGS                    |

//+----------------------------------------------+

   TextSize(widthTitle,heightTitle,title,FontSizeTitle,FontName);

   TextSize(widthTitleHide,heightTitle,titleHide,FontSizeTitle,FontName);


//+------------------------------------------------------------------+

//|                                                                  |

//+------------------------------------------------------------------+

void TextSize(uint     &width_,

              uint     &height_,

              string   text,

              int      fontSize    =8,

              string   fontName    ="Arial",

              uint     flags       =FW_NORMAL,

              int      orientation =0

             )

  {

   TextSetFont(fontName,fontSize*-10,flags,orientation);

   TextGetSize(text,width_,height_);

   width_+=6;

   height_+=2;

  }

Files:
ErroTextSize.jpg  400 kb