summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* coverity#1132662 Dereference after null checkNorbert Thiebaud2014-01-191-1/+1
| | | | Change-Id: Iaccf8bb7903702d2bed3c4fc2195172e18ead6c7
* coverity#1132661 Dereference after null checkNorbert Thiebaud2014-01-191-13/+10
| | | | Change-Id: Ida147599810b0aff4a7ebd00b90475b1c6cd1366
* coverity#1132660 Dereference after null checkNorbert Thiebaud2014-01-191-16/+13
| | | | Change-Id: Ib184d73f2ced3beca8540a37bab74c4a712170ba
* CID#1158211: out-of-bounds accessMarkus Mohrhard2014-01-191-1/+1
|
* fdo#73764 partially revert 3998d1abb291Andras Timar2014-01-191-1/+1
| | | | Change-Id: Ie9b6d6a318fad256f3f0999fe9c0810a4323f10d
* make strings localizable in *.ui (bin/ui-translatable.sh)Andras Timar2014-01-197-52/+52
| | | | Change-Id: I60b74cecc17352681fac7dfa0e41114515dbd6f5
* detect unlocalizable strings in GtkComboBoxText <item> elementsAndras Timar2014-01-191-0/+4
| | | | Change-Id: I0598be74345b70aee7feefeaea4cf525a5f2173b
* fdo#73799: Make some items in the filter dialogs translatable.Kohei Yoshida2014-01-191-40/+40
| | | | Change-Id: I67c54ae9cee0a57baf900c80f50b28572bc9465b
* how should I fix this memory leak??Markus Mohrhard2014-01-191-1/+0
|
* more build fixesMarkus Mohrhard2014-01-192-0/+5
|
* fix the buildMarkus Mohrhard2014-01-191-1/+1
|
* CID#1158520: use after freeMarkus Mohrhard2014-01-191-1/+2
|
* CID#1157755 and CID#1157756: resource leaksMarkus Mohrhard2014-01-191-2/+4
|
* Revert "cppcheck: reduce scope", CID#1158238Markus Mohrhard2014-01-191-2/+2
| | | | | | | This reverts commit 943e2930e7453857f229efe04ade85cb1dc87faf. That commit introduces memory corruption because the variables are still used through a pointer.
* CID#1158216: resource leakMarkus Mohrhard2014-01-191-0/+1
|
* CID#1157787: new[]/delete mismatchMarkus Mohrhard2014-01-191-8/+8
|
* CID#1157754: fix memory leakMarkus Mohrhard2014-01-191-1/+2
|
* CID#705650: fix memory leakMarkus Mohrhard2014-01-191-0/+3
|
* CID#706118: possibly invalid castMarkus Mohrhard2014-01-191-1/+3
|
* EMF/WMF: fix rendering of pen styles (dash, dot, dashdot, dashdotdot)Andras Timar2014-01-193-40/+48
| | | | Change-Id: I226bac370601b75f2589f7a7c5e8830746b31e2e
* WMF: parse line cap and line joinAndras Timar2014-01-191-1/+27
| | | | Change-Id: I5a19a724856938d5a0495ee1e454582238dbd3f0
* do not resolve empty locale here when set, fdo#73549 relatedEike Rathke2014-01-191-1/+1
| | | | Change-Id: Id9c8c3926f64826fd2295e0f75f007ce435f5915
* fdo#73549 do not resolve empty locale here if not determined yetEike Rathke2014-01-191-1/+1
| | | | Change-Id: Iad03d6209a2b4024b27c6195195e5aa557c295fe
* writerfilter: drop unused FDG, FTXBXS and FRD classes in doctokMiklos Vajna2014-01-192-895/+0
| | | | Change-Id: I37c209b31bf47577b0f56b06fc49f15327f8c434
* writerfilter: two unused templates in doctokMiklos Vajna2014-01-191-42/+0
| | | | Change-Id: Ia05ba411da4e7a6ea65945f23bc14fcdde5ab9cb
* writerfilter: remove unused Tplc class in doctokMiklos Vajna2014-01-192-1396/+0
| | | | Change-Id: Iec8680560bde8157e6e4c66417647f62b2feb8a8
* writerfilter: remove unused TC and PICF classes in doctokMiklos Vajna2014-01-194-1381/+0
| | | | Change-Id: Ibc84bc2ce0e31d52dfd0eb0e4a906145f0e559cb
* writerfilter: refactor to be able to remove redundant Font class in doctokMiklos Vajna2014-01-196-480/+47
| | | | Change-Id: I98516cbdb7e80a7dfe7048909ad4acb0418dbf9c
* Translated German comments and corrected English spellingLuc Castermans2014-01-192-47/+43
| | | | Change-Id: I1ed1d06663cadc82a7ccf127897ccd85b77cacc0
* WaE: private field is not usedTor Lillqvist2014-01-192-8/+0
| | | | Change-Id: I8eb322b4868e7895700b492b2f630d0fcc77e02d
* WaE: variable is used uninitialized whenever 'for' loop exitsTor Lillqvist2014-01-191-2/+2
| | | | Change-Id: I5e3db7eaf284718a1e313401b18ee6665d2837a1
* drop using namespace ::com::sun::star::ui;Matúš Kukan2014-01-181-20/+18
| | | | Change-Id: Ia10e9ad0c5495b8a4887d84781967ffb58a6a7d6
* sc/qa/unit/data/xls/border.xls was removedMatúš Kukan2014-01-183-3/+0
| | | | | | ..in commit a96b6f4708d587ddddd93101e51e52dec4e87b7e Change-Id: I94ea246df8fabee9b0bda579be7698c964958e16
* Unify ctor functions for component implementations.Matúš Kukan2014-01-1827-142/+115
| | | | | | | | There is no need to use different styles for writing the same thing. It also makes it easier in future to use search & replace. But of course, there are also some more complicated functions. Change-Id: I773da20378af0e0d5a27689d3903df7063fb8ac0
* fwk: Use constructor feature for ModuleAcceleratorConfiguration.Matúš Kukan2014-01-184-148/+87
| | | | | | And avoid css::uno::XInitialization protocol. Change-Id: If4a7987778e2880502bdc7ef2c30792de9377364
* fwk: Use constructor feature for DocumentAcceleratorConfiguration.Matúš Kukan2014-01-184-161/+95
| | | | | | And avoid css::uno::XInitialization protocol. Change-Id: I14daf6409bf0d651d7b23246ba3855f647b3d1ef
* fwk: Use constructor feature for ModuleUIConfigurationManager.Matúš Kukan2014-01-185-292/+239
| | | | And avoid css::uno::XInitialization protocol.
* Initialize also implementations created directly by generated function.Matúš Kukan2014-01-181-4/+15
| | | | | | This was forgotten in commit bdeb57c23973f3ef79020847b2fe39f312cf3c0b. Change-Id: Idd339222e3c464abc2524f78f16c8fe0a02dcd5b
* ooxml: unit test for shape theme attributes preservationJacobo Aragunde Pérez2014-01-182-0/+48
| | | | | | | | | This tests checks that the shape style attribute for fill color is preserved, that the theme attibute for shape fill is preserved too and that the interaction between them and direct assignment of some color works properly. Change-Id: Ia934c46731ed38be14ed851e083d0ed6fc151b01
* ooxml: Preserve shape theme attribute for solid fillJacobo Aragunde Pérez2014-01-1811-126/+583
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users can select the fill color for a shape among the theme-defined colors. This results in the following XML: <wps:spPr> ... <a:solidFill> <a:schemeClr val="accent2"/> </a:solidFill> ... </wps:spPr> Now we store both the original fill color and the name of the theme-defined color, if it exists, on the import phase. They are put into the InteropGrabBag of the shape with the names OriginalSolidFillClr and SpPrSolidFillSchemeClr. Additionally, we needed to to store the decoded theme color inside StyleFillRef. On the export phase we have to take into account several combinations of factors: * If the final color for the shape fill is different from the original color, we must ignore any theme attributes and write the new color. * If the fill color is unchanged and some theme color exists, we must write the theme color. * If the fill color is unchanged and no theme color exists, we must check if the original color matches the style-defined color. If it does, we must not write any <a:solidFill> tag. * Otherwise we must write the <a:solidFill> tag with the RGB color. The method putPropertiesToGrabBag was added to the Shape object for convenience. The data files for some /sd/qa/ unit tests were updated to reflect the new properties inside the Shape InteropGrabBag. Change-Id: If0915c5442872a8acab0a8a081f60c89c97277bd
* ooxml: Preserve shape style attribute fillRefJacobo Aragunde Pérez2014-01-1810-53/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shape style attributes contain the default format for the shape in case that no direct format is specified for it. This is an example of the attribute we want to preserve with this patch: <wps:style> ... <a:fillRef idx="1"> <a:schemeClr val="accent1"/> </a:fillRef> ... </wps:style> The relevant values in these tags are stored at the maShapeStyleRefs member in the Shape object. The storage happens at ShapeStyleContext::onCreateContext which is run when the <a:fillRef> tag is opened. The ShapeStyleRef object contains the idx value and a Color object which will contain the inner tag <a:schemeClr>. The Color object has been modified to store the string value of schemeClr. The storage happens at ColorValueContext::onStartElement which is run when the tag <a:schemeClr> is opened. Later, Shape::createAndInsert is called by the ShapeContextHandler to create the actual XShape, this happens when the tag <wps:wsp> is closed. createAndInsert puts idx and schemeClr values into the InteropGrabBag property of the XShape with the name StyleFillRef. On export time, when the shape data is written at ShapeExport::WriteCustomShape, we added a call to DrawingML::WriteShapeStyle. This method will check the existence of the InteropGrabBag property in the shape, read the StyleFillRef prop inside it and output the proper XML to the style definition. DrawingML::WriteShapeStyle also writes some mock tags into the <wps:style> because we found that they are compulsory. We will replace them with the proper data in further patches. The method putPropertyToGrabBag was added to the Shape object for convenience. The data files for some /sd/qa/ unit tests were updated to reflect the new property StyleFillRef inside the InteropGrabBag. Change-Id: I5ffa5242852461a1a709a8f169d40f0d7a2c9aa3
* writerfilter: drop no longer needed LFO/LFOLevel classes in doctokMiklos Vajna2014-01-182-662/+0
| | | | Change-Id: I594d854db54a74ddf3f32d4b30b1c4f1aa38d431
* writerfilter: whitespace fixes in SdtHelperMiklos Vajna2014-01-182-42/+54
| | | | Change-Id: Idcb74c5e911ec2337f1e8743dc4627464f1cfd27
* sw: add testcase for RTF_LEVELFOLLOW importMiklos Vajna2014-01-182-0/+51
| | | | | | I almost broke this during refactoring... Change-Id: If38e73f3b7d66e97bbcbad87447b8aa611ff79d1
* writerfilter: refactor to remove redundant ListLevel class in doctokMiklos Vajna2014-01-184-761/+17
| | | | Change-Id: I762e4f09b55d957bdd57e76651417bed11cb1e74
* writerfilter: unused List class in doctokMiklos Vajna2014-01-183-631/+0
| | | | Change-Id: I2e3315584e66b7a99003512b197062807674f8aa
* writerfilter: remove METAFILEPICT class in doctokMiklos Vajna2014-01-184-286/+4
| | | | Change-Id: Icb124a2f7445ca17f04dc0024dc17cbcc4b0ca6d
* writerfilter: remove last NS_rtf usage in ooxmlMiklos Vajna2014-01-185-242/+52
| | | | Change-Id: I79e0fa9d0ee35e31912d36ec213acf1a83b3547e
* fdo#73487: Write unit tests for this.Kohei Yoshida2014-01-183-37/+54
| | | | | | Also remove the files used for the old tests. Change-Id: I4fbf6acce205d15a35780524120e351e01dc6642
* fix dropshadow on iostsahi glik2014-01-171-1/+15
|