Commit Graph

362310 Commits

Author SHA1 Message Date
Norbert Thiebaud
e6fe838778 we should convert to DOS path for other exotic things than spaces too
backslases and other 'special' characters can mess with
later path handling

Change-Id: Ic21b0eb82b60ffb2e286706be00148582ff9ad58
2014-10-18 15:07:19 -05:00
Norbert Thiebaud
ebc9ca1d41 fix typo in TARFILE_LOCATION handling in the lode case
Change-Id: I11831583a0288a07fd6279411069d169ab854882
2014-10-18 15:05:23 -05:00
Norbert Thiebaud
d4d85fb9fc format MSBuild path appropriately
Change-Id: I38ed000a0f9c07fe8e1ed26752af8e172998bf2c
2014-10-18 15:04:43 -05:00
Norbert Thiebaud
76397a8b53 windows: try to locate a good MSBuild.exe based on the version of VS
lcms2 for instance call MSBuild.exe, naked. it relies on what is found
in the PATH, but apparently MSBuild.exe can be found in many places
including for instance the .NET Framework.
This was causing failure with a VS2013

This patch inspect the registry to see if there is a MSBuild of the
same level than VS2013 and use that information to adjust the PATH
so that we invoke the right version.

Note: starting VS2013, Microsoft is numbering the version of MSBuild
with the same version number than VS itself.. so with VS2013 the version
of MSBuild is 12.0 (vs 4.0 before that)

Change-Id: I04c614116d1d365a10c9b9e0e8ce9571d770c065
2014-10-18 13:52:16 -05:00
Ruggero Cyrille
b77ea7496a Remove lwpunoheader.hxx.
Change-Id: I41534baa3cb98fc9af2f12605015a5653e552853
2014-10-18 15:29:06 -03:00
Noel Grandin
06562c6784 convert SV_BMP_ constants to enum
Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05
Reviewed-on: https://gerrit.libreoffice.org/12018
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-18 18:18:48 +00:00
Miklos Vajna
6118ea49ae i#74153 RTF import: fix track changes vs superscript char prop
Since 9dbf817fe5 (handle scope of
w:pPrChange and w:rPrChange properly (bnc#821804), 2014-10-01), this
caused an assertion failure -> crash.

Change-Id: I680edf58854d0c9be6e77c44c1e6beb1e0442a49
2014-10-18 16:15:29 +02:00
Christian M. Heller
e556657e36 fdo#39468 Translate German Comments - sc/source/filter/{lotus,rtf}
Change-Id: Ib5f1865cfd5d62f45919af8119d4ab691811225b
Reviewed-on: https://gerrit.libreoffice.org/12021
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-18 13:59:31 +00:00
Miklos Vajna
42f767f49c CppunitTest_sw_odfimport: enable all but one asserts on OS X
Change-Id: I95421d51a2750507aec5a576e161efe578fef812
Reviewed-on: https://gerrit.libreoffice.org/12020
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-10-18 13:20:00 +00:00
Miklos Vajna
fdfc82ff2a move doxygen comments to header
Change-Id: I828f4290c99e750df66548109ef8ae9b496af297
2014-10-18 15:17:34 +02:00
Miklos Vajna
e094ac0ff9 sw: remaining unused methods
Change-Id: Ie150d2e497053966c5f75cea50c87888fda98659
2014-10-18 15:17:34 +02:00
Robert Antoni Buj i Gelonch
9e207520a6 xmerge: use java.nio.ByteBuffer (JDK 1.4+)
Change-Id: I6072bb4699c9cd361e0cfe0a12b46cfc1abfe368
Reviewed-on: https://gerrit.libreoffice.org/11998
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-18 13:05:29 +00:00
Miklos Vajna
7d966b1d68 SwDoc: remove unused methods
Change-Id: I073372b74d0362eaffdc1dddfbef8767e58b0fd6
2014-10-18 13:51:51 +02:00
Julien Nabet
25548c57ee cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I0dd2f1d2efef7995aaf2ab7656c24178a02eb9cd
2014-10-18 13:02:13 +02:00
Caolán McNamara
6118c11a0c coverity#1242582 Untrusted loop bound
Change-Id: I72d2c4979b62a025d212ce5ee3b7141c40376fa7
2014-10-18 10:45:29 +01:00
Caolán McNamara
0445a0ea1b add a regression test for .met files
OS/2 Metafile Format

aka

Presentation Manager Metafile File Format

this format appears to not to have a mime-type

Change-Id: I8b2356fb42272a6e0550abf09f46b051d22b64a5
2014-10-18 10:45:29 +01:00
Caolán McNamara
11a514e06b coverity#1242573 Untrusted loop bound
Change-Id: Ic84e57fbfa2b532409865c4364b91be594d252cf
2014-10-18 10:45:29 +01:00
Caolán McNamara
5e2d089f76 coverity#1242573 Untrusted loop bound
Change-Id: Id2847c55ccab7272919e76542bc0e0570bc9af12
2014-10-18 10:45:28 +01:00
Caolán McNamara
5a89092d5f coverity#1222238 Untrusted loop bound
Change-Id: I1a4dec8727d0a27f7fd0396fd22d955f61daaee4
2014-10-18 10:45:28 +01:00
Caolán McNamara
38a1f24c4c coverity#1209860 try and silence Untrusted loop bound warning
we kind of have to trust this data

Change-Id: I1b74f8ad95008f5e759fd2267c879091edc5d58e
2014-10-18 10:45:28 +01:00
Andras Timar
d634a61ebd vcl/layout.hxx was included twice
Change-Id: I03a30793e02def731cb6c8f130c48aeb325a2528
2014-10-18 11:19:27 +02:00
Robert Antoni Buj i Gelonch
d807cba9ee java: loss of precission
Change-Id: I0563a76b1d2c838e6301bf7a9ed154c77a98c0d9
Reviewed-on: https://gerrit.libreoffice.org/12000
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-18 08:40:17 +00:00
Philipp Weissenbacher
b6c32f3fd3 fdo#39468 Translate German comments - sw/source/core/{sw3io|swg|unocore}
- Convert Deutsche Mark (DM) to Euro (EUR)
- Fix some whitespace

Change-Id: I94e0c9cbf5f5defca2e0d0f59f08592a914a381b
Reviewed-on: https://gerrit.libreoffice.org/12011
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-18 08:16:12 +00:00
Robert Antoni Buj i Gelonch
eb6c538424 javaunohelper: remove unused import
Change-Id: Ibee790a50e35219a8427b7037331943b778292a2
Reviewed-on: https://gerrit.libreoffice.org/11997
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-18 08:12:51 +00:00
Kohei Yoshida
7fef943114 fdo#80284: Avoid broadcasting during cell delete & shift.
Broadcasting it here and marking formula cells dirty prevents them
from being entered into the formula tree at the end.  They get marked
"postponed dirty" during reference update, and are supposed to be
set dirty at the end.

Change-Id: I65977300ee4ee26b6166d170acd2145abcbbf288
2014-10-17 21:53:21 -04:00
Kohei Yoshida
f961771e31 fdo#80284: Write test for this first.
Change-Id: I2fe455fc627e4b358507b58f08a3198ac62edad0
2014-10-17 21:53:20 -04:00
Kohei Yoshida
a648231b92 Move these tests to ucalc_formula.cxx.
Change-Id: I4f9bc7ba26d42bfd3982efeb69bc221fc028c629
2014-10-17 19:25:41 -04:00
David Tardon
18bb0ac9ee another blind attempt to fix the test
Change-Id: I7ac53b340cf3a9f72a90414e09ddd37148ecd28a
2014-10-17 23:25:04 +02:00
David Tardon
a43ba14c53 correct cast
Change-Id: Ic79ce25bf4ceb4d715aabdabf3824304b02b1f38
2014-10-17 23:05:16 +02:00
David Tardon
5cdede38ff now why did i do this?
Change-Id: Icf1fc5643271672761b565c30382e70c689c29b4
2014-10-17 22:02:32 +02:00
Norbert Thiebaud
90c2dd6efb lode: fix LODE_HOME support for windows
Change-Id: I6b44707b8d1be526e6c0400d7c7104628b825fc5
2014-10-17 14:47:21 -05:00
David Tardon
bac6e18d68 fix long long -> BigInt for LONG_MAX value
Change-Id: I1cf551299bae925b5a5cf0a488b6cc3497d010bf
2014-10-17 21:45:21 +02:00
Miklos Vajna
68c9515daf pParagraphMarkerProperties can easily be a reference
Change-Id: Ida4309aeb69bde43f70415211490db657c7c7567
2014-10-17 21:26:51 +02:00
Christian Lohmaier
57ac36da7a Updated core
Project: translations  781673fea7346b0d148bf85984826c0556fdf1b9
2014-10-17 18:48:35 +00:00
Miklos Vajna
4bb872b192 DOCX export: fix handling of paragraph mark on empty paragraphs
The problem was that in case a paragraph is empty, and it has both a
character style and direct formatting, then the doc model created by the
ODT and DOCX import is like this:

<text>
  <attrset>
    <item whichId="8" which="character font size" value="nHeight: 240, nProp: 100"/>
  </attrset>
  <hints>
    <hint end="0" whichId="52" which="character format" value="name: hello"/>
  </hints>
</text>

I.e. the direct formatting is stored in the attribute set of the text
node directly, while the character style is stored as a hint.

MSWordExportBase::OutputTextNode() tried to read the hints and if there
were not any, then tried to read the attribute set, while in this
situation we need both.

Change-Id: I71fd10f6d00246348e77fee5431cb4e2a7c9b349
2014-10-17 18:27:16 +02:00
Jean-Pierre Ledure
f55a0a54b2 Access2Base - Internal redesign of root structure into a separate class module
Redesign of CurrentDb, CurrentDoc interfaces.
Creation of new Root_.xba class module.
Console logs, TempVars and Dialog collections are unchanged.

Change-Id: I573a75e8fb54b277aef84d4518cc8e5cc21d7270
2014-10-17 17:15:41 +02:00
Stephan Bergmann
01552f1e77 SID_TOGGLE_MENUBAR (aka slot:6661, .uno:MenuBarVisible) is dead
...since introduction of XLayoutManager's private:resource/menubar/menubar in
3fb2acf5b7 "INTEGRATION: CWS layoutmanager
(1.52.10); FILE MERGED" etc. and final removal of SID_TOGGLE_MENUBAR bits in
f605b16e39 "INTEGRATION: CWS sfxcleanup (1.119.8);
FILE MERGED" etc.

What still needs fixing are

  extensions/source/activex/SOActiveX.cxx
  odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
  odk/examples/OLE/activex/SOActiveX.cpp

in a similar way as e.g. 0273d3d81d "INTEGRATION:
CWS jl18 (1.6.8); FILE MERGED."

Change-Id: I52a43fc7186a4f60929ab6246a2da2e715be7510
2014-10-17 16:58:26 +02:00
Caolán McNamara
5bdfa8c124 Resolves: fdo#62682 crash on second export of svg
because the first export has left "dangling" CalcFieldValueHdl Links in
Outliners that got created based on the Drawing Outliner while it had a
temporary CalcFieldValueHdl installed, and didn't get the old CalcFieldValueHdl
installed when the old Drawing Outliner one was re-installed.

Change-Id: I064a154ece488c9a4c3467b753451df7e73ae883
2014-10-17 15:20:00 +01:00
Caolán McNamara
0c1e9111d0 coverity#704104 Unchecked return value
Change-Id: I4a2c49befe4baea10e36e0d612371fe8c91db401
2014-10-17 15:19:59 +01:00
Caolán McNamara
98a19ed065 coverity#735341 Unchecked return value from library
Change-Id: I8eb5158cb2aa39b5eac45c554d722b9de1c8abe8
2014-10-17 15:19:58 +01:00
Caolán McNamara
711e74544d coverity#1242624 Untrusted loop bound
Change-Id: If2ae1982eec100f5602a13d648beec247ced6aa2
2014-10-17 15:19:58 +01:00
Caolán McNamara
a4e0107000 coverity#1242604 attempt to silence Untrusted loop bound
Change-Id: I034fa25671cce8ba215d7b8b88f0dff5b26d40cb
2014-10-17 15:19:57 +01:00
Caolán McNamara
cf63ebe0f0 coverity#1242717 Untrusted loop bound
Change-Id: I983bba075ab9626c90555fa41f9d473ae60fafea
2014-10-17 15:19:56 +01:00
Caolán McNamara
bbe264a19f coverity#1242724 Untrusted value as argument
Change-Id: I6041d09ef0a4ed4af5f1bf93f31a1eac60be1af7
2014-10-17 15:19:56 +01:00
Caolán McNamara
be31503ef8 coverity#1242778 Untrusted value as argument
Change-Id: I34d5a5e7c5f0eef51d941c65ab73d5421d5a36cb
2014-10-17 15:19:55 +01:00
Caolán McNamara
b520fca88d coverity#1247647 Uncaught exception
Change-Id: I1e47f3970f944aa3556e4ddb9b7918d9ee23c0eb
2014-10-17 15:19:54 +01:00
Caolán McNamara
f5b1b266bc coverity#1247646 Uncaught exception
Change-Id: I332fb602466613e9e79ba4510879411e0bee9da6
2014-10-17 15:19:54 +01:00
Caolán McNamara
fc0e506d64 coverity#1247645 Uncaught exception
Change-Id: Id6596945d51a1b9f8750aa0f46f6a061cb2e80c3
2014-10-17 15:19:53 +01:00
Caolán McNamara
d4cdaa2ad6 coverity#1247644 Uncaught exception
Change-Id: Idbaef5c196c29a2e066f667e6bd50189a7b1834c
2014-10-17 15:19:53 +01:00
Caolán McNamara
d63f917d31 coverity#1247643 Uncaught exception
Change-Id: I0da9140bf1f76a92c95c042c5039f7cfdbde6c34
2014-10-17 15:19:52 +01:00