https://bugs.documentfoundation.org/show_bug.cgi?id=95416
Bug ID: 95416 Summary: Get rid of #include "../foo/bar.hxx" style includes Product: LibreOffice Version: unspecified Hardware: Other OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: t...@iki.fi We have a couple of hundred cases where a source file includes an include file like this: #include "../foo/bar.hxx" or #include <../foo/bar.hxx> That is generally considered ugly, I think. In most cases, the file being included should be moved to an appropriate "inc" directory in the module in question, and then be included with a simple: #include "bar.xx" because if an include file is used by source files in multiple directories, clearly it isn't strictly local and should be in some "inc" directory. One special case is the gtk2/gtk3 mess in vcl, which probably should be left as is. -- 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