338187 Commits

Author SHA1 Message Date
Lionel Elie Mamane
bf967a4f15 deliver can use hardlink
Change-Id: Ia04eedc6375748505c954e2315a0c5af7afae84f
2013-11-09 06:36:50 +01:00
Lionel Elie Mamane
6f40eec725 Calc UNO API test
Change-Id: I6dcd9ac05ff7c4a6fbae7947b0ceda8797feea2f
2013-11-09 06:36:49 +01:00
Lionel Elie Mamane
10d6b8ed56 fixup sc chart regression test
does not pass though;
leave that to the domain experts

Change-Id: Ic8b712ad4e1eca892d51d03d3a93b8c8087074dc
2013-11-09 06:36:47 +01:00
Lionel Elie Mamane
4c64b8851b fixup and enable dbaccess macros_test
Change-Id: Ic5599df7a2ad7f2f3a9f2794b16ef0a4ab698b06
2013-11-09 06:36:46 +01:00
Lionel Elie Mamane
a071a29d4f UnoApiTest don't require Calc
There is no reason for the generic UnoApiTest to require Calc
specifically. Calc tests can/should instantiate a Calc instance.
We can create a CalcUnoApiTest for that that inherits from
UnoApiTest; however this does not seem necessary, "make sc.clean"
succeeds.

Anyway, the ScGlobals::ensure mentioned in the comment does not
seem to exist.

This allows us to eliminate some code duplication in tests
that were reimplementing UnoApiTest minus the Calc instantiation.

Change-Id: I37bea9df41e3960df0458fe689cf6c046a243617
2013-11-09 06:36:45 +01:00
Lionel Elie Mamane
e937995ca3 dbaccess DialogSaveTest not a UnoApiTest
It overrides everything that UnoApiTest does anyway.

Change-Id: I531b2245626cbfd8d13a48a710d409e30ba2d20a
2013-11-09 06:35:56 +01:00
Lionel Elie Mamane
d00c4476da fail early and hard
Change-Id: Ib550126d190e9436cf77e6c51eaf869ecd75a18b
2013-11-09 06:35:20 +01:00
Lionel Elie Mamane
1812d606b7 rptui::OShape make getSupportedServiceNames and supportsService
at the cost of inconsistency between getSupportedServiceNames and getSupportedServiceNames_Static

Change-Id: I940b23c35a6c4080eb6575adff1de0b08cdb3698
2013-11-09 06:35:19 +01:00
Julien Nabet
e9fdc84698 Typo
Change-Id: Ifb3b9c7a33b7faccbf7dad1886d953d845de3196
2013-11-09 00:29:32 +01:00
Andras Timar
f6449bf0bb fdo#67401 set AntiAliasing for SVG logo
Change-Id: I90aae11aca84c9c5445f58bdf76d65f0213a334c
2013-11-08 22:31:30 +01:00
Michael Stahl
63ce8673cf gbuild: Extension: avoid re-build on missing translation description.xml
Change-Id: I6292f4ec235f8880176c2671ec7c8533168cdbeb
2013-11-08 18:52:09 +01:00
Michael Stahl
7217ad84a3 gbuild: HelpTarget: avoid spurious rebuilds on missing translation
... if the darn files are allowed to be missing, use wildcard to avoid
dependencies on them.

Change-Id: I36a83413f8fb65b081681a8f351ec6afcf15fe6d
2013-11-08 18:52:08 +01:00
Michael Stahl
967391dca2 gbuild: AllLangResTarget: avoid spurious rebuilds on missing translation
... if the darn files are allowed to be missing, use wildcard to avoid
dependencies on them.

Change-Id: I5232efcb17342d0b2a1e909da6449b08c4148245
2013-11-08 18:52:08 +01:00
Michael Stahl
8c766a4993 gbuild: SdiTarget: .hxx file is always out-of-date
... so touch it to avoid that, just to avoid the "true" rule from being
invoked every time.

Change-Id: I6f27c6e4b0d071b9877a38dc1f4cd3c3eb10bfc0
2013-11-08 18:52:08 +01:00
Winfried Donkers
75601529a8 fdo#70797 add Excel 2010 functions
CHISQ.DIST, CHISQ.INV, CHISQ.TEST, CHISQ.DIST.RT, CHISQ.INV.RT

Change-Id: If32530a82b2e5fa1aa30a8c80090742be5acf3eb
Reviewed-on: https://gerrit.libreoffice.org/6611
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-11-08 11:34:04 -06:00
Stephan Bergmann
c69ed33628 Don't unnecessarily wrap RuntimeExceptions
(and IllegalArgumentException is a RuntimeException now)

Change-Id: Ic18f11ff7675878c7f6b5e9ee52453bbb9f1e787
2013-11-08 18:28:11 +01:00
Caolán McNamara
02f80eef3c longparas: these sal_uInt16s are really xub_StrLens
Change-Id: I54ecd08c4073f1de6dd28e7d6824d8cfde98254a
2013-11-08 17:18:31 +00:00
Caolán McNamara
3fa85c8716 longparas: these sal_uLongs are really xub_StrLens
Change-Id: Iebe3d5edccb6737da64aba5c3d61b9509ce7ec9d
2013-11-08 17:18:31 +00:00
Caolán McNamara
4536eefa32 longparas: these sal_uInt64s are really xub_StrLens
Change-Id: I5d6222372e79e6ccbcd6529ce5c88b3f082934c6
2013-11-08 17:18:31 +00:00
Caolán McNamara
cc7deac705 longparas: same variable used for two different loops of different types
Change-Id: I1efdeb3f9bbda47d8f465a04fb36164e7ffc347b
2013-11-08 17:18:31 +00:00
Caolán McNamara
aa92403a2b longparas: disentangle same variable used over two different loops
Change-Id: I22bbd777cb86decbbf714f71ff0477053ae3b757
2013-11-08 17:18:30 +00:00
Caolán McNamara
ea4fd6d5ca n is immediately overwritten
Change-Id: I51c511efcfaf2d97cefa42abea1d3e42c023fbbd
2013-11-08 17:18:30 +00:00
Caolán McNamara
5a792cefec safe xub_StrLen -> sal_Int32 conversion
Change-Id: I43c6ee0b794b1b77b790e5c36c852a0746437164
2013-11-08 17:18:30 +00:00
Caolán McNamara
64ed6187e6 safe STRING_NOTFOUND -> -1 conversion
Change-Id: Id66b9ff49289d90f2d0714bed84e886598f103ad
2013-11-08 17:18:30 +00:00
Caolán McNamara
b376eacdfa Access by AnchoredObject of a deleted SwLayoutFrm
as demonstrated by abi10075-1.doc

just register the AnchoredObjects in the SwLayoutFrm and
inform them when the SwLayoutFrm goes away.

This crash was triggered by "1e113cb7604e1509e7d598a9be329f1f7b6e9322" import
different first page header/footer from doc. But that commit is blameless.

Change-Id: Ia079cc635a81dff1ccbf740641f441aa784328a4
2013-11-08 17:18:29 +00:00
Armin Le Grand
050d2ceb53 Resolves: #i123616# be more flexible regarding the data type for polygon data
(cherry picked from commit 66c81c1a26d6d09c75c8b8ced44e4a0cf43819ee)

Conflicts:
	svx/source/unodraw/unoshape.cxx

Change-Id: I5ebb7b39a083bb6e007853f205bb39d434eb94ad
2013-11-08 17:18:29 +00:00
Stephan Bergmann
7af7023a42 Unwind confusing namespace alias
Change-Id: I08d3e5f71278c7f96adb2db546da5602df84aad8
2013-11-08 18:08:46 +01:00
Stephan Bergmann
dfe1a6fbd8 Unwind SFX_REFERER_USER
...and remove remaining unused content of sfx2/source/inc/referers.hxx.

Change-Id: I5c533f63e13da930f6944af0e85d4b061c30e5b0
2013-11-08 17:54:16 +01:00
Stephan Bergmann
ea1a7ba72e Clean up IsSecureURL
...to not use WildCard (in case a trusted location URI already contains an
unescaped "*"), be specific about matching only past a final "/", and rename to
isSecureMacroUri for clarification.

The check with an INET_PROT_NOT_VALID default INetURLObject in
SfxApplication::OpenDocExec_Impl ("we have to check the referer before
executing") had efficiently been dead since its inception in
14237ac4bf497decdde8b742acea23780833ba12 "#90880#: security checks corrected,"
as INET_PROT_NOT_VALID is considered secure regardless of referer anyway.

Change-Id: I03bca5e6dac89bb2aac52909aff273ea640228d8
2013-11-08 17:34:44 +01:00
Stanislav Horacek
81eba5c49d Updated core
Project: help  d0a1187fe4a823d1ee670f989d82b75abc0b9091

fdo#42023 correct options for table columns width

Change-Id: I9518c38350876e45de62aa6fb46a3b2bf9b5ef61
Reviewed-on: https://gerrit.libreoffice.org/6542
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-08 10:33:23 -06:00
Julien Nabet
fe5acac697 Silence -Wdeprecated-declarations for the moment
Change-Id: If08c7f72195dfff6ae3b7cb52b4137aeda3bc675
Reviewed-on: https://gerrit.libreoffice.org/6604
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-08 10:32:28 -06:00
Andrzej J.R. Hunt
61a20e43b1 SlideSorter: insert new slide on double-click.
Previously inserting a new slide required using a context menu
(via right-click) or the main menu-bar. It is now possible
to insert a blank slide by double-clicking in an empty area
of the slide sorter.

Change-Id: Id7ac5f9d3befd02d0a89ad5e1631885c0493ad3d
Reviewed-on: https://gerrit.libreoffice.org/6442
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-08 10:25:49 -06:00
Miklos Vajna
ffbad09336 SwDoc::DelNumRule: fix out-of-bounds index access
When nPos == USHRT_MAX, even if later we checked for that case, just for
the sake of an assert(), we already called operator[] with nPos.

(To reproduce: right click on List 1 -> New -> Cancel, results in a
crash.)

Change-Id: I465b5519000b79bd8b2eaa3b3c1ceb80a182a25a
2013-11-08 16:08:15 +01:00
Stephan Bergmann
797681b4f5 Pass all relevant CFLAGS on to external/libexttextcat
Change-Id: I05f25748dd29c80812328265ddb9f071ac4ae91a
2013-11-08 16:05:24 +01:00
Stephan Bergmann
669128178f Make INetURLObject-from-OUString ctor explicit
...and clean up call sites.

Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
2013-11-08 16:05:24 +01:00
Winfried Donkers
fa7085bd18 improve calc function CRITBINOM
CRITBINOM could not handle large sample quantities, e.g.
CRITBINOM(1080,0.5,0.1).
This patch fixes that and also improves the efficiency of
the function by always iterating from the end nearest to
the cumulative binomial distribution.

Change-Id: I35f965acc83e26141fb2cf5a7e3303ec0791f04a
Reviewed-on: https://gerrit.libreoffice.org/6559
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-11-08 08:54:12 -06:00
Michael Stahl
d199c01ec7 installer: the perl is borked
Apparently the $$languagesref in create_directories results in the full
path to services.rdb when called from mergemodules.pm as

 my $unpackdir = installer::systemactions::create_directories("cab", "");

... which apparently means that there's some variable whose name is the
empty string and whose value is the path to services.rdb.

Add some mysterious workaround suggested by mmeeks.

Change-Id: I6ba203f5cc44786969795eebab5359d5e9a8a12a
2013-11-08 15:46:48 +01:00
Michael Stahl
c5a7928fb5 warning C4805 unsafe mix of type sal_Bool and type bool
Change-Id: I00064edb5105ede4bdf6a0cdec4bab00cdd52331
2013-11-08 15:46:48 +01:00
Eike Rathke
9b10373eda "%1 is replaced to ..." ... maybe, or maybe not
Translations may have omitted the %1 placeholder in SCSTR_COLUMN and
SCSTR_ROW, or not have it translated newly yet because it was introduced
later. In these cases append the column indicator / row number as it was
done before.

Change-Id: I331cf0c529bebea02277784ea145c202eb6f6fda
2013-11-08 14:27:16 +01:00
Miklos Vajna
961e319da7 DOCX filter: handle numbering style's qFormat, rsid and friends
Change-Id: Ia261995b98e2108ab673c7b240a1aa822d3db96e
2013-11-08 14:23:12 +01:00
Miklos Vajna
d632598049 Introduce MSWordStyles::GetSwNumRule()
This is similar to GetSwFmt(), but for list styles.

Change-Id: I5c198c786e0c73c83430bd60b91d0ef85c7a49fc
2013-11-08 14:23:12 +01:00
Miklos Vajna
53163026ef sw: add InteropGrabBag for list styles
Change-Id: I2881a507d71aad10e39272141b5d63c6e39e2cc9
2013-11-08 14:23:12 +01:00
Miklos Vajna
605f7c34b8 SwNumRule: add getter / setter for InteropGrabBag
Change-Id: I6f76dbfd806139f141c054dccb0884be32511e06
2013-11-08 14:23:12 +01:00
Noel Grandin
272e48c681 remove unnecessary use of OUString constructor in SD module
Change-Id: Id3591b232b43deeb70e3e2fffb5c6a8f561223dd
2013-11-08 14:51:00 +02:00
Noel Grandin
9d7712b48d remove unnecessary use of OUString constructor in SFX2 module
Change-Id: Ieafc413136a9b4b907de034914d918212e4c16e3
2013-11-08 14:50:59 +02:00
Noel Grandin
da20c7f439 remove unnecessary use of OUString constructor in SHELL module
Change-Id: Ibdb750dc8e0f4cd0f186d5801c0a269edd939547
2013-11-08 14:50:59 +02:00
Noel Grandin
cd30747b74 remove unnecessary use of OUString constructor in STOC module
Change-Id: I980223cedb6d0054ef71cbd81691f70a24f506ad
2013-11-08 14:50:59 +02:00
Stephan Bergmann
c3e55a1f3b Hard-code the path to libgetuid.so in epmfile.pm
...so that it is still found after 7b3133ad882b24834f87b478d00bf4ee92d3cd63
"instsetoo_native: shouldn't need instdir in include path."  And no idea why
getuid was in PLAINLIBS_URE instead of PLAINLIBS_NONE.

Change-Id: I5de2a79cbd3c0064cd7776e269f4792304ec34e3
2013-11-08 12:35:15 +01:00
Eike Rathke
e8176a5d48 added Bamanankan/Bambara_Mali [bm-ML] locale data, fdo#71361
Change-Id: Ie1e8c4beb3d2e17d311a5363d82feddfdff8e958
2013-11-08 12:13:51 +01:00
Stephan Bergmann
06ee49358e Fix external/accessories filelist names
Change-Id: I1a2dc8d95e9d6037fe50d80ee87dbe35bed69fc9
2013-11-08 11:23:31 +01:00