summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-02SwTextBoxHelper: take care of position after a CustomShapeGeometry changeMiklos Vajna
This is required by the ODF import, as that sets the CustomShapeGeometry after setting other properties (like Transformation, which includes the position/size). Change-Id: I299a1b302d55b3753a0a6b2142ea173f5f134b39
2014-06-02Fix memory leak for BASIC sub (as well as void function)Stephan Bergmann
d88593af59d9126cdbcd6c0a5b06fb9c673dc6f9 "INTEGRATION: CWS ab34: #i73457# Prevent sub from beeing set as param 0 for return type void" to fix i#73457 "Memory Leak in all Basic type void Method calls" had made the PutDirect call dependent on != SbxVOID only (which would cover void functions) but not also on != SbxEMPTY (which would apparently be required to also cover subs, as seen with CppunitTest_basic_vba run under lsan). Either this was an oversight with the original fix, or subs have meanwhile changed from GetType() == SbxVOID to SbxEMPTY? Change-Id: I3e5dbf79bfd5eea3cfec8ed3fa984d13167aa501
2014-06-02fdo#68849: Add header guards to all include filesJens Carl
added header guards for directories basebmp/, chart2/, cppuhelper/, include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/ Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6 Reviewed-on: https://gerrit.libreoffice.org/9615 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-02sw textboxes: implement ODF import/exportMiklos Vajna
Map Writer shapes' new TextBox property to an loext:text-box boolean attribute. Change-Id: Ie47e15130adc1c480666c689c55a6c9e8460e385
2014-06-02fdo#76934 : DOCX: Preservation: AutoSpacing property not getting preserved.Pallavi Jadhav
Issue : - In styles.xml, beforeAutospacing property was set to true. - In code LO grab bags AustoSpacing property using "ParaInteropGrabBag". - But ParaInteropGrabBag had only an entry for direct paragraph properties, not paragraph styles. - Hence while importing AustoSpacing property from styles.xml, LO was throwing exception as "Some style properties could not be set: Unknown property: ParaInteropGrabBag". Implementation : - Added "ParaInteropGarbBag" entry for Paragraph styles in sw/source/core/unocore/unomap.cxx - Removed code from StyleSheetTable::ApplyStyleSheets() as it was previously added to "Ignore" the AutoSpacing property. The code was previously added beacuse due to AutpSpacing in styles.xml, LO was throwing an exception and this was causing unhandling of properties after AutoSpacing. So to prevent unhandling of other properties due to AutoSpacing property, a check was added to "Ignore" AutoSpacing, thus enabling handling of properties after AutoSpacing. Please refer to : https://gerrit.libreoffice.org/#/c/8902/ But as now we have to "Preserve AutoSpacing" this check needs to be removed in order to set it in StyelSheetTable.cxx. - Added Export Unit test case Change-Id: I6748f97befcdf40643e75388766e05740290306b Reviewed-on: https://gerrit.libreoffice.org/9561 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-06-02restore 2 deleted lines in CREDITSAndras Timar
Change-Id: I9ffd868d72f38f2d15373ce19ed0023644f19ac4
2014-06-01Resolves: fdo#79506 Some numbers are marked as translatableJulien Nabet
Exception: http://opengrok.libreoffice.org/xref/core/sd/source/ui/view/DocumentRenderer.src#55 Change-Id: Iecfe49b51ed68de00f1b5adfb5bca9fa793fb1f9
2014-06-01sal_uInt16 to size_tMatteo Casalin
Change-Id: Ia8795223224a6d2772f12ad41d7691517db80714
2014-06-01Avoid temporary OUStringsMatteo Casalin
Change-Id: I02f26228f0f9068ce7f497913fb36ac8945e785b
2014-06-01sal_uInt16 to size_t, constifyMatteo Casalin
Change-Id: Ie864814c71a31aaf2b139641bac9bb720143abfe
2014-06-01OUString: avoid temporaries and simplifyMatteo Casalin
Change-Id: I1e131913991f0b28e55e54e8cc64ce37135be946
2014-06-01sal_uInt16 to more proper types + minor optimizationsMatteo Casalin
Change-Id: I8873a1ec910024b6fc25490891dc2e2c8d20d5d1
2014-06-01Group common codeMatteo Casalin
Change-Id: I857366ca2fb6e0e0cb43ff12b161310eab5015f6
2014-06-01OUString: simplify, constify, remove temporariesMatteo Casalin
Change-Id: I7dbba6bfe9f44b28cdf62b1eb4da05eda696d0dd
2014-06-01sal_uInt16 to more proper types, constifyMatteo Casalin
Change-Id: Ic7d9f18e04429c5ccb7b0fad28f3e83aa199897c
2014-06-01Don't re-iterate over string to get consecutive tokensMatteo Casalin
Change-Id: I502cc43c7419301ba0937e495172bc21b609f71a
2014-06-01OUString: avoid temporaries, plus minor optimizationsMatteo Casalin
Change-Id: I5f55430ecca381aea87d6d12fc99d05cc97334da
2014-06-01sal_uInt16 to more proper types, constify, minor optimizationsMatteo Casalin
Change-Id: I37ccea7d87e6e2e818717ecd06c8738dea7bcf30
2014-06-01OUString: constify, avoid temporaries and concatenated appendsMatteo Casalin
Change-Id: Ib1f6415dee8c3ffabf345f3e265d6beda652e159
2014-06-01Use more proper integer types and constifyMatteo Casalin
Change-Id: I7e51c1bc713f43bcd89bb6e5a098b2ced670681f
2014-06-01OUstring: avoid temporaries and constifyMatteo Casalin
Change-Id: I553f6219a695cb6a41ccd9811d5ab8b5e7138ac5
2014-06-01sal_uInt16 to more proper typesMatteo Casalin
Change-Id: I5b3ac7b5bd0b5efe437f04ee308bdd94f55672c9
2014-06-01Avoid temporary OUStringsMatteo Casalin
Change-Id: I3f4ad2d94b8438705719c235fd318440406aed8c
2014-06-01sal_uInt16 to more proper types + some constMatteo Casalin
Change-Id: I8b24a8fc3e636684b280b1aef1b8f522bfb7296e
2014-06-01OUString: avoid unnecessary conversions and buffersMatteo Casalin
Change-Id: I5537b089b15987564004cf46dfe53e34576ebca5
2014-06-01sal_uInt16 to size_tMatteo Casalin
Change-Id: I03d205d8c11be7e5b5aca3c711dd26e52f174fff
2014-06-01Use literal ASCII strings directlyMatteo Casalin
Change-Id: I759c9dc5d698bc4444aa941907fbc1302e2d984c
2014-06-01Fix hungarian prefix for calendarsIsamu Mogi
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926 Reviewed-on: https://gerrit.libreoffice.org/9566 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fix header guardThomas Arnhold
Change-Id: I0e3216f6451fdb06a3519a042e412ca2e5147f4b
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directory sw/ Change-Id: I5859f986c6f954d41a7940dc9ae8febaa714d34f Reviewed-on: https://gerrit.libreoffice.org/9587 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directory vcl/ Change-Id: I76ad0c34f2b107d56e92c5a6a8f4c61554c93e2f Reviewed-on: https://gerrit.libreoffice.org/9597 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories toolkit/, and ucb/ Change-Id: Ia7ea7d6fad685c7648db22455b5587cf6260318d Reviewed-on: https://gerrit.libreoffice.org/9595 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directory svx/ Change-Id: I1c2006bccf03c3057daf6ea2711c52a8c1f455f3 Reviewed-on: https://gerrit.libreoffice.org/9586 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories stoc/, and svtools/ Change-Id: Ib6691b0e3fa09d71696ab947d357e489eb35df66 Reviewed-on: https://gerrit.libreoffice.org/9584 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories sc/, sd/, slideshow/, and solenv/ Change-Id: Ib4577761644fe72f5ddb3c5060e629bf94d6e6e2 Reviewed-on: https://gerrit.libreoffice.org/9583 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories sal/, sal/, and scripting/ Change-Id: Ieb7f224f2d27bd671618c516f47f5b7f08c1d294 Reviewed-on: https://gerrit.libreoffice.org/9582 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01Fixed lower case typo in header guard definitionJens Carl
Change-Id: Ib4f09892850bfcb72ddec0b0a924746495c5551f Reviewed-on: https://gerrit.libreoffice.org/9579 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories l10ntools/, lotuswordpro/, and rsc/ Change-Id: I9c034d4bb5c92d78378bda4658d43a8b603d5281 Reviewed-on: https://gerrit.libreoffice.org/9581 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01extract the rendering code in ChartViewMarkus Mohrhard
We need it for the IOpenGLRenderer interface. Change-Id: Ic9f425b44c0efdd30956eba13ef03ba7179d35a4
2014-06-01make the OpenglShapeFactory work with the new OpenGLWindow implMarkus Mohrhard
Change-Id: Id97a61c67b55d6ef85b9752f7f4ac2c93aa5bf32
2014-06-01fix crash if there is no OpenGLRenderer setMarkus Mohrhard
Change-Id: I6cd75aa2a9db7219b2873d0b6516ef9df4fbe33d
2014-06-01Typo: colect->collectJulien Nabet
Change-Id: Ib53aad3b773e8818c174f5dd35685e5bbe70afd7
2014-06-01Typo: hanlde->handleJulien Nabet
Change-Id: I79e9018207c11c6f523dffc96ced1ff72fd728bc
2014-06-01contined -> continuedMiklos Vajna
Change-Id: I98459d61cd13ce73adcf63a8eab23f344999c0e5
2014-06-01fdo79368 Don't process overflow menu items twice.Andrzej Hunt
We reuse the toolbox overflow menu for toolbarmanager's context menu -- toolbarmanger previously added its menu listener to the toolboxes menu permanently, meaning that it would try to handle overflow menu items (in addition to the context menu items which it should handle), instead we should only add the listener when we are actually using the menu as a context menu. Perhaps it would be better in the long run to actually use fully separate menus instead, and ask toolbox to specifically add its items to that rather than trying to hack the context menu on top of the overflow menu? Change-Id: Iecface2c6eae9ab79dbcdb25ffdbaf446e2885ea
2014-06-01coverity#1219806 double closeNorbert Thiebaud
Change-Id: I0719451a3f2f8f8bf5e2d417252412f1e68b456e
2014-06-01vcl: cleanup window.hChris Sherlock
Change-Id: Iea8323382f889705681236e364a9ef8b744fa9f2
2014-06-01remove the framebuffer renderingMarkus Mohrhard
Change-Id: I2510a00b24a6a3c045a6ee2ccb21c022d3404000
2014-06-01don't add the changes toolbar to the forms window, fdo#76752Markus Mohrhard
Change-Id: I1a5d62b0995343a73fd8d6941f0fa380bb19e783
2014-06-01move to OpenGLWindow step oneMarkus Mohrhard
Change-Id: I9f019a397f8b0daf27f0969b1f23539438eb6422