Test repository to check push and ssh key
Find a file
Tor Lillqvist c58533fe4a WaE: variable set but not used, in NDEBUG build
Change-Id: I9c88c1a43228a98a355d8ba17b0a06de0c5418c4
2015-10-15 15:40:00 +03:00
.git-hooks
accessibility Revert "bin confusion with name AccessibleGridControlTableImplHelper" 2015-10-13 08:49:00 +02:00
android android: show flat ODS files in the doc browser 2015-10-15 08:50:50 +02:00
animations Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
apple_remote
avmedia avmedia/quicktime: replace OSL_TRACE with SAL_INFO 2015-10-14 06:54:37 +00:00
basctl convert Link<> to typed 2015-10-15 09:58:34 +02:00
basebmp Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
basegfx Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
basic calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
bean cid#1327023 to cid#1327077 SIC: Inner class could be made static 2015-10-15 09:23:16 +02:00
bin
binaryurp Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
bridges Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
canvas Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
chart2 calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
clew
cli_ure remove some useless comments 2015-10-13 10:07:49 +02:00
codemaker Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
comphelper Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
compilerplugins loplugin:mergeclasses, merge IControlContext with OBrowserListBox 2015-10-13 10:07:50 +02:00
config_host Pass ENABLE_LIBLANGTAG into code via config_liblangtag.h 2015-10-14 10:14:18 +02:00
configmgr Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
connectivity cid#1327023 to cid#1327077 SIC: Inner class could be made static 2015-10-15 09:23:16 +02:00
cppcanvas Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
cppu Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
cppuhelper remove some useless comments 2015-10-13 10:07:49 +02:00
cpputools Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
cui calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
dbaccess calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
desktop lok::Document::paintTile: fix non-rectangular tiles wrt. transparency 2015-10-15 09:42:26 +02:00
dictionaries@c0bdbe9e78 Updated core 2015-10-15 08:30:16 +00:00
distro-configs Emscripten: --disable-scripting doesn't work, don't use it for now 2015-10-13 17:07:20 +02:00
drawinglayer remove some useless comments 2015-10-13 10:07:49 +02:00
dtrans Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
editeng calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
embeddedobj Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
embedserv Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
eventattacher Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
extensions calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
external tdf#95024 fix compound word handling for new Hungarian orthography 2015-10-14 01:23:23 +02:00
extras
filter coverity#1326215 Dereference after null check 2015-10-14 10:59:42 +01:00
forms calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
formula com::sun::star->css in fpicker/ 2015-10-14 06:36:34 +00:00
fpicker convert Link<> to typed 2015-10-15 09:58:34 +02:00
framework calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
helpcompiler
helpcontent2@f3774406c2 Updated core 2015-10-14 13:21:35 +00:00
hwpfilter Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
i18nlangtag Pass ENABLE_LIBLANGTAG into code via config_liblangtag.h 2015-10-14 10:14:18 +02:00
i18npool Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
i18nutil
icon-themes Breeze Icon: add missing linked file - fixed 2015-10-14 20:19:10 +00:00
idl Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
idlc Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
include vcl: Initial NotebookBar implementation. 2015-10-15 10:56:32 +02:00
instsetoo_native OOOVENDOR is redundant here, it is defined by configure 2015-10-08 19:01:08 +00:00
io Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
ios
javaunohelper cid#1326115 Unchecked return value 2015-10-15 09:25:48 +02:00
jurt use AtomicInteger for _life_count 2015-10-15 11:28:09 +02:00
jvmaccess
jvmfwk Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
l10ntools Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
librelogo
libreofficekit Bump gtk+ version to 2.18 2015-10-14 08:09:40 +00:00
lingucomponent Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
linguistic Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
lotuswordpro clang-analyzer-deadcode.DeadStores 2015-10-13 18:30:31 +02:00
m4
mysqlc
nlpsolver cid#1327023 to cid#1327077 SIC: Inner class could be made static 2015-10-15 09:23:16 +02:00
o3tl
odk Kill dead mac os x 32bit odk build config 2015-10-12 12:58:27 +00:00
offapi
officecfg Revert "tdf#94994 Enable auto-numbering by default" 2015-10-15 09:01:09 +02:00
onlineupdate cppcheck:variableScope 2015-10-12 06:52:56 +00:00
oovbaapi
oox Use nRadius value at least to decide between "rect" and "roundRect" presets 2015-10-13 13:15:05 +02:00
opencl
osx
package Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
postprocess No xsec_xmlsec built for iOS either 2015-10-07 21:34:06 +03:00
pyuno Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
qadevOOo unused tests would have attempted to call dmake in a 4NT shell 2015-10-15 12:36:34 +01:00
readlicense_oo update credits 2015-10-15 02:27:17 +02:00
registry Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
remotebridges Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
reportbuilder cid#1327023 to cid#1327077 SIC: Inner class could be made static 2015-10-15 09:23:16 +02:00
reportdesign calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
ridljar [API CHANGE] Remove deprecated com.sun.star.uno.Union class 2015-10-15 09:20:24 +02:00
rsc Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
sal Resolves: #i126586# FreeBSD automation deadlock: osl_closeSocket()... 2015-10-14 09:17:44 +01:00
salhelper Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
sax Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
sc WaE: variable set but not used, in NDEBUG build 2015-10-15 15:40:00 +03:00
scaddins cppcheck:variableScope 2015-10-13 06:22:33 +00:00
sccomp Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
scp2 remove some useless comments 2015-10-13 10:07:49 +02:00
scripting coverity#1326899 HE: Equal objects must have equal hashcodes 2015-10-15 09:12:36 +01:00
sd calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
sdext Fix building with --enable-pdfimport on FreeBSD. 2015-10-13 09:21:03 +01:00
setup_native
sfx2 calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
shell TDE: move stuff into the tde-integration package 2015-10-12 18:20:58 +02:00
slideshow loplugin:unreffun 2015-10-15 08:48:45 +02:00
smoketest coverity#1326133 Logically dead code 2015-10-15 11:38:57 +01:00
solenv Output all links.txt icons pointing to other icons in one go 2015-10-14 12:35:30 +00:00
soltools
sot sot: prefix remaining StgStrm members 2015-10-13 09:37:49 +02:00
starmath convert Link<> to typed 2015-10-15 09:58:34 +02:00
stoc Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
store coverity#1326107 Unchecked return value 2015-10-14 10:59:43 +01:00
svgio make test more readable - use Primitive2DSequence 2015-10-14 22:39:44 +02:00
svl cppcheck:variableScope 2015-10-13 06:22:33 +00:00
svtools calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
svx tdf#94495 - protect lstbox usage post-dispose, and fix ItemWin focus. 2015-10-15 13:19:02 +01:00
sw calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
swext java:remove unused imports 2015-10-14 16:07:49 +02:00
sysui Related: tdf#72880 add vnd.libreoffice.cmis to CFBundleURLTypes 2015-10-08 15:24:39 +00:00
test Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
testtools cppcheck:variableScope 2015-10-15 06:49:23 +00:00
toolkit cppcheck:variableScope 2015-10-15 06:49:23 +00:00
tools cppcheck:variableScope 2015-10-15 06:49:23 +00:00
translations@af8538d62d
tubes cppcheck:variableScope 2015-10-15 06:49:23 +00:00
ucb cppcheck:variableScope 2015-10-15 06:49:23 +00:00
ucbhelper Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
udkapi
UnoControls Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
unodevtools
unoidl Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
unoil
unotest Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
unotools calling IsSet() before Call() on Link<> is unnecessary 2015-10-15 12:29:01 +02:00
unoxml Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
ure
uui Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
vbahelper Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
vcl tdf#94495 - protect lstbox usage post-dispose, and fix ItemWin focus. 2015-10-15 13:19:02 +01:00
winaccessibility Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
wizards coverity#1326409 Dereference null return value 2015-10-15 11:38:52 +01:00
writerfilter Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
writerperfect Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
xmerge coverity#1326285 Dereference after null check 2015-10-15 11:38:56 +01:00
xmlhelp Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
xmloff cppcheck:variableScope 2015-10-15 06:49:23 +00:00
xmlreader
xmlscript Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
xmlsecurity Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code 2015-10-12 17:52:29 +02:00
.gitattributes
.gitignore migrate android build to gradle 2015-10-11 02:03:13 +02:00
.gitmodules
.gitreview
autogen.sh
config.guess
config.sub
config_host.mk.in remove now unneeded apache-commons libs 2015-10-09 21:23:37 +02:00
config_host_lang.mk.in
configure.ac allow using Android Studio with lldb to debug native part 2015-10-14 21:24:52 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst remove now unneeded apache-commons libs 2015-10-09 21:23:37 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch remove now unneeded apache-commons libs 2015-10-09 21:23:37 +02:00
Makefile.gbuild
Makefile.in migrate android build to gradle 2015-10-11 02:03:13 +02:00
README.cross
README.md
README.Solaris
Repository.mk TDE: move stuff into the tde-integration package 2015-10-12 18:20:58 +02:00
RepositoryExternal.mk remove now unneeded apache-commons libs 2015-10-09 21:23:37 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
TEMPLATE.SOURCECODE.HEADER
unusedcode.easy
unusedcode.exclude
unusedcode.README

LibreOffice

Coverity Scan Build Status

A quick overview of the LibreOffice code structure.

Overview

You can develop for LibreOffice in one of two ways, one recommended and one much less so. First the somewhat less recommended way: it is possible to use the SDK to develop an extension, for which you can read the API docs here and here. This re-uses the (extremely generic) UNO APIs that are also used by macro scripting in StarBasic.

The best way to add a generally useful feature to LibreOffice is to work on the code base however. Overall this way makes it easier to compile and build your code, it avoids any arbitrary limitations of our scripting APIs, and in general is far more simple and intuitive - if you are a reasonably able C++ programmer.

The important bits of code

Each module should have a README file inside it which has some degree of documentation for that module; patches are most welcome to improve those. We have those turned into a web page here:

http://docs.libreoffice.org/

However, there are two hundred modules, many of them of only peripheral interest for a specialist audience. So - where is the good stuff, the code that is most useful. Here is a quick overview of the most important ones:

Module Description
sal/ this provides a simple System Abstraction Layer
tools/ this provides basic internal types: 'Rectangle', 'Color' etc.
vcl/ this is the widget toolkit library and one rendering abstraction
framework UNO framework, responsible for building toolbars, menus, status bars, and the chrome around the document using widgets from VCL, and XML descriptions from /uiconfig/ files
sfx2/ legacy core framework used by Writer/Calc/Draw: document model / load/save / signals for actions etc.
svx/ drawing model related helper code, including much of Draw/Impress

Then applications

Module Description
desktop/ this is where the 'main' for the application lives, init / bootstrap. the name dates back to an ancient StarOffice that also drew a desktop
sw/ Writer
sc/ Calc
sd/ Draw / Impress

There are several other libraries that are helpful from a graphical perspective:

Module Description
basebmp/ enables a VCL compatible rendering API to render to bitmaps, as used for LibreOffice Online, Android, iOS, etc.
basegfx/ algorithms and data-types for graphics as used in the canvas
canvas/ new (UNO) canvas rendering model with various backends
cppcanvas/ C++ helper classes for using the UNO canvas
drawinglayer/ View code to render drawable objects and break them down into primitives we can render more easily.

Finding out more

Beyond this, you can read the README files, send us patches, ask on the mailing list libreoffice@lists.freedesktop.org (no subscription required) or poke people on IRC #libreoffice-dev on irc.freenode.net - we're a friendly and generally helpful mob. We know the code can be hard to get into at first, and so there are no silly questions.