summaryrefslogtreecommitdiffstats
path: root/editeng
Commit message (Collapse)AuthorAgeFilesLines
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0780-508/+502
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* new module i18nlangtagEike Rathke2013-04-0526-27/+27
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* ResMgr with LanguageTagEike Rathke2013-03-291-1/+1
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* -Werror=unused-macrosStephan Bergmann2013-03-271-2/+3
| | | | Change-Id: I70813300c9935435de62a6a1347530aed8dfdc08
* -Wunused-macrosStephan Bergmann2013-03-276-14/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* kill some unused inlinesThomas Arnhold2013-03-271-22/+0
| | | | Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
* coverity#704226 Logically dead codeJulien Nabet2013-03-231-2/+2
| | | | Change-Id: I24e55bea6070ce1113c5b64902dbd41c7827f91d
* coverity#704225 Logically dead codeJulien Nabet2013-03-231-4/+0
| | | | Change-Id: I9aa41653b9622245de8084443ef3e0b74f720571
* Make EditTextObject copyable. Its Clone() method uses that anyway...Kohei Yoshida2013-03-221-1/+1
| | | | Change-Id: I9c9ce4ddbf4849e3b237f037d8f1232b4ae84387
* coverity#704628/704629/704630 Explicit null dereferencedJulien Nabet2013-03-201-8/+7
| | | | | | | | | + return early if no whichid or after default case Change-Id: I40f3ec310604ccde22022dd2e82984b0f3057307 Reviewed-on: https://gerrit.libreoffice.org/2869 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-201-4/+2
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-195-6/+6
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* coverity#735374 Copy-paste errorJulien Nabet2013-03-191-1/+1
| | | | | | | Change-Id: Icbd64c87f6a8fb87f4f2d82f23d3df613bbb6cfb Reviewed-on: https://gerrit.libreoffice.org/2798 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-196-16/+16
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* coverity#735373 Copy-paste errorJulien Nabet2013-03-181-1/+1
| | | | | | | | Change-Id: I0273a08a7aa23aa9bb7aa2139a0cea02611e8feb Reviewed-on: https://gerrit.libreoffice.org/2797 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
* use SAL_N_ELEMENTSDavid Tardon2013-03-181-2/+2
|
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* i#119907# Numbering type now applied (almost) unconditionally.Andre Fischer2013-03-141-11/+2
| | | | | | | Patch by: Steve Yin Cleanup: af Change-Id: Iccf48a24cc947115524b1d92874386c1e2e0aecf
* don't jam numbers directly on text, leave a spaceCaolán McNamara2013-03-133-13/+8
| | | | | | | | | | ...for the "X characters at start/end of line" in the paragraph style dialog style-description entry when hyphenation is not default Move it into the resource string, that way translators have the chance to position the numbers in the right place of the string. Change-Id: I04217e27336bc032548645fc46a6daf58cccd0c4
* fdo#60724: Fix spelling avaliable -> available.Steven Meyer2013-03-131-1/+1
|
* OopsFridrich Štrba2013-03-121-1/+1
| | | | Change-Id: Idc22c05ff2425702fb7a5ab25b3413f967238569
* Resolves: #i120773 Numbering lost when saving or opening a ppt fileZhe Wang2013-03-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | * subversion/main/editeng/inc/editeng/svxenum.hxx Define some numbering types supported by MS ppt * subversion/main/filter/source/msfilter/svdfppt.cxx Mapping added MS numbering types to Symphony numbering types * subversion/main/sd/source/filter/eppt/epptso.cxx Export added MS numbering types Patch by: Yin Bing <steve.yin.aoo@gmail.com> Suggested by: Wang Zhe <kingwisemmx@gmail.com> Found by: Yin Bing <steve.yin.aoo@gmail.com> Review by: Wang Zhe <kingwisemmx@gmail.com>(cherry picked from commit 39e9cae1ac9b7944c9df0642a193b042a1b68266) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> Conflicts: editeng/inc/editeng/svxenum.hxx sd/source/filter/eppt/epptso.cxx Change-Id: Ic8a9406fd1b58e5cec5c5adc28bf0190ccb87315
* One more Rec->Rect in editengTor Lillqvist2013-03-121-1/+1
| | | | Change-Id: Id30c005559631d4685aa00a6197fbc6c062dc624
* Let's abbreviate Rectangle as Rect, not RecTor Lillqvist2013-03-1210-118/+118
| | | | | | (Rec is commonly used to mean Record.) Change-Id: I19f4611948510536b2db1e0142b52a7c0a35a60b
* fix fdo#62143: set TEXT_LAYOUT_BIDI_STRONG flag.navin patidar2013-03-111-1/+1
| | | | | | | Change-Id: I19ed1874ff73c3a8002934fa3456d718e383c5d6 Reviewed-on: https://gerrit.libreoffice.org/2664 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Fix fallout from 3137258e346a9c16b2e61747fd926a1e7d358d02Tor Lillqvist2013-03-111-1/+1
| | | | | | | | | | | | | | | | | | | WaE: expression which evaluates to zero treated as a null pointer constant of type 'OutputDevice *'. In this case, I think the code would have worked despite the scary warning. (By luck, as the sal_False got passed as a NULL OutputDevice pointer, and the following sal_Boolean parameter, which the sal_False presumably was intended to mean, has the default value of sal_False.) But better to make it more explicit which overload of Paint() is intended. But seriously, what good is supposed to come from the overloading of the function name Paint() here? Would it really be so horribly old-fashioned and C-like to use two different function names for the slightly different use cases? Change-Id: Ib397c8c1785320d3a9c0579a24f2c28ee4d22796
* Resolves: #i118905# Changed EditEngine to be able to paint to overlay directlyArmin Le Grand2013-03-118-48/+66
| | | | | | | | | | | | | | | | | | | | | | | | i.e. paint to VirtualDevice as well, not only to Window. Removed the no longer needed switch between buffered and unbuffered overlay, this removes the flickering white block. (cherry picked from commit 5ab32faf2426fa60f975d0b544cfd671cdc7983b) Conflicts: editeng/inc/editeng/outliner.hxx editeng/source/editeng/impedit.hxx editeng/source/editeng/impedit3.cxx editeng/source/editeng/impedit4.cxx svx/inc/svx/sdr/overlay/overlaymanager.hxx svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx svx/inc/svx/sdrpaintwindow.hxx svx/inc/svx/svdpagv.hxx svx/source/sdr/overlay/overlaymanager.cxx svx/source/svdraw/sdrpaintwindow.cxx svx/source/svdraw/svdedxv.cxx svx/source/svdraw/svdpagv.cxx Change-Id: Ibf4fcba77b120187fbae2454d136d2acd74be119
* Resolves: #i120667#, pBound member obj in TextRanger is not freedJian Fang Zhang2013-03-091-0/+1
| | | | | | | Found by: zhangjf Patch by: zhangjf Change-Id: Ifa4c49cd3f7f576c9c86e0269fe9e7ae69a9b325
* const-correctnessIvan Timofeev2013-03-096-7/+7
| | | | Change-Id: I15033051cfa4baafde4736abf366ca8c03778b88
* related to fdo#47018: fix DBG_ASSERT in EditEngine::QuickMarkInvalidIvan Timofeev2013-03-091-3/+6
| | | | | | regression from 2a6abe21ca8723123c5957369c0c518db37ad02e Change-Id: I007c54d5b6d28bfbf0bf21c4b85d408181731fd2
* Remove unused EditTextObjectImpl::RemoveParaAttribsJulien Nabet2013-03-092-31/+0
| | | | Change-Id: I3849cbac0e3d08686004775fbe7f749af0bfad62
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-0810-0/+26
| | | | | | | | | use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
* simplify compareTo (now correct)Thomas Arnhold2013-03-081-2/+2
| | | | | Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "simplify some compareTo"Stephan Bergmann2013-03-081-2/+2
| | | | | | | | | | This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
* simplify some compareToThomas Arnhold2013-03-081-2/+2
| | | | Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-1/+1
| | | | | | | | Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* sal_Bool to boolTakeshi Abe2013-03-046-12/+12
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* doubled namespacesThomas Arnhold2013-03-041-4/+0
| | | | Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
* doubled includesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* remove unused and commented out codeThomas Arnhold2013-03-047-47/+0
| | | | | | This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-036-8/+8
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* Typo fix: informations -> information and a few other adjacent typos.Gregg King2013-03-021-1/+1
| | | | | | | | | FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Related: fdo#55693 add regression tests for autocorrectionCaolán McNamara2013-03-013-3/+123
| | | | Change-Id: Ie9bbeb38ec9cc2fa0377709e75abb0338b20bab5
* vector::at on guaranteed in-bounds valuesCaolán McNamara2013-03-011-2/+2
| | | | Change-Id: I6ca8ec182e4c68f4cc29c7669168b513cdf148bd
* fdo#55693 Two initial capitalized letters corrected in compound wordsChristopher Copits2013-02-281-29/+67
| | | | | | | | | | | | | What changes I made: 1. In svxacorr.cxx SvxAutoCorrect::IsAutoCorrectChar, I added '-' as a character. 2. In svxacorr.cxx SvxAutoCorrect::FnCptlSttWrd, I added code to iterate through each AutoCorrectChar in a compound word to determine if capitalization needs fixing. Change-Id: I4e7de33fceccdea5edd84e83bacc7ae690135d76 Reviewed-on: https://gerrit.libreoffice.org/2351 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Remove dead voice command codeTor Lillqvist2013-02-281-105/+1
| | | | | | | | | | | I don't see voice input commands being generated anywhere. Nobody seems to know what this code has been used for. Change-Id: I4e4221dd4dff76086d0268be286c3605e669bae7 Reviewed-on: https://gerrit.libreoffice.org/2452 Reviewed-by: Niko Rönkkö <ronkko@iki.fi> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac2013-02-272-12/+0
| | | | | | | | | | | | Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
* fdo#38838 Replaced some use of (Xub)String with OUString.Jean-Noël Rouvignac2013-02-263-13/+9
| | | | | | | Change-Id: I5a8f2d1a5762c20d21d31b04778a9e2cac8df9cb Reviewed-on: https://gerrit.libreoffice.org/2364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Fix i#119756 Safer take care of empty paragraphs in EditEngine layoutingArmin Le Grand2013-02-251-29/+35
| | | | | | | | | | This fixes fdo#59629 on our side. Conflicts: editeng/source/editeng/impedit3.cxx and moved sal_uInt16 nIndex back up in scope. Change-Id: Ie2b5dac48b10ff8c031f481f0a7ddde644694975