Stephan Bergmann 2acdcb2374 coverity#1158232 Fix ownership of NamedDBs::insert argument
f70d03436b "coverity#1158232 have a stab at
silencing warning with function markup" claimed that NamedDBs::insert always
takes ownerhip of its argument, but boost::ptr_set::insert(std::auto_ptr<U> x)
simply calls insert(x.release()), so only takes ownership when it returns true.

ScDBDocFunc::AddDBRange (sc/source/ui/docshell/dbdocfun.cxx) relies on this
behavior, deleting the argument when insert failed.

ScDBDocFunc::RenameDBRange (sc/source/ui/docshell/dbdocfun.cxx) relied on this
behavior, deleting the argument when insert failed, until
f55cc330de "Fixed the fallout of the changes in
ScDBCollection" removed the delete (presumably in error?).  I put it back in
now.

All other uses of NamedDBs::insert ignored the return value (witnessed with
SAL_WARN_UNUSED_RESULT).  Some are insert-if-not-found cases, where I added
asserts now (Sc10Import::LoadDataBaseCollection,
sc/source/filter/starcalc/scflt.cxx, is not entirely clear to me, so I added a
TODO), while others would have potentially leaked the argument, in which cases I
fixed the code.

Change-Id: Iad40fbeb625c8ce6b0a61cbf16298d71cdc7de80
2014-03-12 16:24:43 +01:00
2014-02-27 11:02:21 +09:00
2014-03-04 11:56:37 +00:00
2014-03-11 14:54:30 +01:00
2014-02-27 06:12:56 -06:00
2014-03-04 09:40:01 -06:00
2014-03-10 18:17:21 +01:00
2014-03-12 12:05:40 +00:00
2014-03-11 08:18:24 +02:00
2014-03-11 13:53:25 +00:00
2014-03-12 15:56:04 +02:00
2014-03-12 07:32:32 -05:00
2014-03-12 16:24:42 +01:00
2014-03-12 15:56:04 +02:00
2014-02-26 10:06:13 -06:00
2014-03-04 15:47:58 +01:00
2014-03-11 11:57:17 +01:00
2014-03-11 11:57:17 +01:00
2014-03-12 03:01:13 +01:00
2014-03-07 20:20:33 +00:00
2014-03-11 08:18:24 +02:00
2014-02-28 15:01:05 -06:00
2014-03-11 17:17:39 +02:00
2014-03-07 10:52:50 +02:00
2014-03-12 11:02:15 +00:00
2014-03-12 16:24:43 +01:00
2014-03-07 10:32:45 +02:00
2014-03-12 16:24:42 +01:00
2014-03-11 09:00:31 -05:00
2014-03-12 14:54:32 +01:00
2014-03-08 18:31:13 +01:00
2014-03-12 15:56:04 +02:00
2014-03-12 15:56:04 +02:00
2014-03-12 15:56:04 +02:00
2014-03-12 15:56:04 +02:00
2014-03-11 17:17:39 +02:00
2014-03-06 16:35:51 +00:00
2014-03-01 00:33:28 +09:00
2014-03-11 17:17:39 +02:00
2014-03-05 09:44:18 -06:00
2014-03-12 15:56:04 +02:00
2014-03-04 09:54:51 -06:00

Instructions to compile LO on Solaris with gcc

Disclaimer
----------
This is still work in progress
Compiling LO on Solaris with gcc is a work done by Lanedo ( www.lanedo.com )
Any inquiry could be sent to office-solaris@lanedo.com


Prerequisites
-------------

A working Oracle Solaris 11 installation


Installing Dependancies
-----------------------

sudo -s

pkg install git make gcc-45 autoconf autogen automake-110 gnu-m4

perl -MCPAN -e 'install Archive::Zip::Archive'

pkg install pkg:/system/header@0.5.11-0.175.0.0.0.2.1
pkg install pkg:/developer/gperf@3.0.3-0.175.0.0.0.2.537
pkg install pkg:/developer/parser/bison@2.3-0.175.0.0.0.2.537
pkg install pkg:/developer/lexer/flex@2.5.35-0.175.0.0.0.2.537
pkg install pkg:/developer/documentation-tool/doxygen@1.5.7.1-0.175.0.0.0.2.537


Compiling
---------

CC="gcc" CXX="g++" ./autogen.sh --with-num-cpus=2 --with-max-jobs=4 --without-junit --disable-mozilla --with-system-curl --without-help --disable-cups --without-java --with-system-cairo --with-lang= --disable-gconf --enable-gio --disable-gnome-vfs --disable-gstreamer --without-fonts --with-system-dicts --disable-mozilla --without-system-mozilla --disable-xmlsec --with-system-openssl

gmake


Description
LibreOffice mirror (not auto-updating).
Readme 1.9 GiB
Languages
C++ 82.4%
Java 5.3%
Rich Text Format 2.3%
PostScript 1.9%
Python 1.9%
Other 5.7%