summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make common paths member variables.Andrzej Hunt2014-07-311-6/+7
| | | | | | We'll need these for other tests too. Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
* Use SolarMutexGuard instead of pairs of Acquire/ReleaseSolarMutexAndrzej Hunt2014-07-311-53/+46
| | | | Change-Id: I7ff41dd932fd9860dff944b3bf8ff5bdc230ae5d
* Avoid undef downcast in base class ctorStephan Bergmann2014-07-312-11/+13
| | | | Change-Id: I71eecfdc657b153f9289e8e9af52fba9ed22d3a8
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-07-315-61/+50
| | | | Change-Id: I8bdb8ca84b75efde4effba1ce76704d2c7c3f214
* writerfilter: fix ubsan complaints about "-42" enum valueMichael Stahl2014-07-312-4/+25
| | | | | | | | | | Apparently the StyleType enum is specific to the domain-mapper, the OOXML filter has integer constants in its model.xml file... Also surprisingly the section styles only exist in RTF; w_ST_StyleType in "ECMA-376 3rd Edition" only contains the 4 values of StyleType enum. Change-Id: I5407800f801824676df309b3705e233cf1382721
* xmerge: Avoid java.util.ConcurrentModificationExceptionrbuj2014-07-311-8/+7
| | | | | | | | Fix removeByName function, which deletes elements of the list without an iterator. Move declarations inside the for loop in the removeByJar function, and delete the comment about removing list elements. Change-Id: I6a9ba82af2999703d1447c5c0bc5800ec4367b65
* cleanup usage of MapUnit enumNoel Grandin2014-07-316-13/+14
| | | | | | | some places were using the wrong enum constant, and some places were unnnecessarily converting to sal_Int16 Change-Id: I754993533c840cd33106820d99af2dc951f26a80
* fix some dodgy FieldUnit conversionsNoel Grandin2014-07-3115-36/+45
| | | | | | | the FieldUnit enum was being converted in some dodgy ways and in some places the MapUnit enum values were being used. Change-Id: Ic9aacb84058d1c14c3a4a79ef6676082df9a7270
* GtkComboBoxText requires gtk >= 2.24 (again).Andrzej Hunt2014-07-311-0/+4
| | | | Broken in 77d083130948fa35f9f404656b8c170060e78043.
* DocxAttributeOutput::WriteSdtBlock: never write <w:id> twiceMiklos Vajna2014-07-313-1/+10
| | | | Change-Id: Iab68a4e809a7924e753db5a85d9914308419b845
* remove commented out codeNoel Grandin2014-07-311-36/+16
| | | | | | and fix up some formatting Change-Id: I8d24c66901eeaf8a6c7aa5e797821c807edaf6ee
* DOCX export: handle exact end of paragraph w:sdt tagsMiklos Vajna2014-07-318-10/+119
| | | | | | | | | | | Previously every paragraph SDT was closed immediately after the paragraph end. This commit adds support for having multiple paragraphs inside an SDT. A few testcases implicitly tested that such SDT's are lost on save, adjust the relevant XPath expressions now that this works. Change-Id: I07802b3e067600b087b7e0f9b2e7b3ba17c3379a
* -Werror,-Wunused-private-fieldStephan Bergmann2014-07-311-1/+0
| | | | Change-Id: I1b74fb2f8fd09f38f3950505b2156ae7cf764fd3
* sal_osl_process: fix "Parent and child environment not equal" for OSX <10.6Douglas Mencken2014-07-311-2/+2
| | | | | | | | | | | | | It fails with "assertion failed": - Expression: compare_environments() [osl_process.cxx:370] - Expression: compare_merged_environments(different_child_env_vars) [osl_process.cxx:428] Just disable it (yet) for OSX <10.6 as it's already done for Windows. Change-Id: I88e838481a25ee7e977512e33e23afa2b9d394ff Reviewed-on: https://gerrit.libreoffice.org/10641 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Scope reduction.Kohei Yoshida2014-07-301-31/+29
| | | | Change-Id: Ib77fccaf0c418e875816ed553f3540190ac0caee
* the dialog hierarchy changed iwith the ui format, fdo#81867Markus Mohrhard2014-07-304-34/+42
| | | | | | | | We need to be explicit now and can no longer rely on GetParent returning the right object. Seems like sometimes you get punished for an ugly hack a bit later than expected. Change-Id: I145e97ae0ceee741c4128c29a6ca26fad2178cb5
* Improve "Navigate by" layoutSamuel Mehrbrodt2014-07-302-5/+6
| | | | | | | | | | | | | Implemented some suggestions from https://freedomsponsors.org/issue/391/navigation-button-icon-does-not-scale-and-gets-cut-off#comment-917 * Place the up/down arrows on the right of the button * Use up/down arrows instead of right/left * Added a separator between the navigation buttons and the search label Change-Id: I509756db2fc0c1f60a6b1d6f14e6ed9299d7e597 Reviewed-on: https://gerrit.libreoffice.org/10613 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* writerfilter: remove unused <namespace-alias id=""> attributesMiklos Vajna2014-07-301-30/+30
| | | | | | | They are confusing and not used in practice: modelpreprocess.py always sets the id to a numeric value anyway. Change-Id: I5bdfd001bc0fe7ee376e2fe27fefecc3613bd1ab
* fix spelling errorMarkus Mohrhard2014-07-302-9/+9
| | | | Change-Id: Id9b7abfed70c33eb3cd12e0976f55be232ce3ca5
* add scroll animation for benchmarkweigao2014-07-301-0/+14
| | | | Change-Id: I72416ee6bf6c314feb4c5a88742aedd515abc13b
* add drag animation for benchmarkweigao2014-07-301-8/+20
| | | | Change-Id: Ie9146272dd88b7b51edace7023048629874c360f
* add click event animation for benchmarkweigao2014-07-302-43/+175
| | | | Change-Id: I1e5a879fa315a775a77d3fddc6de1d02963b5f7d
* DOCX import: handle exact end of paragraph w:sdt tagsMiklos Vajna2014-07-305-2/+26
| | | | | | Testcase will be added when the export half of this is also in place. Change-Id: Ic6ef8ea72a45424fcb5a473c74db9e30d6fd3be8
* ASPECT_ALL is unusedTor Lillqvist2014-07-301-1/+4
| | | | | | | Also add comment about the three sets of names for the same constants that must match. Change-Id: Id626b6f1cdaa4c2a8c391ae4f020186997ccb4d9
* fdo#80501: Ensure that we notify each listener only once.Kohei Yoshida2014-07-307-41/+52
| | | | Change-Id: If2ce4643ff58c7c2ba326d749698dd5196a108dc
* fdo#80501: Write test for this first.Kohei Yoshida2014-07-302-0/+58
| | | | Change-Id: I43c0018f445394387ef28590b56ca38344e61c11
* Avoid needless truncation to intStephan Bergmann2014-07-301-2/+2
| | | | Change-Id: Ibb9088e73e3e48952ce7f2f4ec42392f7633e8a7
* Adapt loplugin:derefnullptr to old Clang versionsStephan Bergmann2014-07-301-1/+1
| | | | | | | | | ...where prior to r183883 "Implement core issue 903: only integer literals with value 0 and prvalues of type std::nullptr_t are null pointer constants from C++11 onwards," Expr::isNullPointerConstant with NPC_NeverValueDependent could go into an llvm_unreachable case. Change-Id: I29cf093f18ece4cd83fd759e30f72c2a71f69554
* Fix *_component_getFactory function typeStephan Bergmann2014-07-301-1/+1
| | | | Change-Id: If66efdb6a00c383ba72898f601ff3d674e153704
* Remove redundant casts to voidStephan Bergmann2014-07-302-11/+3
| | | | | | ...leftovers from de02d221e104f74bfa595d5e6c41248093c640f3 "printfs in comments" Change-Id: I0125ac2b5ea0b4450e8f707f980959443a6c4d27
* Use OString::boolean in docxattributeoutput.cxxJoren De Cuyper2014-07-301-10/+9
| | | | | | | | Change-Id: I73b0c0ecd3ecf4e159f31e7ad9684c3e70b1ce5e Reviewed-on: https://gerrit.libreoffice.org/10622 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* javaunohelper: If statement is redundantrbuj2014-07-301-11/+9
| | | | | | | Change-Id: I204e3755cf07c7bb9634d02913e893179d6e81e8 Reviewed-on: https://gerrit.libreoffice.org/10640 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* javaunohelper: String comparisonrbuj2014-07-301-1/+1
| | | | | | | | Change-Id: Ic0291e655525639b2f3cd33760d8f5f343b208f1 Reviewed-on: https://gerrit.libreoffice.org/10638 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* fix wrong calculation for text size, fdo#81499Markus Mohrhard2014-07-302-14/+14
| | | | Change-Id: Ifd9e09dd9e1d843728e1874c48efdd127bffe11e
* the range has to be in the correct order, fdo#81803Markus Mohrhard2014-07-301-0/+1
| | | | Change-Id: Ia3907701857e22c11a2cefa5d35437c8f8219ff6
* add test case for fdo#81803Markus Mohrhard2014-07-301-0/+15
| | | | Change-Id: I00c52bd1a8d949e3fd874c2dedbd9e2345aca74e
* Wrap "" in OUString: error: conversion from const char* to non-scalar...Andrzej Hunt2014-07-301-1/+1
| | | | | | | | Full error: error: conversion from const char* to non-scalar type rtl::OUString requested This seems to be happening only where ITiledRenderable.hxx ends up being included in an Objective C file.
* LokDocView: Update part selector when mode changes.Andrzej Hunt2014-07-301-5/+21
| | | | Change-Id: Ice754a46d07ce2714257c30e1aef27193b614cd3
* LokDocView: set current item for part selector.Andrzej Hunt2014-07-301-1/+2
| | | | Change-Id: Idbb3d63803bd60a182a9b8e26620d11b2d643cb6
* gtktiledviewer: add part mode selector.Andrzej Hunt2014-07-301-1/+34
| | | | Change-Id: Ia1e78df1d833f9b0fbda0b78136590c9c960fa27
* Protect setPartMode and ensure we actually show the new mode.Andrzej Hunt2014-07-301-1/+25
| | | | Change-Id: I3642702c5bf268f3c9ab04162166078052804270
* Impress/Tiled Rendering: implement setPartMode.Andrzej Hunt2014-07-302-1/+35
| | | | Change-Id: I831953ac3fa1d0a15b64aa008cc3bfb79e72575a
* LOKDocView: add set_part_mode.Andrzej Hunt2014-07-302-0/+9
| | | | Change-Id: I0e14a535124e93979ef05431255911245a11aa29
* Impress/Tiled Rendering: return correct number for getPart.Andrzej Hunt2014-07-301-1/+2
| | | | | | It looks like page ids begin with 1. Change-Id: I367285b8cfa1fcc9b8f22a9bb3c679d7e9579099
* ITiledRenderable: provide default implementations for some methods.Andrzej Hunt2014-07-303-21/+12
| | | | | | | Writer doesn't understand the concept of parts at the moment, it makes most sense to keep these dummy implementations central. Change-Id: Iafbd89864b753ba2bed28a05b0f59df85f364feb
* Impress: Implement getPartName.Andrzej Hunt2014-07-302-0/+8
| | | | Change-Id: I614838505fef901fc37e8d3906bb59c60b034453
* gtktiledviewer: show part names in selector.Andrzej Hunt2014-07-301-5/+15
| | | | Change-Id: I02ae5b729f96e36b3f226218b32495907cb63cf3
* LOKDocView: add part name retrieval.Andrzej Hunt2014-07-302-2/+6
| | | | Change-Id: Iac31de0410d7f6187e5884152c329375047a23f4
* Remove horrifically outdated comment.Andrzej Hunt2014-07-301-5/+0
| | | | Change-Id: I1362489c9aecf536b31bf6ab57ad8c149f37a876
* LOK: add setPartMode.Andrzej Hunt2014-07-303-0/+37
| | | | | | | | | | This API seems to be simplest in the long run where we'll want to be able to select between rendering slides/notes/both/embedded objects, and maybe even adding the option of switching between continuous and single page mode in writer (although I have no idea how hard getting a single page mode out of writer would be). Change-Id: I5bdfdb61854c37281c6992c8f3ed1c50c8aa0919