[Libreoffice] Compilation failed in vcl module (warning treated as errors)

Joseph Powers jpowers27 at cox.net
Wed May 11 05:23:20 PDT 2011


On May 11, 2011, at 12:24 AM, Yifan Jiang wrote:

> GetActionCount

===== main repo =====
===== artwork =====
===== base =====
===== calc =====
sc/source/ui/drawfunc/futext3.cxx:            bNewNote = (pCalcUndo->GetActionCount() > 0) && pCalcUndo->GetAction( 0 )->ISA( SdrUndoNewObj );
===== components =====
===== extensions =====
===== extras =====
===== filters =====
binfilter/bf_svx/source/svdraw/svx_svdundo.cxx:/*N*/    for (ULONG nu=0; nu<GetActionCount(); nu++) {
binfilter/inc/bf_svx/svdundo.hxx:    ULONG GetActionCount() const { return aBuf.Count(); }
===== help =====
===== impress =====
sd/source/ui/dlg/brkdlg.cxx:    if(pProgrInfo->GetActionCount() == 0)
sd/source/ui/dlg/brkdlg.cxx:        info.Append( UniString::CreateFromInt32( pProgrInfo->GetActionCount() ) );
===== l10n =====
===== libs-core =====
svx/inc/svx/svdetc.hxx:    sal_uIntPtr GetActionCount() const { return nActionCount; };
svx/inc/svx/svdundo.hxx:    sal_uIntPtr GetActionCount() const { return aBuf.Count(); }
svx/source/svdraw/svdmodel.cxx:                if(pAktUndoGroup->GetActionCount()!=0)
svx/source/svdraw/svdundo.cxx:    for (sal_uIntPtr nu=0; nu<GetActionCount(); nu++) {
svx/source/svdraw/svdundo.cxx:    for (sal_uIntPtr nu=GetActionCount(); nu>0;) {
svx/source/svdraw/svdundo.cxx:    for (sal_uIntPtr nu=0; nu<GetActionCount(); nu++) {
===== libs-extern =====
===== libs-extern-sys =====
===== libs-gui =====
===== postprocess =====
===== sdk =====
===== testing =====
===== ure =====
===== writer =====

It looks like you need to do a "make clean".

I renamed the method to GetActionSize().

Joe P.



More information about the LibreOffice mailing list