[Libreoffice] coding style

Thorsten Behrens thb at documentfoundation.org
Mon Oct 11 05:49:04 PDT 2010


Tor Lillqvist wrote:
> > No, there is no coding style yet, but we will start to work on
> > one soon
> 
> Well, much (most?) of the existing code, inherited from
> OpenOffice.org, clearly uses some amount of consistent style
> conventions, and when editing such files, one should, IMHO, follow
> the style of the surrounding code. Whether that OOo style has been
> formally defined and documented, I don't know now, and I am too
> lazy to look for it;)
> 
Well, we should conveniently inherit the OOo coding style guides for
now, I would think:

http://wiki.services.openoffice.org/wiki/Cpp_Coding_Standards

and

http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions

Otherwise: blend with the surrounding code is the golden rule.

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101011/4ba2b3f7/attachment-0001.pgp>


More information about the LibreOffice mailing list