Commit Graph

339943 Commits

Author SHA1 Message Date
Stephan Bergmann
ddbeaada1c BRIDGES_JNI_UNO_FORCE_BOXED_ANY is undefined
...ever since its inception in 4afcc7135e
"MWS_SRX644: migrate branch mws_srx644 -> HEAD."

Change-Id: I82d3158b813fec89567fd94ed9ccc05944228161
2013-12-03 14:36:18 +01:00
Markus Mohrhard
48dad589e3 fix crash when no platform is available
Change-Id: I730cd231ab6fe4626fefc1ddab67c1b9d77ecd0a
2013-12-03 16:26:32 +01:00
Michael Stahl
b6785eb595 sax: stop using SAX_DLLIMPLEMENTATION for both sax and fastsax
Change-Id: I243ec20015beec6b98ee0af55eb7c387008f32f1
2013-12-03 13:29:35 +01:00
Michael Stahl
4c9ddd594e SwAccessibleFrameBase::Modify(): avoid accessing deleted mpFrm
In ~SwDoc when a SwFmt is deleted,
SwAccessibleNoTextFrame::GetNoTxtNode() would access the mpFrm which
at that point was already deleted too; avoid that by returning early.

This can be reproduced by closing the bugdoc from fdo#71450.

Change-Id: Ide4d42511ccad116fa0362c23ced299d8430d08a
2013-12-03 13:29:35 +01:00
Michael Stahl
c6f3d909f8 sw: valgrind complains about uninitialized mbIsPrepareSelAll
Change-Id: I5405a6818fc63c3e29bb189858fd0abc73f67e43
2013-12-03 13:29:34 +01:00
Caolán McNamara
a13c56fbaf FLT_TOOL_PANEL_DOCKING_WINDOW unused
Change-Id: I825cdefc5aef92d271ded4a35a21a441bc7325c6
2013-12-03 11:52:15 +00:00
Caolán McNamara
1ef873db6e unused .src file
Change-Id: Icf396b255fa9a8dda7e1d990da7e0a8a27869157
2013-12-03 11:47:40 +00:00
Caolán McNamara
bb8d288bdb drop now unused helpids
Change-Id: Ic72252c359e231cad4e3a28591883f6adde1bb79
2013-12-03 11:40:18 +00:00
Caolán McNamara
27c0248007 Updated core
Project: help  669b94349794029c207147d7d3702540a44f8444
2013-12-03 05:39:45 -06:00
Tor Lillqvist
a718fef094 Use our header guard convention
Using identifiers starting with underscores is questionable even if they don't
happen to clash with anything used by the language implementation.

Change-Id: I0af605d40d85ea7e47e1047572fbe180270e08ac
2013-12-03 13:37:37 +02:00
Tor Lillqvist
c7fd6b857f Bin pointless header inclusion guard
Change-Id: I8efa6fe219df952586aef84db406dd1190e451d5
2013-12-03 13:37:37 +02:00
Tor Lillqvist
a21825faf0 No _SV_AccObjectWinManager_HXX anywhere
Change-Id: I0ab040ae4379995353009f3e852e6efc6760fb59
2013-12-03 13:37:37 +02:00
Tor Lillqvist
cb1cd35936 Use proper header guard convention
Change-Id: I8e7b2187004a9b945a847c351e16ba1d1ff7a4ec
2013-12-03 13:37:37 +02:00
Tor Lillqvist
e2a062fcd1 _SV_WORKWIN is nowhere
Change-Id: I736162269041a7ee0266566c00fd16f0a9629cd2
2013-12-03 13:37:37 +02:00
Caolán McNamara
00a3143b31 convert the last tabpage in sd to .ui
Change-Id: I49eb93ec73d0783ab62eab5ce469526dd069e0b0
2013-12-03 11:32:32 +00:00
Jan Holesovsky
5a23dee064 sw unit tests: Introduce hasProperty(), make the redlining check more elegant.
Change-Id: I123bdfd7f21b78cbee6db2ceb9b98c2e473415d1
2013-12-03 12:31:39 +01:00
Jan Holesovsky
fb51e1cc40 Start center: Re-introduce the Macros menu, people use it.
Change-Id: I99da1fbbd158622933445f7e97f4266a24a2d85d
2013-12-03 12:31:38 +01:00
Miklos Vajna
a44e42b9cd filter: handle ooxml shapes in EscherPropertyContainer::GetCustomShapeType()
The problem was that the shapes produced by the drawingML import had
types like ooxml-triangle, and EnhancedCustomShapeTypeNames::Get() only
handles VML/binary MSO shapes (e.g. isosceles-triangle). Add an OOXML
mode, and in that case use msfilter::util::GETVMLShapeType() instead,
and only fall back to EnhancedCustomShapeTypeNames::Get() if necessary.

Change-Id: Ic93ba4719133dd3e96c17d2562642a03e559fefa
2013-12-03 11:58:23 +01:00
Thomas Arnhold
f5e2d31331 Revert "fdo#67862: Add greek symbols to docking window"
This partially reverts commit e9a7ff1a5b.

Leave the SAL_N_ELEMENTS changes in.

I forgot about the translation of those symbol names. The en-US %alpha is
%alfa in pt-br. See starmath/source/symbol.src. One list get's translated,
the other not.

For UI purpose GetUiSymbolName gives the tranlated one and for export
GetExportSymbolName gives the untranslated english string.

Feel free to implement this or maybe drop the translation of those symbols.

Conflicts:

	starmath/inc/starmath.hrc

Change-Id: I74d667a727536e1caf35f32af6a5c9cc64ca7015
Reviewed-on: https://gerrit.libreoffice.org/6884
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03 03:42:02 -06:00
Noel Grandin
6b6254dfb1 convert callers of SwIndex::GetContent from xub_StrLen->sal_Int32
Change-Id: I542399d3ed3a3b42592bcabb70d7034b3a4cc93c
2013-12-03 11:34:50 +02:00
Noel Grandin
6d31302d27 convert xub_StrLen->sal_Int32 in edtwin.cxx
Change-Id: Idbfeb4180cca90724eb1ce658629d58eed48bb5e
2013-12-03 11:34:50 +02:00
Noel Grandin
6207a1c02c convert SidebarWinKey from xub_StrLen->sal_Int32
Change-Id: Ie0e9176d4f8bbe5bdada5fea848ca9638fc55c91
2013-12-03 11:34:50 +02:00
Noel Grandin
3abc487012 convert SwTxtNode::GetLang from xub_StrLen->sal_Int32
Change-Id: I2740622a5e30916d050e01350208a0de268e42ac
2013-12-03 11:34:49 +02:00
Noel Grandin
fb45457d67 xub_StrLen->salInt32 in lcl_Highlight
Change-Id: I0bcb31a37b642482885379fb2b64ed61c584272e
2013-12-03 11:34:49 +02:00
Noel Grandin
0f196eb228 convert xub_StrLen->sal_Int32 in SpellState
Change-Id: I78ea405e27050015769bd17fee6c5221c694bae9
2013-12-03 11:34:49 +02:00
Noel Grandin
3befdd37c6 convert xub_StrLen -> sal_Int32
Change-Id: If8f3c32f1e7664ceb266341a407aa29effa25ced
2013-12-03 11:34:49 +02:00
Noel Grandin
ca015ac131 convert formula::FormEditData from xub_StrLen->sal_Int32
Change-Id: I0127079ef3ee6bde8e36f2a83ef1f568b9f15568
2013-12-03 11:34:48 +02:00
Noel Grandin
c310019e75 convert formula::FormulaDlg_Impl from xub_StrLen->sal_Int32
Change-Id: Id3229083c1e2ad0cfcb01e9dfa6fa66eb5f5604a
2013-12-03 11:34:48 +02:00
Noel Grandin
b882c046ee convert FormulaHelper from xub_StrLen to sal_Int32
Change-Id: Ib866c39b2bb5a3cf81b899dc38ea548e3762fc9e
2013-12-03 11:34:48 +02:00
Noel Grandin
d9b4c8ea81 Convert FormulaHelper::GetNextFunc xub_StrLen->salInt32
Change-Id: Ief8c4b4699b3f6ffe1cb02d3dae43ad5a0c4c89e
2013-12-03 11:34:47 +02:00
Noel Grandin
40da065f7e fix spelling delimeter -> delimiter
Change-Id: I12a330e922f8f6ffe9c746a26e5b32c0bbae626a
2013-12-03 11:34:47 +02:00
Noel Grandin
c5ee410581 simplify logic in ScFuncDesc::getFormula
Change-Id: I05fd812d1fd76e57d5305d859b2ad64d471adfb1
2013-12-03 11:34:47 +02:00
Noel Grandin
418b5df94b convert getSuppressedArgumentCount from xub_StrLen -> sal_Int32
convert IFunctionDescription::getSuppressedArgumentCount from xub_StrLen
-> sal_Int32

Change-Id: Iee7a094a6f067fa57ee828c434417f7583c0f32b
2013-12-03 11:34:47 +02:00
Noel Grandin
8c787dec1a convert ScInputHandler::InputGetSelection from xub_StrLen -> sal_Int32
Change-Id: If01d21824964a0fefecc34bcf8b0b3910d2b4d48
2013-12-03 11:34:46 +02:00
Noel Grandin
35afee4de1 convert IFormulaEditorHelper::*Selection methods from xub_StrLen to sal_Int32
Change-Id: Ia7a6241c651106427e636bdc08085b97a2a41407
2013-12-03 11:34:46 +02:00
Noel Grandin
af63fbbfa5 convert xub_StrLen->sal_Int32 in unotools
Change-Id: If00ae920eb74dfe67a8654bb092879997f37ccc1
2013-12-03 11:34:46 +02:00
Noel Grandin
9dae1c5b83 convert xub_StrLen->sal_Int32 in linguistic
Change-Id: Id2e49e43bc149ee639cdbe5b7a1000049fb87978
2013-12-03 11:34:45 +02:00
Noel Grandin
4ded817702 convert Edit::GetCharPos from xub_StrLen to sal_Int32
Change-Id: I8fe982d0c0c0a04e2a10cff0f0ae68d51bed590a
2013-12-03 11:34:45 +02:00
Noel Grandin
9083e8d1ca convert SvxNumberFormatShell::AddFormat from xub_Strlen to sal_Int32
And make the return code be -1 for error.

Change-Id: I17d066180a604208f0ad689d5dffb77d126c256b
2013-12-03 11:34:45 +02:00
Noel Grandin
6394781010 convert FN_PARAM_MOVE_COUNT from SfxInt16 to SfxInt32
so that we can convert surrounding code from xub_StrLen to sal_Int32

Change-Id: Ib779c82a71405f855cfe72bcde2511e8153445f0
Reviewed-on: https://gerrit.libreoffice.org/6896
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-03 03:13:13 -06:00
Stephan Bergmann
2fbf95f5ef warning C4702: unreachable code
...and simplification

Change-Id: I652da35312522f452276116df11e548ba9231b53
2013-12-03 09:32:57 +01:00
Stephan Bergmann
e40bae2dc3 Revert ScAccessibleCellBase::getCurrentValue to reutnr a numeric value again
b413324757 "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_sc_unoapi.  This
is the same underlying issue as 1cb1dca126 "Revert
SwAccessibleCell::getCurrentValue to return a numeric value again" and needs
further clarification apparently.

Change-Id: Idb725724842ffa1aff811d66066912a22b2f2f6e
2013-12-03 09:30:25 +01:00
Stephan Bergmann
44a6eee8e0 Call getLineBreak with null XHyphenator unless TEXT_DRAW_WORDBREAK_HYPHENATION
So no longer instantiate XLinguServiceManager (which might e.g. bootstrap
Python) unless explicitly requested, which e.g. removes a noticable delay when
switching to the Options dialog's "Security" page (which causes size
calculations of FixedText controls that use TEXT_DRAW_WORDBREAK but not
TEXT_DRAW_WORDBREAK_HYPHENATION).

Change-Id: Ib0a28d3d7d7718faf6df7a138f5a86b8b2fd7713
2013-12-03 09:23:43 +01:00
Matúš Kukan
d20dff1409 Package cppuhelper_unorc does not exist.
Change-Id: Ib80cdc1408c8784db066b35f27993f8521772a76
2013-12-03 08:31:17 +01:00
Matúš Kukan
5b03bc8a4d ugly build-fix for libmerged
Change-Id: I6c107ea5e780ea1178759e2ee827f9bd6d5ede3a
2013-12-03 08:31:17 +01:00
Markus Mohrhard
90b2128711 fix windows build
Change-Id: Ic029958dc70286f3022d06299b61eca6d37844c9
2013-12-03 06:42:10 +01:00
Markus Mohrhard
ea85db86f2 we need to pass the variable to get correct dll linkage
Change-Id: I447218101e1791375273580a313dd54708303d7a
2013-12-03 05:56:47 +01:00
Markus Mohrhard
223fb84c0b no inheritance so no virtual needed
Change-Id: Ia6c481bbf5353db4c2801a53ae1455534c6978bd
2013-12-03 05:56:24 +01:00
Kohei Yoshida
4afa538b7b Hide the implementation.
Change-Id: Ibfd9bf626a40c3ec4eb18d09944e8943163595c8
2013-12-02 23:04:39 -05:00
Kohei Yoshida
532b2f4818 Add a means to check if a namespace exists.
Useful when we just need to check if the stream has a certain namespace
defined. Calling getNamespaceURL() may throw SAXException in such case.

Change-Id: Ib2b7b202492390158270d87bab95d1793c9d8a70
2013-12-02 19:32:28 -05:00