Commit Graph

375379 Commits

Author SHA1 Message Date
Matteo Casalin
abfb418cbf sal_uInt16 to sal_Int16
Change-Id: I0791354f79017ac8100920568519f5a8bcb398f2
2015-06-02 09:20:58 +02:00
Matteo Casalin
60d11ff67d Data members are already accessible by member functions
Change-Id: Ia56f23b0fca318131b8a985964c79a193c38f4e2
2015-06-02 09:20:58 +02:00
Miklos Vajna
290cc96e98 SwDBManager: refer embedded data source from doc settings
So that next time the document is loaded, we can find it.

With this, the MM wizard can create embedded data source definitions
which can be saved / loaded back from/to ODF properly.

Change-Id: I5d012ce7fe878bb23ef6dac4526254cbee2683fb
2015-06-02 09:20:02 +02:00
Miklos Vajna
3dc2080588 sw: prefix remaining _SectionSaveStruct members
Change-Id: Ia321a8fd657ea7d610f8a349b99d6dc91fd6d847
2015-06-02 08:48:31 +02:00
Takeshi Abe
8d46bc15e9 Fix a wrong bit mask for StreamMode
... introduced at 7f8f277b94

Change-Id: Ic9e2f6f5e01652744011a7e8a5f69f386efd6b52
Reviewed-on: https://gerrit.libreoffice.org/16015
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-02 05:15:07 +00:00
Yousuf Philips
0d7935bda6 Reorganize the entries in the column and row context menus
Change-Id: Ia833a7ca147b9a2730715de14cc18f6d839cdb2a
Reviewed-on: https://gerrit.libreoffice.org/16012
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-01 22:30:55 +00:00
Yousuf Philips
fad8ed5853 TANGO: Fixing icon and adding new outline icons
Change-Id: Iff96914419f7f5bb29a2f3e101ddfd52504e4339
Reviewed-on: https://gerrit.libreoffice.org/16021
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-01 22:29:43 +00:00
Markus Mohrhard
b8bd51de83 the test works much better if you really use en_US as language
Change-Id: Ie936bfb6ae03a6a3abd8175938555aea99790959
2015-06-02 00:14:44 +02:00
Markus Mohrhard
12e30adf9d add initial IsNumberFormat test
Change-Id: Idfd51360bfe8d857838ee522b8a9d3d3de06952b
2015-06-02 00:14:44 +02:00
Markus Mohrhard
278e2b36d2 remove empty lines and bring some sanity in comment positions
Change-Id: I82b5e3df6a0926291719f619f344c3cccbd196e6
2015-06-02 00:14:43 +02:00
Markus Mohrhard
6c7b5b03ce no need to make that separate statements
Change-Id: I2b08d200f1e361cdb3f3d3c12fec1b3377b81e30
2015-06-02 00:14:43 +02:00
Markus Mohrhard
9509ce6103 some whitespace clean-up
Change-Id: I80aa6692c528176e38b5414145b484a32a9906f6
2015-06-02 00:14:43 +02:00
Markus Mohrhard
3ba41fe801 document chart2 layout dump
Change-Id: Iad7975eed4508e2b78ec8376a9a4db0679442a55
2015-06-02 00:14:43 +02:00
Markus Mohrhard
e6c499c4cb OSL_FAIL to SAL_WARN
Change-Id: Ic5d96e091f307798941e43368cbd2daf9f84e73c
2015-06-02 00:14:42 +02:00
Markus Mohrhard
f0c26f340b move header file out sc/inc
Change-Id: I1b8e94612ffb4cf71bb16b424af37f4f8781775f
2015-06-02 00:14:42 +02:00
Markus Mohrhard
5a182a26dd remove unused include
Change-Id: I2dd5d2c87849c27ed96890699e326a26a19b14a4
2015-06-02 00:14:42 +02:00
Katarina Behrens
0e2ef262be tdf#88276: Add background colour toolbar and sidebar buttons
but they do nothing yet, follow-up commit(s) add real functionality
to them

Change-Id: Ieac5d0326b284069b8da1b39f94bdb5a8c84b6dd
Reviewed-on: https://gerrit.libreoffice.org/15841
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-01 17:13:23 +00:00
Katarina Behrens
c1b9d61bac tdf#88276: Add slot and handlers for toolbar|sidebar buttons
those changes make getting/setting of text background colour
possible from toolbar and sidebar buttons, but likely more
handlers needs to be added to various other places in the code

Change-Id: I698ca2304399befdd63317eb8872aa3129f27637
Reviewed-on: https://gerrit.libreoffice.org/15909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-01 17:12:21 +00:00
Rene Engelhard
4e6713e923 add libebook-1.2.so.16 in EApi.cxx
Change-Id: I3f361a3d6d90b3449e0bf417fd39d756ad98cae6
2015-06-01 18:43:22 +02:00
Caolán McNamara
0478577599 coverity#1302688 Resource leak
Change-Id: I78ed5df0d18da9374092c8d2d4fca43cba0f8a88
2015-06-01 17:41:22 +01:00
Caolán McNamara
52052e5b03 coverity#1302690 Uninitialized pointer field
Change-Id: Idea6c8a988cdff9fd7c99fb0d37935f391ba0da2
2015-06-01 17:41:21 +01:00
Caolán McNamara
5f1a267c9a coverity#1302689 Uninitialized scalar field
Change-Id: I1515ab21370e70564f266cbaa21769d28716d85c
2015-06-01 17:41:21 +01:00
Caolán McNamara
7fd544da2e coverity#1302664 Unchecked dynamic_cast
and

coverity#1302661 Unchecked dynamic_cast

Change-Id: I29735d3627c9d600465c02482002134cd196e098
2015-06-01 17:41:21 +01:00
Caolán McNamara
7e5d98c427 masses of coverity FORWARD_NULL warnings from copied assert
Change-Id: I8f698bbcf4d53a4477cc0ee0c3f2c7f08e521f8a
2015-06-01 17:41:20 +01:00
Caolán McNamara
a08f0aa285 coverity#1302609 Division or modulo by zero
Change-Id: Ia578a948b776c15372d3940b350f20048bb6124c
2015-06-01 17:41:20 +01:00
Caolán McNamara
1abbba1d09 coverity#1302608 gtk3 Logically dead code
Change-Id: I7e727bc71a5fb02d89eb6b4fb35cda26bcfa617a
2015-06-01 17:41:19 +01:00
Caolán McNamara
0b25823ece coverity#1302691 gtk3 Unused value
Change-Id: Iabd10ef2c77dc389c6afdba1d38064e54bf3198d
2015-06-01 17:41:19 +01:00
Stephan Bergmann
55431a84c2 minor simplification
Change-Id: Iad908728d63b0dcf3bef0a76c9d2fa3c892bf986
2015-06-01 18:26:34 +02:00
Miklos Vajna
54619b4fa1 CppunitTest_sw_tiledrendering: add search start point testcase
Fails without the sw/source hunk of commit
1dc60bc9e9 (SvxSearchItem: add
m_nStartPoint{X,Y}, 2015-05-28).

Change-Id: I7b13294760a8a3c9c413a4a11582bc2a14d3d499
2015-06-01 17:24:21 +02:00
Michael Stahl
15cd958a8a xmloff: don't add FIELD namespace twice
The first place already checks SvXMLExportFlags::CONTENT, so the second
Add is unnecessary (and for versions <= 1.2 it shouldn't be exported).

Change-Id: If2e471b50fcf21ad8977de48c433b628c5c03305
2015-06-01 16:40:48 +02:00
Eike Rathke
fe2c7b2515 Resolves: tdf#91420 "Jan1, 2015" is a valid date
Regression introduced with 43624d9370 that
fixed tdf#34724

Change-Id: I44b5eac6e4ce5a38855148efecea5f2a987ed213
2015-06-01 16:36:58 +02:00
Michael Stahl
54a6e4841c sw: SwTxtNode::CutImpl(): destination must be different node
Remove more dead code.:

Change-Id: I9572228be0e5393351a7d22eb23e1f188423a219
2015-06-01 15:50:39 +02:00
Michael Stahl
38e5251a82 sw: SwTxtNode::CutImpl(): destination must be in same SwDoc
Change-Id: I541dad26125bcd98e9c74016ecd03cd7f8bc71e6
2015-06-01 15:50:39 +02:00
Michael Stahl
5dc453ac90 sw: SwTxtNode::CutText() requires a destination
Remove dead code.

Change-Id: Ib6a75718d411effe87d59d30420e2e9d7f15984e
2015-06-01 15:50:39 +02:00
Matteo Casalin
b265ddb923 Avoid temporary OUStrings
Change-Id: If82d849f15e4218d8848a6fcdd507f0ef50d3edc
2015-06-01 15:48:07 +02:00
Matteo Casalin
43e8a85e36 Prefix data members
Change-Id: I8b0fa3e95a5e3ed357bd5daa290e2309e86272e6
2015-06-01 15:25:57 +02:00
Matteo Casalin
38e2c36f5d This member can be const
Change-Id: I53c63bd5734635540ff9c4edfb698c16ac4fca17
2015-06-01 15:25:56 +02:00
Matteo Casalin
92bab25a7d Use initialization list
Change-Id: Ibaddbd1dfc11382ead2f5ad4ed369bb0cc750fd7
2015-06-01 15:25:56 +02:00
Noel Grandin
404943048e remove unused BASEBMP_NO_NESTED_TEMPLATE_PARAMETER
Change-Id: I631b5fa984f5a59619aef62e38a503239989b253
2015-06-01 14:59:38 +02:00
Michael Stahl
d3171eb7d0 gbuild: document what CFLAGS/CXXFLAGS etc. *actually* do
Looks like following GNU build system standards isn't necessarily the
best idea, if even the documentation gets it wrong.
Also document the ENVCFLAGS/ENVCFLAGSCXX variables.

see also: i#116959 and:
http://www.gnu.org/software/autoconf/manual/standards.html#Command-Variables

Change-Id: I56d8623cbbc800ef80da1610f6fd104ac29beaf9
2015-06-01 14:44:49 +02:00
Matteo Casalin
89fbad85dc Fix typos in comments
Change-Id: I2b8c08ee1a1e45347158f77ff25bee6adbaace94
2015-06-01 13:04:13 +02:00
Matteo Casalin
69a8d81b48 sal_uInt16 to sal_Int32, and use -1 as a special case
Change-Id: Iaf90f96665781d3aa43f1f71802538f54409bd4a
2015-06-01 13:04:13 +02:00
Matteo Casalin
151363ed2e Translate German message
Change-Id: Idbb72bc894cb8053e329a2713916cf896337351f
2015-06-01 13:04:12 +02:00
Miklos Vajna
54bf49a2be SwDBManager: embed data source definition if possible
In the past SwDBManager (used by the MM wizard) created a smaller .odb
file in the home directory by default in case the data source was
something external (.ods file, etc).

If the document is saved already (and experimental mode is enabled, as
this is still a work in progress), then stop saving these small .odb
files to the home directory, instead embed the data source definition
into the currently active .odt file.

Previously created such separate .odb files are still fully supported,
of course.

Change-Id: I7c1776e5ed57cdde05c0adfc5f7d1dc485363f03
2015-06-01 12:30:26 +02:00
Miklos Vajna
b499739c43 dbaccess: add support for storing ODatabaseDocument to a sub-storage
When Writer creates an embedded data source definition, it should be
stored on the storage of the Writer document, so Writer sets the
TargetStorage and StreamRelPath parameters of the storeAsURL() call.

Let ODatabaseDocument::impl_storeAs_throw() and
ODatabaseDocument::impl_writeStorage_throw() respect these, so the save
actually succeeds.

Change-Id: I4568ef96204a219b813142d7b5eebe9f1ec5e22e
2015-06-01 12:30:26 +02:00
Noel Grandin
aa25be5965 loplugin:loopvartoosmall
Change-Id: Iafe55d4aa65a380d8d338edd54338f53a3e920dc
2015-06-01 12:29:42 +02:00
László Németh
4a91d5ee95 Add translation support for short names of Emoji and other symbols
See also https://wiki.documentfoundation.org/Emoji

Change-Id: Ifd534bca1cd0dce017b9e5a9335f4ee52df1c8da
2015-06-01 11:11:51 +02:00
Stephan Bergmann
e9d055bf67 Do not lose AssertionError from sub-threads
Change-Id: I8ca7194be6d22b72b73e76e5067273090b087b96
2015-06-01 11:07:31 +02:00
Michael Meeks
bd2f71fc26 Remove unused icgm filter VirtualDevice member.
Change-Id: I899e6cbc2fe9453ba048cd2dd147a2a29b166f22
2015-06-01 09:35:57 +01:00
Julien Nabet
c709da10fb tdf#91782 - fix VirtualDevice allocation crasher in eps filter.
Change-Id: I59cc13cebf9a15e873cd0b7f8fccffa37a6a8f39
2015-06-01 09:31:50 +01:00