340031 Commits

Author SHA1 Message Date
Matteo Casalin
ea0d3041a9 xub_StrLen to sal_Int32
Change-Id: Ifd4f78d422eb3ed04407e9c9edb30ef319cae2cb
2013-12-02 23:11:41 +01:00
Eike Rathke
0f8eef96d2 in .xlsx import append a parameter for CEILING, FLOOR and WEEKNUM again
7a3b8b1a5a753627c6518b9a5b8e2a041d4d6331 switched formula parsing from
API FormulaParser::importFormula() / ApiParserWrapper::parseFormula() to
ScCompiler, which means that also FormulaFinalizer::finalizeTokenArray()
is not executed anymore and processTokens() and processParameters() that
among others handled appending Calc-only and required parameters.

At least implement that parameter part at ScCompiler now.

Change-Id: Iaa2804c82ec43dd51f781485b0e2afab8c613638
2013-12-02 22:06:23 +01:00
Eike Rathke
5a5b35c979 added isOOXML()
Change-Id: I9e088e1d6679297884d71604b03537b73ee3387c
2013-12-02 22:06:22 +01:00
I-Jui (Ray) Sung
2dcee42f4e GPU Calc: cache the very last compiled program in memory
Change-Id: Ib805c31f0c1b57708c38c02a9bdc492af5c7a439
2013-12-02 13:00:18 -06:00
Andras Timar
d9a5a84e6d typo: intarnal -> internal
Change-Id: Ib7803de02d41440668b1e7410dfe0fa40ca2a536
2013-12-02 19:56:46 +01:00
Miklos Vajna
7f9a03e1b7 msfilter: add a drawingML -> VML map
This can be used later for the VML or binary export of shapes imported
from drawingML. Note that without this, drawingML shapes won't be
exported to VML, as e.g. for a triangle it expects a
'isosceles-triangle' type, while the shype's type is 'ooxml-triangle'.

Change-Id: I59abc27febdd026c181a7ff38b16c93567058cb9
2013-12-02 19:04:18 +01:00
Miklos Vajna
8dbedf1667 oox: move lcl_GetPresetGeometry to msfilter, so filter can use it
Change-Id: Ia741d392a87eaa2f02615a6c9626417a420f205c
2013-12-02 19:04:18 +01:00
Eike Rathke
8302495a21 store internal CONVERT to .xlsx/.xls and distinguish from CONVERT_ADD
Change-Id: Ie9b5f6ade1c25618aa990ce17bd7b2a2b46a250a
2013-12-02 18:58:00 +01:00
Stephan Bergmann
f89914011c fix previous fix
Change-Id: I0ceaf6367163bbe8aa0f0774961f2e2398471aef
2013-12-02 18:02:03 +01:00
Stephan Bergmann
1d0d881bc9 -Werror,-Wunused-variable
...plus clean-up

Change-Id: I37252f505c76f6f6be14873e13da4e660a4a623a
2013-12-02 17:59:42 +01:00
Armin Le Grand
032a4f6b2d Resolves: #i123765# reset buffered DropTarget when undocking
(cherry picked from commit 8d679227fafe9108c4dc6e8adff85a727e4ef3af)

Change-Id: Ia6fba705d91157afea30693fa7078aabc96f02ac
2013-12-02 16:48:02 +00:00
Herbert Dürr
3a437baee2 Resolves: #i74854# fix buttons in MsgBox with info icon
Patch by: hanya.runo@gmail.com
Found by: ooo@catcons.co.uk
Tested by: hdu@apache.org

(cherry picked from commit 02cc651a1b45cbfbdab0aca6b57bff7bdf9e4f2c)

Conflicts:
	basic/source/runtime/methods.cxx
	vcl/inc/vcl/msgbox.hxx

Change-Id: I1656263e189f1a6cfa58436741bfa74ae0e6fffa
2013-12-02 16:45:50 +00:00
Pavel Janík
bdb5114bb7 WaE: initialize boolean variable to prevent compiler warning.
(cherry picked from commit b01b45e9d73a318e983fa5f023d6167218ed2558)
2013-12-02 16:41:36 +00:00
Steve Yin
b413324757 Integrate branch of IAccessible2
Conflicts:
    everything

Change-Id: I3d8cf956f511a0d953a1cefe83b6ef987806da25
2013-12-02 16:41:08 +00:00
Caolán McNamara
23fdf75cd6 ditch _TPHFEDIT_CXX foo
Change-Id: Id0bddeeefd959fb72fb019d8d35cd9afe885c60f
2013-12-02 16:41:08 +00:00
Caolán McNamara
4bcd960e7f restore SdrMarkView::HasMarkableObj, etc.
Change-Id: Ib5c0d5028792708bc0ac0e756aa47d486443bbb7
2013-12-02 16:41:08 +00:00
Tor Lillqvist
c27c01e248 No idea what maOwnContextMemory is
Change-Id: I8ebda0c7da3cb663802fb8b05a98115db7589e09
2013-12-02 17:29:42 +02:00
Stephan Bergmann
1cb1dca126 Revert SwAccessibleCell::getCurrentValue to return a numeric value again
76c549eb01dcb7b5bf28a271ce00e386f3d388ba "Integrate branch of IAccessible2" had
changed it to return a string, but that neither matched the documentation of
css.accessibility.XAccessibleValue nor did it satisfy JunitTest_sw_unoapi.  This
needs further clarification apparently.

Change-Id: Ib09f7549db7ba5155798d5917908c7ce50e7a592
2013-12-02 16:12:41 +01:00
Eike Rathke
e56105a1f2 release SolarMutex after successful tryToAcquire()
tryToAcquire() locks if successful, so unlock when leaving

Change-Id: Ic0bd4b10ccb8419dd40946dbaf393a27e413bf2d
2013-12-02 16:07:38 +01:00
Stephan Bergmann
bfcf3608e2 Uninitialized value
Change-Id: Id5ca398296658da61a9880beca7ee03a2db752e6
2013-12-02 15:20:42 +01:00
Stephan Bergmann
354249086c Uninitialized value
Change-Id: I7794546b22ffe688eeff6349031dd585e38b7ce7
2013-12-02 14:45:58 +01:00
Tor Lillqvist
9bda6170f6 Fix build without OpenCL
Change-Id: I15e4495607113eb9bc55a31fee061a9d5384731b
2013-12-02 15:15:13 +02:00
Miklos Vajna
53e5b6be99 DOCX drawingML shape import: fix sw text frame transparence
Mirror what the VML import's ShapeBase::convertShapeProperties() already
does, fixes CppunitTest_sw_ooxmlexport's testFdo66688 when wps import is
enabled by default.

Change-Id: Iabed3a5fa1353aefe3055232ad0b7770067a7a58
2013-12-02 13:53:48 +01:00
Stephan Bergmann
f1d303c63e Uninitialized value
Change-Id: I060fb2f8dda4a79b70e2fdf255e95b47b0d5630b
2013-12-02 13:38:09 +01:00
Caolán McNamara
827b44d38a Related: EDB-29934-1 add .zip cppunit tests
Change-Id: Iaafdcc4e2c97e06bee245251316b18b3d9e87262
2013-12-02 12:26:26 +00:00
Michael Stahl
b44ed4c408 vcl: check if AT is running before loading the library
... which should result in faster startup if it's disabled.

Change-Id: I39774b0a56f186d08270c2f17b2b20a823f21dc2
2013-12-02 13:18:04 +01:00
Michael Stahl
fabca7370e winaccessibility: remove global g_acc_manager
It is possible to retrieve it via the AccTopWindowListener.

Change-Id: I6cc5ab25bc937d0d9f4de54a1bed09a76ce27491
2013-12-02 13:18:03 +01:00
Michael Stahl
b54d441ad7 Revert "winaccessibility: let CoCreateInstance calls find the components"
This only works partially: the ClassObjects are only registered on the
main thread; CoCreateInstance on other threads still fails.

This reverts commit 29c6216af8c502f220bb84857d3dda901ddfd234.
2013-12-02 13:18:03 +01:00
Michael Stahl
d0e8e6e3cd winaccessibility: fix my stupid mistake in createAggInstance
Change-Id: I7701021befcf1dbad85557c2095fe4bf0b4e0ff1
2013-12-02 13:18:03 +01:00
Michael Stahl
db21468405 vcl: fix crashes when retrieving objects for MSAA
The ImplHandleGetObject() function modifies the Application Settings and
must take the SolarMutex for this; otherwise we get crashes when another
thread calls StyleSettings::GetPersonaHeader() during some unoapi test.

Also fix another HWND to long cast; use LRESULT which is Win32 for intptr_t.

Change-Id: I5580f88ed0a8e9955697655ace94584e2307982d
2013-12-02 13:18:03 +01:00
Eike Rathke
fefacbd92f added Kurdish, Southern (Iran) [sdh-IR] to language list, fdo#63460
Change-Id: I575c8a51cff1cf451c776818711d2e0fd458a322
2013-12-02 13:00:52 +01:00
Michael Meeks
3c2e8e3484 add health warning on osl condition.
Change-Id: I24619afb8b1ea0410e95e60fe70b5166e18fab44
2013-12-02 11:54:59 +00:00
Andras Timar
ab4f01412b fdo#71056 add <sup> to list of inline help XML tags
Change-Id: If0937bd571658e0f76a51e44dd3fa008f701f02e
2013-12-02 13:03:59 +01:00
Stephan Bergmann
e0f88436dc -Werror,-Wunused-variable
Conflicts:
	sw/source/core/access/accpara.cxx

Change-Id: I5b7faebf5000244adf56f9193370af125949fc30
2013-12-02 12:20:41 +01:00
Marcos Paulo de Souza
1c3d51fd68 fdo#60698: Merge tvhlp1 into ucpchelp1
tvhlp1 just have 2 files, and this lib is used always with ucpchelp1. By
these reasons, we can merge these 2 libs.

Change-Id: I515f9c12893c986279ffac91b83879c467b091c7
Reviewed-on: https://gerrit.libreoffice.org/6820
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-02 05:15:36 -06:00
Tor Lillqvist
0c07e71fbd WaE: unused variable
Change-Id: I2a479f87c63044d83a8271c0b1dc1698d52245a8
2013-12-02 13:12:44 +02:00
Tor Lillqvist
4ae2c3c3dc WaE: unused private fields
Change-Id: I2084fa7cc0af9385b532c6beab0368bc2e45e29e
2013-12-02 13:12:44 +02:00
Miklos Vajna
86bee0cb9d DOCX drawingML shape import: handle inset attrs for sw text frames
When the drawingML shape import is enabled by default, testFdo66929
(from CppunitTest_sw_ooxmlexport) fails without this.

Change-Id: I38fc64201aaf28ae2e07e57c498a64391ac56f07
2013-12-02 12:08:48 +01:00
Maxim Monastirsky
e239f372c6 fdo#71748 Fix color pickers
This commit includes the following changes:

1) Remove boxes from PNG files, and draw them ourselves.
This will ensure that the color rec will always fit the box.
Also it will make all color pickers look the same, and greatly
simplify the code. (a part of the code was not reachable anyway.)

2) Fix color preview for toolbar large icons. (a regression of
commit f59c47fc1e79050d3342924e6173b0f4b6ddaf02.)

3) Fix sidebar paragraph color picker initial drawing. reset should
be called *after* the icon assignment.

Change-Id: I13ae02bc3dd68dd14877ccc949784072c58bf211
Reviewed-on: https://gerrit.libreoffice.org/6882
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02 05:06:09 -06:00
Samuel Mehrbrodt
4f743082c1 fdo#34170 Disable deleting in the native Open Dialog
Change-Id: I0ccd4b06b2db399711004c3e6505a28353604aeb
Reviewed-on: https://gerrit.libreoffice.org/6892
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02 05:03:01 -06:00
Stephan Bergmann
154643d59b -Werror,-Wmismatched-tags
Change-Id: I88207b4cf99cb21963dffeb3fe2115b0e42e70d7
2013-12-02 11:57:16 +01:00
Samuel Mehrbrodt
62e2cfa79c fdo#43494 Allow UI scaling up to 400%
Change-Id: Ibf53276b567b0591f9635f49761784900faae816
Reviewed-on: https://gerrit.libreoffice.org/6891
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02 04:50:45 -06:00
Andras Timar
eb5a00cf13 Updated core
Project: help  9e37f604ff7f1da03d9ed1d69b9f01f98d48b46c
2013-12-02 04:48:06 -06:00
Samuel Mehrbrodt
0d4e04b837 fdo#43637 Two commands with the same name "Backspace"
One of them emulates the "Backspace" and the other one "Shift+Backspace", so I renamed it accordingly

Change-Id: I8a2a9f2b5b7212d4ea385c3b5f2e47ac014accc3
Reviewed-on: https://gerrit.libreoffice.org/6887
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02 04:47:22 -06:00
Caolán McNamara
5bb1599348 we don't need bChanged
Change-Id: Ieafa794347acb8d3a32bf24114e1ca56dbacc905
2013-12-02 10:43:30 +00:00
Pavel Janík
af382ec04d WaE: unsigned const to prevent compiler warnings.
(cherry picked from commit 40b6e291c04205d1c4287e6ea602772c69f0e015)
2013-12-02 10:29:26 +00:00
Pavel Janík
362c8d67e1 WaE: compare unsigned values.
(cherry picked from commit e215b94aea58527bf76db44f0985b467502d457b)
2013-12-02 10:27:09 +00:00
Steve Yin
76c549eb01 Integrate branch of IAccessible2
Conflicts:
	everything

Change-Id: I9619634ee1e60d449025c006803da29c1e9d14b3
2013-12-02 10:25:33 +00:00
Caolán McNamara
84972949a3 fix build
Change-Id: I24e5ad4f27584aa982fa8a4d7ee80e7167bbcacf
2013-12-02 10:24:18 +00:00
Tor Lillqvist
2ba0266f9a Make include guards sane in vcl
We have a convention. Use it. Kill copypasta.

Change-Id: I512e1c8e75b5da20b6756ffc88209a27674ad7c7
2013-12-02 12:01:13 +02:00