https://bugs.freedesktop.org/show_bug.cgi?id=43058

             Bug #: 43058
           Summary: EasyHack: remove redundant double ';;' from C++ code
                    ...
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: Libreoffice
        AssignedTo: libreoffice-bugs@lists.freedesktop.org
        ReportedBy: michael.me...@novell.com


It seems (in the past) some hackers have had some bouncy ';' keys and doubled
up their ';;'s at the end of statements. In C++ this is meaningless outside a
for() construct, so:

git grep ';;' | grep '\.[ch]xx' | grep -v 'for *('
...
   322    xmloff/source/text/txtexppr.cxx:           
pHoriOrientRelFrameState->mnIndex = -1;;
   323    xmloff/source/text/txtexppr.cxx:           
pShapeHoriOrientRelFrameState->mnIndex = -1;;
   324    xmlsecurity/source/xmlsec/saxhelper.cxx:    sal_Int32 nLength =
aAttributes.getLength();;

Should be a very easy entry into cleaning things up I hope :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to