[Libreoffice] [PATCH] translated comments in /svx/source/stbctrls

Cor Nouws oolst at nouenoff.nl
Mon Nov 21 04:37:50 PST 2011


Cor Nouws wrote (21-11-11 13:17)

> (NB, I think I saw a comment somewhere, that display of date/time have
> been completely disabled .. shall look if I can find that again)

Indeed, line 426 in svx/source/stbctrls/pszctrl.cxx
   // Empty display if neither size nor table position are available.
   // Date/Time are no longer used (#65302#).
    pDev->DrawRect( rRect );

However, the only time 'related' that is in the code in that class is on 
line 298 and further:
     else
     {
         DBG_ERRORFILE( "invalid item type" );
         // nevertheless show date and time
         pImp->bPos = sal_False;
         pImp->bSize = sal_False;
         pImp->bTable = sal_False;
     }

I see no vars that I think were related to actually showing date/time.
So mostly the comment is outdated. Well, things like that do happen ;-)


-- 
  - Cor
  - http://nl.libreoffice.org



More information about the LibreOffice mailing list