summaryrefslogtreecommitdiffstats
path: root/editeng
Commit message (Collapse)AuthorAgeFilesLines
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-301-24/+4
|
* Bin ugly (ab)use of preprocessor in headersTor Lillqvist2013-04-277-9/+0
| | | | | | | | | | | | | | | The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Resolves: fdo#42893 improve Capitalize first letter of Sentenceanuragkanungo2013-04-261-0/+9
| | | | | | | | | | | | | | | don't autocapitalize a word if the previous word is clearly an anagram with intermediate periods. Committer: anuragkanungo@gmail.com modified: editeng/source/misc/svxacorr.cxx On branch localbranch_anurag Change-Id: Ic559f4b6d5e15768870aabab29350bee51b24b08 Reviewed-on: https://gerrit.libreoffice.org/3495 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* XubString->OUStringCaolán McNamara2013-04-268-9/+9
| | | | Change-Id: I32c867e43bfb50a57261414107caae60f616d703
* gbuild: drop empty use_packages callsDavid Tardon2013-04-241-3/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-242-3/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-23135-17970/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* editeng: move two double used SIDsThomas Arnhold2013-04-221-3/+3
| | | | | | | | | | | | | Those are using the same IDs: SID_OBJECT_MIRROR (SID_SVX_START+1093) SID_DELETE_POSTIT (SID_SVX_START+1094) Also move SID_ATTR_PARA_OUTLINE_LEVEL to make it not too complicated. The range from 1121 to 1124 is free. Before those sadly non. Change-Id: If62fdc1eb8bb89f2e7f7c3682c8a83450ca03eb4
* restore SvxNumRule::SetLevel variantCaolán McNamara2013-04-222-0/+18
| | | | | | | correctly removed as unused by 1dc612970f57aa5599c6d1b7afb10a3f5f4403d2 but we will need it again Change-Id: I2d5c391506a84abe435547232398aa43a3468fe6
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-226-139/+24
|
* Do not store return value for later, just exitMatteo Casalin2013-04-221-4/+3
| | | | | | | Change-Id: If71398ee5a29652303ae492d23e3910526307d3c Reviewed-on: https://gerrit.libreoffice.org/3541 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Prefer standard prefix for data membersMatteo Casalin2013-04-222-93/+91
| | | | | | | Change-Id: Ic0d0cdc88ee17bdeeb53855162085c30b25f9004 Reviewed-on: https://gerrit.libreoffice.org/3540 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Slightly simplify loopMatteo Casalin2013-04-221-5/+3
| | | | | | | Change-Id: If44e86ceecd4a407d3b4e294a03a84ad010f95e1 Reviewed-on: https://gerrit.libreoffice.org/3539 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* bDocumentDone is always falseMatteo Casalin2013-04-221-3/+2
| | | | | | | Change-Id: Ifde4d9235d3eacf0317b19885f5ea57e1c695cb3 Reviewed-on: https://gerrit.libreoffice.org/3538 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* sal_Bool to boolMatteo Casalin2013-04-227-122/+122
| | | | | | | Change-Id: I5831dfb7270ce3983a454c6c40558a74931d5200 Reviewed-on: https://gerrit.libreoffice.org/3537 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Avoid multiple appends on OUStringMatteo Casalin2013-04-211-5/+2
| | | | Change-Id: I877c4520be335dc04bbfdfa9a15dab52dd7f446a
* fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza2013-04-208-23/+23
| | | | | | | | | Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Revert "Revert "fix fdo#47018 Impress paste destroy bullet""Eike Rathke2013-04-192-8/+104
| | | | | | | | | | | | | | This reverts commit 674a40fe830748b63eafeaf07e0932e2e0a81ba6. And restores a95cce27295f9cd255fa72eaded00972e3efb69b with the exception that the sal_Int8 to sal_uInt16 change is omitted. This stream length change causes loading of autoformats to fail, which are stored in binary format, i.e. in user config's autotbl.fmt, loaded and stored in Calc's ScAutoFormat sc/source/core/tool/autoform.cxx and Writer's SwTableAutoFmtTbl sw/source/core/doc/tblafmt.cxx Change-Id: I59f5d3b1c7e1011a8db304855b2fcf28971e7cb1
* fdo#63711 Calc: fix Catalan and Hungarian hyphenationLászló Németh2013-04-191-21/+28
| | | | Change-Id: I08962578e5d41637e78c91f5df45e518893c82e5
* Revert "fix fdo#47018 Impress paste destroy bullet"Stephan Bergmann2013-04-193-107/+10
| | | | | | | | | | | | | | | | | This reverts commit a95cce27295f9cd255fa72eaded00972e3efb69b, it lead to live- lock in JunitTest_sc_unoapi, where SvxBoxItem::Create (editeng/source/items/frmitems.cxx) failed to break out of the while(true) loop, apparently because it kept reading past the end of rStrm, so cLine wouldn't be updated. (That code would need to be made more robust, but I do not know how best to flag errors from SvxBoxItem::Create?) What looks suspicious about the changes of a95cce27295f9cd255fa72eaded00972e3efb69b at least to editeng/source/items/frmitems.cxx is that it changes the stream's format, now reading/writing a 16 bit value where it previously read/wrote an 8 bit value (SvStream /does/ support sal_Int8, btw). Change-Id: I1a46746559dcf8e1ea8be63a9a0cf2d32ccc69a1
* date/time IDL datatypes incompatible changeLionel Elie Mamane2013-04-182-3/+3
| | | | | | | | | | - nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
* fix fdo#47018 Impress paste destroy bulletCao Cuong Ngo2013-04-183-10/+107
| | | | | | | | | | | | Currently the copy function stores the paragraph attributes to SvStream but the restoration in paste isn't implemented yet! This patch implements the attributes loading from SvStream. Change-Id: I58928ca66a83b3fe3c3894a28ccf1e7fe5f661b3 Reviewed-on: https://gerrit.libreoffice.org/3369 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* basic inplace Font preview for calcNoel Power2013-04-151-0/+3
| | | | Change-Id: Ic1e6c953852a6106ee94f0b577ed398d62aa2285
* use ImpEditEngine::ImplInitDigitModel() to set digit language.navin patidar2013-04-151-13/+2
| | | | | | | Change-Id: I38047da8cb73493916803d73e1036dec68ee2d97 Reviewed-on: https://gerrit.libreoffice.org/3389 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#47018 Impress crashes when modifying bulletCao Cuong Ngo2013-04-132-3/+6
| | | | | | | | | Default numbering rules shouldn't be left zero nor hard-coded. Change-Id: I8a34331006abf3de8c170f8dca43ccf9cec92f04 Reviewed-on: https://gerrit.libreoffice.org/3312 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* added missing includesEike Rathke2013-04-121-0/+2
| | | | Change-Id: I3b77f544478ccdb166a9c7ebc82fb04458aa42df
* resolveSystemLanguageByScriptType in case not setEike Rathke2013-04-121-1/+2
| | | | Change-Id: I45582ba27579413140d536fdf0106edbef8dc4a7
* make that a proper static method EditView::CheckLanguage()Eike Rathke2013-04-122-16/+40
| | | | Change-Id: I08c1af6813314b4881aafdd7f3f98a7629d5cf76
* use proper language tag fallback for language guesser resultEike Rathke2013-04-121-13/+11
| | | | Change-Id: Icd912361ebca0e618bc76fa7017039cc116bef40
* warning C4101: 'e' : unreferenced local variableStephan Bergmann2013-04-121-1/+1
| | | | Change-Id: I31372075311e45b7b772ff057aedf4c5f1d0ed18
* i#79611: SvxFieldData::Create() is not supposed to throw.Jan Holesovsky2013-04-111-1/+12
| | | | Change-Id: Ied4e5cc9211b2a541006432d0b4d257f014249f4
* fdo#62116: Be sure to convert relative URLs into absolute ones.Kohei Yoshida2013-04-083-0/+44
| | | | | | Just to preserve the old (and correct) behavior. Change-Id: I229e0b80097f6d70ff3023072b52576815010b15
* #120650# truncate mis-sized bullet sizes to useful valuesArmin Le Grand2013-04-071-0/+6
| | | | | Patch by: Tang Meng Review by: alg(cherry picked from commit e5720990bd3691222363bb2d674b7d39a0d8829f)
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-0733-126/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* 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
|