summaryrefslogtreecommitdiffstats
path: root/editeng
Commit message (Collapse)AuthorAgeFilesLines
* WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'Tor Lillqvist2014-02-061-1/+1
| | | | Change-Id: I01d9123fcad19aa84a41eb990fb65954314a4802
* Remove LookupTree as it is replaced with Trie.Tomaž Vajngerl2014-02-065-758/+0
| | | | Change-Id: I7611c5307e4d4e925dc3e54c6b3f2d1a47bd9080
* Add getAllElements (strings) for Trie.Tomaž Vajngerl2014-02-062-3/+39
| | | | Change-Id: I9603cc51545f72fdb0854f2d76e2326706329000
* coverity#707768 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-11/+17
| | | | Change-Id: I47b507d4e256572f879bab72cf99f007bb2df771
* coverity#707765 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-3/+0
| | | | Change-Id: I35194385cc2f5d02a93ade0e8ab40fb77eba7e6e
* coverity#707764 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-21/+27
| | | | Change-Id: Ibbd13e15b6aca33a8c9050dd0d9f210e64e85e3e
* coverity#707761-62 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-2/+2
| | | | Change-Id: I9ebd8df6e510640e511a61332ab1d712b68c40ca
* coverity#707757 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-0/+4
| | | | Change-Id: I3956259474b100d0d14d500f9528b04125e0d169
* coverity#707756 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-11/+9
| | | | Change-Id: I9985284e852ddc3b29d75cdf0b8969c2a8cecb9a
* coverity#707754 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-1/+8
| | | | Change-Id: I4de0a0857ce87266c3f3c4993efc45b12539156c
* Remove a now unneeded cast (xub_StrLen and tools/string.hxx removal).Andrzej Hunt2014-02-051-1/+1
| | | | | | | Change-Id: Ic45b3c572483aa0292c227274565a1750dd51f17 Reviewed-on: https://gerrit.libreoffice.org/7854 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Get typed text inside cell (in Calc) to display again.Kohei Yoshida2014-02-052-3/+3
| | | | | | This also fixes non-displayed text box contents in Draw / Impress. Change-Id: I49d022ea71df398a70d1dc65eeb122c9a6373b27
* convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin2014-02-044-13/+16
| | | | | | | | | | as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* cppcheck: Clarify calculation precedence for '%' and '?'Julien Nabet2014-02-031-1/+1
| | | | Change-Id: Idf3c4f31f9abd974d623d4a1cf08eeb167e1ef25
* WaE: sal_Int32 format mismatchesTor Lillqvist2014-02-031-4/+4
| | | | | | | (Do we really need this ancient debug code writing to a /tmp/debug.log / d:\debug.log ?) Change-Id: I005b938e95d963bc3b6a2d0d1d11352623b7c2e1
* xub_StrLen and tools/string.hxx final strawNorbert Thiebaud2014-02-0335-862/+852
| | | | | | | | | | Thre is still some 0xffff limit left and possibly some less than gracefully handled overflow/error cases Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638 Reviewed-on: https://gerrit.libreoffice.org/7787 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* fdo#54938 Convert bridges, editeng and others to cppu::supportsServiceAlexandre Vicenzi2014-02-022-40/+7
| | | | | | | | Change-Id: I7ff5189473c3e0831c2f1e95264d1a04f3b716a9 Reviewed-on: https://gerrit.libreoffice.org/7761 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
* coverity#1158124 Dereference after null checkCaolán McNamara2014-01-291-3/+3
| | | | Change-Id: Ifc2d668b4dda3bc6f8a1aec97a2b9031d3cbd2e9
* This has only converted the condition of ?: to longStephan Bergmann2014-01-291-2/+2
| | | | | | | ...not the resulting value, since 9ad0aa90fa5cf8c3b3e6a42bd9a0172b4cf75a47 "#80304# More improvements for vertial writing," but seems unnecessary anyway. Change-Id: Ifb86e51970cd32a1933541c75fe5d1d8f8b9f05b
* Resolves: #i123228# ParagraphData symbols shouldn't be required...Herbert Dürr2014-01-291-0/+4
| | | | | | | | | | | | | for outlobj.hxx users Avoid the ParagraphDataVector default constructor in the editeng/outlobj.hxx header. ParagraphData symbols are not DLLPUBLIC so they are not available outside of editeng. When inlining is disabled (e.g. for debugging) this may break the build as observed when building svx in debug mode on Solaris. (cherry picked from commit 2738b2ea2df22759f32b687d08fd6868b425760e) Change-Id: I0a8250fe3d61819217c913949dfa20a902b3e397
* coverity#1019409 : Uninitialized scalar fieldNorbert Thiebaud2014-01-281-30/+29
| | | | Change-Id: I54c360fbdb2d7eed786ff7e7566d6ebe12ed833c
* Following cp#1000025Julien Nabet2014-01-281-1/+1
| | | | Change-Id: I7d005fdd67e479852e9869332d3976b4a7095c29
* bool improvementsStephan Bergmann2014-01-2824-173/+173
| | | | Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
* Apparently missing "nPos <"Stephan Bergmann2014-01-281-1/+1
| | | | Change-Id: Id334f044d475de7ef14503e1a45190a0021d58be
* cp#1000025: Import casemaps from pptx.Muthu Subramanian2014-01-278-6/+48
| | | | | | | Note: This only imports it and it may not be even possible to export (even to othe formats). Change-Id: I8e104f1bc3a95c42ac932b6ab58365dc113fb2e0
* long to sal_Int32Matteo Casalin2014-01-262-3/+3
| | | | | | | Change-Id: I03c3d93c03239ae39bb3078ffabe71276ec37d25 Reviewed-on: https://gerrit.libreoffice.org/7658 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove SvStream::operator<< methodsNoel Grandin2014-01-221-2/+2
| | | | | | | | | .. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* convert more SvStream::operator<< callsNoel Grandin2014-01-221-91/+93
| | | | | | | | | | | | .. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* bool improvementsStephan Bergmann2014-01-222-3/+3
| | | | Change-Id: I2a0980a603822ffdf74a38ba0b41ba27a6830861
* bool improvementsStephan Bergmann2014-01-223-5/+5
| | | | Change-Id: Ia212b8f80da70de7796f0d8ba817c8d3da693080
* EDITENG : Remove usage of DBG_CTOR and DBG_DTOR.Arnaud Versini2014-01-2120-872/+0
| | | | | | | | | Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: Ifc04e2ec9d27c706868569a3bcb8fbfae0e84c69 Reviewed-on: https://gerrit.libreoffice.org/7524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann2014-01-213-5/+5
| | | | | | | 3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
* Related: #i56998# use locale rules to format percentageCaolán McNamara2014-01-201-10/+36
| | | | Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
* Resolves: #i56998# add a space separater between value and unit...Tsutomu Uchino2014-01-203-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | and remove separator between value and percent to match with ISO 31-0 (cherry picked from commit 0cea884e3f417e4b58d2fdcfc7b0111f3bfc6f30) Conflicts: chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/colorpicker.cxx cui/source/dialogs/colorpicker.src cui/source/dialogs/grfflt.src cui/source/dialogs/zoom.src cui/source/tabpages/tabline.src editeng/source/items/frmitems.cxx editeng/source/items/textitem.cxx sd/source/ui/animations/CustomAnimationDialog.src sd/source/ui/animations/SlideTransitionPane.src svx/source/dialog/bmpmask.src svx/source/engine3d/float3d.src svx/source/items/algitem.cxx svx/source/sidebar/text/TextCharacterSpacingControl.cxx svx/source/xoutdev/xattr.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/uiitems.cxx Change-Id: I554309cb72dd8956077c5ca6866a982cdd6529aa
* convert SvStream::operator<< overloads to more explicit methodsNoel Grandin2014-01-165-20/+21
| | | | | | | | | This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
* low hanging xub_StrLen->sal_Int32 in editengCaolán McNamara2014-01-162-5/+5
| | | | Change-Id: I8d9a504a1e7d320b487ee499b5bc0c04b52632e7
* Related: #i17171# big xub_Strlen -> sal_Int32 changesCaolán McNamara2014-01-154-87/+65
| | | | Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
* bool improvementsStephan Bergmann2014-01-1410-30/+31
| | | | Change-Id: Ic6488ac278cac2d1d7e240abff545f9ea0b8eafe
* This shall likely comp. m_eCurrentConversionDirection to HHC::eHangulToHanjaStephan Bergmann2014-01-141-1/+1
| | | | Change-Id: Ib4eba9f6386214d010c880ad15bcacce7665a3af
* comment is wrong now with conversion to OUStringCaolán McNamara2014-01-141-2/+1
| | | | Change-Id: Iff26cd2c966fc747895fbde7229a457a99c62f7a
* xub_StrLen->sal_Int32Caolán McNamara2014-01-141-27/+25
| | | | Change-Id: I9c4d9b8d18b36dda6609b1976cae13a481943563
* longparas: nPartLen always is USHRT_MAX/STRING_LEN to take full stringCaolán McNamara2014-01-141-2/+2
| | | | Change-Id: I55bb0baa8e83948c470ade2fc6fabccb69dea91d
* longparas: convert ValidateKashidas to sal_Int32Caolán McNamara2014-01-131-0/+1
| | | | | | | we can use -1 as the failure return code as return value is always checked and isolated from the rest of the code. Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
* SfxPoolItem::operator ==, != should return boolStephan Bergmann2014-01-109-36/+36
| | | | | | ...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
* re-write SvStream operator<< to non-overloaded methodsNoel Grandin2014-01-109-198/+201
| | | | | | | | | | | | | | | This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Consolidate XServiceInfo for classes derived from SvXMLImportStephan Bergmann2014-01-092-3/+3
| | | | Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
* Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann2014-01-082-3/+3
| | | | Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
* Remove unread variableMatteo Casalin2013-12-281-2/+0
| | | | Change-Id: I6271e8f977d5c112223d14744830c8101099613d
* Use OUString constructor for constant ASCIIMatteo Casalin2013-12-281-12/+5
| | | | Change-Id: Ifc80743c748c2542055cfe825ad322b83958d976
* Use member initialization list in some constructorsMatteo Casalin2013-12-282-35/+62
| | | | Change-Id: Ie0c9720966ca42373bec7a1697b72c5a17f49644