Stephan Bergmann 304b3b3910 Handle GetTextBreak returning -1
I don't know what the root cause is exactly that made at least Mac OS X
--enable-dbgutil JunitTest_forms_unoapi start to fail recently, but when nWidth
is just 1 (which might be the root of the problem here, but could probably also
legitimately be the case) and GetTextWidth returns -1 (which it probably is
allowed to do), this would lead to an out-of-bounds OUString::operator[] access
at

> rtl::OUString::operator[] (this=0x118a04be0, index=-1) at ustring.hxx:421
> com::sun::i18n::BreakIterator_Unicode::getLineBreak (this=0x11986f6f8, Text=@0x118a04be0, nStartPos=-2, rLocale=@0x7fbd83821d98, nMinBreakPos=4, hOptions=@0x118a04620) at i18npool/source/breakiterator/breakiterator_unicode.cxx:429
> com::sun::i18n::BreakIteratorImpl::getLineBreak (this=0x1112d5c98, Text=@0x118a04be0, nStartPos=-1, rLocale=@0x7fbd83821d98, nMinBreakPos=4, hOptions=@0x118a04620, bOptions=@0x118a045f8) at i18npool/source/breakiterator/breakiteratorImpl.cxx:242
> OutputDevice::ImplGetTextLines (rLineInfo=@0x118a04bb0, nWidth=1, rStr=@0x118a04be0, nStyle=12560, _rLayout=@0x118a04db8) at vcl/source/outdev/text.cxx:527
> OutputDevice::ImplDrawText (this=0x7fbd8302d000, rTargetDevice=@0x7fbd8302d000, rRect=@0x118a05058, rOrigStr=@0x118a04f70, nStyle=12560, pVector=0x0, pDisplayText=0x0, _rLayout=@0x118a04db8) at vcl/source/outdev/text.cxx:1500
> OutputDevice::DrawText (this=0x7fbd8302d000, rRect=@0x118a05058, rOrigStr=@0x118a04f70, nStyle=12560, pVector=0x0, pDisplayText=0x0, _pTextLayout=0x0) at vcl/source/outdev/text.cxx:1754
> sfx2::TitledDockingWindow::Paint (this=0x7fbd8302d000, i_rArea=@0x118a051d0) at sfx2/source/dialog/titledockwin.cxx:218

Change-Id: I95c6027e86b9a608fe9eb05ffb83fb2316c175f2
2014-05-05 11:31:27 +02:00
2014-04-17 15:11:14 +02:00
2014-04-09 09:57:30 +02:00
2014-04-28 23:35:42 +09:00
2014-04-28 11:37:37 +00:00
2014-04-19 11:10:07 +02:00
2014-05-02 08:49:22 +02:00
2014-05-04 17:53:31 +03:00
2014-04-29 10:14:12 +02:00
2014-04-28 23:35:42 +09:00
2014-04-09 12:29:44 +00:00
2014-05-02 08:49:22 +02:00
2014-05-05 06:35:59 +00:00
2014-04-16 00:33:37 +02:00
2014-04-19 11:10:12 +02:00
2014-05-04 23:14:29 +02:00
2014-05-04 01:15:17 +02:00
2014-04-23 11:11:49 +02:00
2014-04-30 09:26:58 +03:00
2014-04-28 23:35:42 +09:00
2014-04-23 11:11:50 +02:00
2014-04-27 16:57:47 +00:00
2014-04-25 10:23:22 -05:00
2014-05-02 08:49:23 +02:00
2014-05-01 23:19:43 +10:00
2014-04-28 23:35:42 +09:00
2014-05-04 19:41:47 +03:00
2014-04-24 10:53:16 +02:00
2014-05-01 17:03:31 +00:00
2014-04-30 08:43:41 +02:00
2014-04-17 15:11:14 +02:00
2014-04-10 15:31:22 +02:00
2014-05-01 17:03:31 +00:00
2014-04-30 08:43:41 +02:00
2014-04-17 15:11:14 +02:00
2014-05-01 02:31:58 +02:00
2014-04-28 23:35:42 +09:00
2014-05-04 23:14:29 +02:00
2014-04-20 03:12:15 +00:00
2014-04-18 00:30:35 +03:00
2014-04-12 12:58:50 +02:00
2014-05-02 08:49:18 +02:00
2014-05-02 08:49:18 +02:00
2014-05-02 08:49:23 +02:00
2014-05-05 11:31:27 +02:00
2014-05-02 08:49:21 +02:00
2014-04-14 12:31:47 +02:00
2014-04-28 23:35:42 +09:00
2014-04-28 23:35:42 +09:00
2014-04-25 20:02:21 +02:00
2014-04-26 19:46:40 +02: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%