Commit Graph

340041 Commits

Author SHA1 Message Date
Kohei Yoshida
4ba42fc8df Move this out of the namespace scope.
Change-Id: I4aec1d45edb47ea16adaa8d2ac23340b8f421bae
2013-12-02 19:32:27 -05:00
Lionel Elie Mamane
56cdaa1869 fdo#72163 belts and suspenders
1) Do not dispose m_xComposer, might still be used by our m_pCache

2) Do not create a new m_xComposer if the previous one will do, so
   that we do not gratiously use a different one than our m_pCache.

Change-Id: I6540c035c9159017c694b36e676721ec3e42db51
2013-12-02 23:57:16 +01:00
Lionel Elie Mamane
d4b7e3d12a fdo#72163 after updating m_xComposer, command facets are not dirty anymore
Else we dispose m_xComposer too eagerly; still used by m_pCacheSet.

Change-Id: I205488465c19a356534df17b8a5e9a20ce6766c9
2013-12-02 23:57:15 +01:00
Michael Stahl
8171e713e7 fdo#71450 fdo#71698: ODF import: fix frame name corner cases
Trying to set a name that is already in use will throw an exception (and
set a different, generated name); if there is actually no name in the
file then there's no point trying to set anything.

(regression from b69d152cfa)

Change-Id: Ie54d4a830cc23e2853a6efeb81f77dcc788192ea
2013-12-02 23:37:12 +01:00
Michael Stahl
790896d9a5 fdo#71749: sw: WW8: don't loop on tables in footnotes
(regression from ee1db992b9)

Change-Id: Id10b6fb8e9e3697b10a1df605cb48d94a55ad207
2013-12-02 23:37:11 +01:00
Matteo Casalin
5170b4e49a Move functions to right file, prefer sal_Int32 to sal_uInt32 as index
Change-Id: Ie5dca349acf2e163fdb6a47b0ba7af27220f2b2d
2013-12-02 23:11:42 +01:00
Matteo Casalin
e40fd5b9f1 Don't obscure local function calls with #defines
Change-Id: I8a0851fac3e77f1ad101a422191bf80bfea7eafe
2013-12-02 23:11:42 +01:00
Matteo Casalin
20c91a72a1 xub_StrLen to sal_Int32
Change-Id: Ie2c18baa3ab6a3a7c6f2ac83b6d2d5bd8ecf5811
2013-12-02 23:11:41 +01:00
Matteo Casalin
4420650bb0 xub_StrLen/unsigned to sal_Int32
Change-Id: I6d89f19ef2ee3aa83f3e74a416c41cd42dd448fa
2013-12-02 23:11:41 +01:00
Matteo Casalin
8a4c452058 xub_StrLen to sal_Int32
Change-Id: Id00f298c638b14b0e78b898373978f94b43804d9
2013-12-02 23:11:41 +01:00
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
7a3b8b1a5a 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
76c549eb01 "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