340031 Commits

Author SHA1 Message Date
Samuel Mehrbrodt
06299d6c16 Prefer the Liberation fonts over Arial/Times
The new Writer template was supposed to use the Liberation fonts: http://nabble.documentfoundation.org/Default-Writer-Template-td4076271.html
So I changed the defaults to prefer them over their MS equivalents. When they are not available, they will be substituted as used.

This should not cause problems since the Liberation Fonts have the same metrics as Times, Arial and Courier New.

Change-Id: I00dc14db2aee3b6f57eec7b6f93b69fcf8e5c2cc
Reviewed-on: https://gerrit.libreoffice.org/6886
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 05:06:50 -06:00
Khaled Hosny
0b9d8c678c Those AFM files are not used anymore
They were used to build metrics for printer built in fonts, which was
dropped in the previous commit.

Change-Id: Id9fb3108facec61eb6de0a2d16546f1187465e50
Reviewed-on: https://gerrit.libreoffice.org/6861
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 05:05:06 -06:00
Khaled Hosny
003a3d7a55 No more uses of printer built in fonts
Less parsing of AFM files at startup.

Change-Id: I62d4c81d6e892f2356df22b53bb35c0f9f7bc344
Reviewed-on: https://gerrit.libreoffice.org/6860
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 05:04:04 -06:00
Khaled Hosny
ef1b4c3a5e Device-specific font substitution is not used
This was only used for printer built in fonts, which was dropped in the
previous commit.

Change-Id: Iff62786284470ff3873c8d4b0aae0614bf69c7f3
Reviewed-on: https://gerrit.libreoffice.org/6859
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 05:01:50 -06:00
Khaled Hosny
24657548a7 Don't perform printer font substitution
The so called printer resident fonts is a relic of a bygone era, when
life was simple and there was only ASCII and Type1 fonts.

It is just broken by design these days, offers nothing useful and can go
wrong in many ways. Since 1f3a91cf2ace315fb332c0149808a2433eb9ae71 this
"feature" is disabled by default anyway, so scrap this code to make room
for some long due cleanup.

Change-Id: Id124b2cad1a484099701a885c4d96e6a12af8d9a
Reviewed-on: https://gerrit.libreoffice.org/6858
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 04:59:47 -06:00
Khaled Hosny
6230cdd2d8 Drop font substitution tab page
The relevant VCL code will be dropped in the next commits.

Change-Id: Ieaa550d671fa43f2e5a96e2df7f256de2faf2fa4
Reviewed-on: https://gerrit.libreoffice.org/6857
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 04:55:11 -06:00
Arnaud Versini
c0125d64cb VCL : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.

Change-Id: I6a785b42be72736560ec69f1a7949f2f0b9414a3
Reviewed-on: https://gerrit.libreoffice.org/6805
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 04:50:21 -06:00
Marcos Paulo de Souza
35c1d6f761 fdo#60698: Merge hatchwindowfactory into svt
They are used at same conditions, and hatchwindowfactory just have
four files, so we don'y have any reason to keep them separated.

Change-Id: Iae3bb26ab1e95a309bf0d83c4ef17a0bf0261179
Reviewed-on: https://gerrit.libreoffice.org/6811
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04 04:47:39 -06:00
Stephan Bergmann
42b7335391 Revert "throw new ..." fix in Managed C++ code
...where it is correct and 336353a87e6003e685aab87ea74a158546e1f297 "Related
rhbz#867808: More apparently bogus 'throw new ...' in C++ code" had changed it
by accident.

Change-Id: Id7fc1adf8c0068a3b59794d156b21f68b5ac7e72
2013-12-04 11:38:04 +01:00
Miklos Vajna
1da04bd7a8 SwRTFWriter: fix string conversion
Regression from 02bfed8a53556badfea637930b05d923cf9465f2 (convert
sw/source/filter/ww8/*.cxx from String to OUString, 2013-10-14), check
for string length before invoking OUString::operator[].

This can be reproduced if copy&pasting some text inside a Writer doc
from normal text to rectangle shapes inside group shapes.

Change-Id: Ia8f774b27ca63773792e6af913dfe7e493bea4b8
2013-12-04 10:56:33 +01:00
Noel Grandin
564ee696c9 fix SwInterHyphInfo commit again
The original commit was eb56848029a3b26a9d4f07a55364749e9e7d8339
"convert SwInterHyphInfo from xub_StrLen->sal_Int32"

My first attempt at fixing the commit was
a073e81c3acb0c4aa3bc4fde146b6eb9869738e1.

This is the second attempt.

Change-Id: I030c0a3107e1321006744473efe3ca3341251ad4
2013-12-04 11:47:58 +02:00
Noel Grandin
a073e81c3a fix SwInterHyphInfo commit
fix for commit eb56848029a3b26a9d4f07a55364749e9e7d8339
"convert SwInterHyphInfo from xub_StrLen->sal_Int32"

Change-Id: I197edf7d5558cd44200f8f04ba29f028fba25639
2013-12-04 11:29:15 +02:00
Noel Grandin
b273106226 convert OutputDevice::HasGlyphs from xub_StrLen->sal_Int32
Change-Id: Ic8f0ae3d263d6cb02e6faa7226db0241681fc45f
2013-12-04 11:29:14 +02:00
David Tardon
79eab004dc upload libodfgen-0.0.4
Change-Id: I1c0527b01a958fca6e0cb3febb1915762f8a0074
2013-12-04 10:04:48 +01:00
David Tardon
5ae5901ccb upload libetonyek-0.0.2
Change-Id: I3eed72cf1aa4ee1dc1f931a3d4245d8cc4d69897
2013-12-04 10:02:45 +01:00
Noel Grandin
d6de313b04 STRING_NOTFOUND is no more
Change-Id: Ia8937e07786c497c5cb8485fa161fd68231c17f8
2013-12-04 08:55:36 +02:00
Noel Grandin
eb56848029 convert SwInterHyphInfo from xub_StrLen->sal_Int32
Change-Id: Ie5a877fb90c360506f05d0417524966e137e5d77
2013-12-04 08:55:35 +02:00
Noel Grandin
e7c10fba90 remove usage of STRING_NOTFOUND in formula.cxx
and tidy up the method a little

Change-Id: I408fd96286749ec9e3743dbdad8cf424a7bb9035
2013-12-04 08:55:35 +02:00
Noel Grandin
a0be5278c2 remove condition that cannot be hit
GetFunctionEnd cannot return STRING_NOTFOUND

Change-Id: Ic9abee0ea77789e01acedf57c6c13edb0a5c08d9
2013-12-04 08:55:35 +02:00
Noel Grandin
8b306ebb2c convert xub_StrLen->sal_Int32 in doctxm.cxx
Change-Id: I0981631d516e18c065c3f5fcc1a049119b47ec76
2013-12-04 08:55:34 +02:00
Noel Grandin
39c8524f7d remove some STRING_NOTFOUND usage
from old, probably dead code. Completely untested. But at
least it's not in my grep results anymore.

Change-Id: I9d917d0558bcab25a48fa36140beaa92150b62c9
2013-12-04 08:55:34 +02:00
Noel Grandin
aa4a39c9d7 remove unused #define SQL_COLUMN_NOTFOUND
Change-Id: Ic8914484c23c586036280bdf12a3fef3128d03ff
2013-12-04 08:55:34 +02:00
Eike Rathke
882665d821 resolved fdo#72288 made case insensitive matrix string query work again
The SharedString stored at ScQueryEntry::Item was constructed from an
OUString passed from ScMatrixValue::GetString() so
rItem.maString.getDataIgnoreCase() in QueryEvaluator::compareByString()
was NULL and never evaluated equal. Made ScMatrixValue::GetString()
return a SharedString instead.

Change-Id: I473d5724dfb97707fea58e6b72b1396c049b79c8
2013-12-04 00:38:12 +01:00
Eike Rathke
bfd1909c87 remove and reinsert formula cell from/to tree during CompileXML
... to keep the count updated, which actually silences the dbgutil
warning of ScDocument::RemoveFromFormulaTree() when loading .ods

Change-Id: I8453d688ca673a47fee15c84478262e1da53e408
2013-12-03 22:11:15 +01:00
Matúš Kukan
7eb3e0b389 Kill --with-check-jobs as it is ignored anyway.
since 4eebd65858655eef3f39e40ecbe74c505f6b4688

Change-Id: Ia754906e0de06690e43f2b1063f315659e50da3e
2013-12-03 21:42:19 +01:00
Michael Stahl
37d9edc4a7 vcl: d'oh /me still to dumb to type
Change-Id: Ie8a5b7493c08a0a63f2791d3cfb00b490609eb7c
2013-12-03 21:20:33 +01:00
Michael Stahl
c4d79527ce vcl: fix sal_Int32 GetTextBreak harder
Change-Id: I75181d12ca8b883055e5314504633af38b5e49c7
2013-12-03 21:09:43 +01:00
Michael Stahl
af43ae6f85 vcl: try to fix some sal_Int32 GetTextBreak()s
Change-Id: If4aee2b42f0d2e15ca228863754959b7486437ee
2013-12-03 20:30:08 +01:00
Winfried Donkers
c3760e9099 fdo#70797 fix incorrect argument handling of CHISQ.DIST
Change-Id: I6187aa673034e6dc18f48f7b6b7ac88989ab55ec
Reviewed-on: https://gerrit.libreoffice.org/6914
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-12-03 11:50:47 -06:00
Stephan Bergmann
b40dcdf4f5 -Werror=unused-parameter
Change-Id: I4dfa96b8ea2684969d9eeecfd88136742ce2d4a1
2013-12-03 18:04:20 +01:00
Caolán McNamara
d83328b233 longparas: convert GetTextBreak to sal_Int32
Change-Id: I693e4c9916e1968c33ebd922829662f6efc27bfb
2013-12-03 16:09:36 +00:00
Caolán McNamara
f1bd4db855 drop unused argument
Change-Id: Ifc262144b7a4c027529ad2927996a4ebf766a5c2
2013-12-03 16:09:36 +00:00
Caolán McNamara
434bcc93d9 we don't need to copy this string anymore
Change-Id: Ie705cb2c949ef9212a69c9d875e3c3217a3146bb
2013-12-03 16:09:35 +00:00
Stephan Bergmann
86268546a0 Clean up string concatenation
Change-Id: I83515f8907b000eb0506410e9b04f28f4257a3b8
2013-12-03 16:23:14 +01:00
Stephan Bergmann
214c379958 Clean up use of OSL debug functionality
Change-Id: I1efcdb7359ac43ee50d2f526bc29a10b1bef35b4
2013-12-03 16:23:14 +01:00
Stephan Bergmann
413be25c24 Remove long dead workaround
Change-Id: I0a388b0a4bd2dd651e4c65d96aec648115189224
2013-12-03 16:23:13 +01:00
Miklos Vajna
197ec9cf1b DOCX drawingML groupshape import: fix relative position
Change-Id: Ice07f423707b48a013a9b6325b11f88206c38e60
2013-12-03 15:39:04 +01:00
Miklos Vajna
57450afb76 DOCX import: declare wps as a supported feature
This means in case we hit an mc:AlternateContent element, we will read
the mc:Choice branch of it, in case wps is the required feature, not the
mc:Fallback one, which contains the information in VML format (after a
lossy conversion).

Change-Id: I476156bd1a39927dda903d14540155d1e62a211e
2013-12-03 15:39:04 +01:00
Stephan Bergmann
ddbeaada1c BRIDGES_JNI_UNO_FORCE_BOXED_ANY is undefined
...ever since its inception in 4afcc7135e0bef66e7a218141bc93a6aa6128fd8
"MWS_SRX644: migrate branch mws_srx644 -> HEAD."

Change-Id: I82d3158b813fec89567fd94ed9ccc05944228161
2013-12-03 14:36:18 +01:00
Markus Mohrhard
48dad589e3 fix crash when no platform is available
Change-Id: I730cd231ab6fe4626fefc1ddab67c1b9d77ecd0a
2013-12-03 16:26:32 +01:00
Michael Stahl
b6785eb595 sax: stop using SAX_DLLIMPLEMENTATION for both sax and fastsax
Change-Id: I243ec20015beec6b98ee0af55eb7c387008f32f1
2013-12-03 13:29:35 +01:00
Michael Stahl
4c9ddd594e SwAccessibleFrameBase::Modify(): avoid accessing deleted mpFrm
In ~SwDoc when a SwFmt is deleted,
SwAccessibleNoTextFrame::GetNoTxtNode() would access the mpFrm which
at that point was already deleted too; avoid that by returning early.

This can be reproduced by closing the bugdoc from fdo#71450.

Change-Id: Ide4d42511ccad116fa0362c23ced299d8430d08a
2013-12-03 13:29:35 +01:00
Michael Stahl
c6f3d909f8 sw: valgrind complains about uninitialized mbIsPrepareSelAll
Change-Id: I5405a6818fc63c3e29bb189858fd0abc73f67e43
2013-12-03 13:29:34 +01:00
Caolán McNamara
a13c56fbaf FLT_TOOL_PANEL_DOCKING_WINDOW unused
Change-Id: I825cdefc5aef92d271ded4a35a21a441bc7325c6
2013-12-03 11:52:15 +00:00
Caolán McNamara
1ef873db6e unused .src file
Change-Id: Icf396b255fa9a8dda7e1d990da7e0a8a27869157
2013-12-03 11:47:40 +00:00
Caolán McNamara
bb8d288bdb drop now unused helpids
Change-Id: Ic72252c359e231cad4e3a28591883f6adde1bb79
2013-12-03 11:40:18 +00:00
Caolán McNamara
27c0248007 Updated core
Project: help  669b94349794029c207147d7d3702540a44f8444
2013-12-03 05:39:45 -06:00
Tor Lillqvist
a718fef094 Use our header guard convention
Using identifiers starting with underscores is questionable even if they don't
happen to clash with anything used by the language implementation.

Change-Id: I0af605d40d85ea7e47e1047572fbe180270e08ac
2013-12-03 13:37:37 +02:00
Tor Lillqvist
c7fd6b857f Bin pointless header inclusion guard
Change-Id: I8efa6fe219df952586aef84db406dd1190e451d5
2013-12-03 13:37:37 +02:00
Tor Lillqvist
a21825faf0 No _SV_AccObjectWinManager_HXX anywhere
Change-Id: I0ab040ae4379995353009f3e852e6efc6760fb59
2013-12-03 13:37:37 +02:00