340031 Commits

Author SHA1 Message Date
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 e9a7ff1a5ba9d5ba34eeca9d622d8a3a9c68ade8.

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
b41332475783c31136673fb44cf4c411bb0148f8 "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 1cb1dca1260da2cea5b6800483e86a6d6b251844 "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
Kohei Yoshida
2130fd9d61 Move this header out into a public place.
Change-Id: I356b26947d1018276d8a9ff6012fdad3ca2c0fd8
2013-12-02 19:32:28 -05:00
Kohei Yoshida
8ef9d65177 Remove inline methods from the header.
Change-Id: Ie2cff194c1db5eaa992c4bcaaa06ec9a419d85a7
2013-12-02 19:32:28 -05:00
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 b69d152cfa1da868ba960345d72ba78f9f8e1b35)

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 ee1db992b98378b5e2f5e9aa8af0e36c375e582f)

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