summaryrefslogtreecommitdiffstats
path: root/editeng
Commit message (Collapse)AuthorAgeFilesLines
* fixincludeguards.sh: editengThomas Arnhold2013-10-2822-56/+56
| | | | Change-Id: I022e690c1f50f7f5ae872889e21aaedb5c60085d
* windows: warning 4706 is disabled globally in com_MSC_defs.mkThomas Arnhold2013-10-281-7/+0
| | | | | | So there is no need to do this locally, too. Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
* Some clean-upStephan Bergmann2013-10-231-4/+4
| | | | Change-Id: I87cc4a6840090076007d268ae19eb2cfd3408e7c
* fdo#54938: Kill ServiceInfoHelper::supportsService and use cppu's instead.Marcos Paulo de Souza2013-10-233-6/+8
| | | | | Change-Id: I1c2d95e4c3fb6242dcb4cdb88cf9733471a3412b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* remove comment that is irrelevant after the death of String classAndras Timar2013-10-231-2/+0
| | | | Change-Id: I791b007b68247a041f33d779276d1bb0d7e06e78
* convert code to use OUString::endsWithNoel Grandin2013-10-231-1/+1
| | | | | | | | | Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-224-4/+4
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* Resolves: fdo#38838 remove UniStringCaolán McNamara2013-10-221-0/+1
| | | | | | hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
* drop unnecessary tools/string includesCaolán McNamara2013-10-201-4/+2
| | | | Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
* fdo#52622 - Reduce copy and paste codeJosé Guilherme Vanz2013-10-201-21/+1
| | | | | | | | | This commit removes copy and paste code, creating a constructor for it Change-Id: I7a66cfda7fc7c11308d155a7a890352fdacfaacc Reviewed-on: https://gerrit.libreoffice.org/6356 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Make copy and pasting non-ascii text from editengine work againCaolán McNamara2013-10-191-1/+1
| | | | | | regression since 80df5277585d69be5c3d5f32184db94831113f95 Change-Id: Ifcd8f97fdeb078be1884cfbd7175ab15ac30b23d
* CID#1038307 Negative loop boundCaolán McNamara2013-10-191-3/+3
| | | | | | | | fix of coverity#1038307 Negative loop bound d9ac156b2d651c1305135938a1e828144aa5742b wasn't complete, it assigned possible -1 int32 to unsigned value before comparison, so -1 not detected. Change-Id: I6c2805acae8e776902d74c641e01c036193ce3d8
* disambiguate GetScriptType that return different value typesCaolán McNamara2013-10-185-22/+22
| | | | Change-Id: I694d81d17fac5fbd964937dc654ebd764af90842
* Resolves: rhbz#1020712 return all the selected scriptsCaolán McNamara2013-10-181-16/+19
| | | | | | | | | | | | What we want here is *all* the scripts in the range, that's the whole point of using SCRIPTTYPE. We use this to determine the font to show in the fontbox. If it's an exclusive script then we can show the font that that script, and if there are multiple scripts we know to set it empty. With the other intermediate bugs out of the way, this now appears to work correctly. Change-Id: I58426123602d70c151bd878e96fa5cbab7d3fd3e
* Related: rhbz#1020712 more i18n::ScriptType being compared against SCRIPTTYPECaolán McNamara2013-10-181-2/+2
| | | | Change-Id: I5da9114a3fd8330df2b63dc9187323765d305791
* Related: rhbz#1020712 wrong default font shown in editengineCaolán McNamara2013-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | Only in editengine could we have this fiasco. There are two ImpEditEngine::GetScriptType's a) sal_uInt16 ImpEditEngine::GetScriptType(const EditPaM& rPaM, sal_uInt16* pEndPos) const this one returns i18n::ScriptType b) sal_uInt16 ImpEditEngine::GetScriptType(const EditSelection& rSel) const this one returns SCRIPTTYPE Could there be a better way to ensure that mistakes will be made. Anyway, within variant b, with an empty edit engine ImpEditEngine::GetScriptType calls GetI18NScriptTypeOfLanguage but *that* returns i18n::ScriptType's not SCRIPTTYPEs but when there is content then a SCRIPTTYPE is truly returned. Change-Id: I3a4a7c8746728e0fdfb25d961004c8339a24c93d
* new WrongList only if there wasn't one or it wasn't emptyEike Rathke2013-10-181-2/+3
| | | | Change-Id: Id6eaba19e89236716db2a0db9f557216d9402c66
* this method is not supposed to throw, fdo#66241Markus Mohrhard2013-10-171-161/+161
| | | | Change-Id: I1e2eaeba47e16e6b261c4c382ec10166eb08d7f3
* Bin some of Malte Timmermann's personal old debugging codeTor Lillqvist2013-10-121-16/+0
| | | | Change-Id: I4d8070e6c9441a39094d499c433e5009f093d823
* Resolves: fdo#69467 nTxtLeft not compared in operator==Caolán McNamara2013-10-111-7/+10
| | | | | | | | | | | so the maLRSpaceItem( 0, 0, 2000, 0, EE_PARA_OUTLLRSPACE ) in sd is considered the same value as the default all 0 EE_PARA_OUTLLRSPACE. But why the change of the Which id triggers this apparently always there underlying problem needs further investigation Change-Id: I41ef93cf8992f2b5cc72ddb474c54525415657b4
* CID#1103765 missing initializationCaolán McNamara2013-10-111-1/+1
| | | | Change-Id: I2c3781b30054662c21e4c1fa984e36c3898c5c3d
* No more getIdentifier*() calls because they are not efficient.Kohei Yoshida2013-10-082-50/+11
| | | | | | They shall never be used. Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
* ContentInfo to store svl::SharedString instead of OUString.Kohei Yoshida2013-10-082-9/+13
| | | | Change-Id: I633e3bb633317eeb61cd804faf20e79312f569f7
* Avoid exposing aText; encapsulate it.Kohei Yoshida2013-10-083-10/+20
| | | | Change-Id: I7f6ba0735830b55e35b7e352a5e31fdda47a8dfb
* Re-implement interning in order to return both string arrays.Kohei Yoshida2013-10-081-1/+1
| | | | | | One is for the cased string and the other one for the non-cased one. Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
* fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza2013-10-072-16/+4
| | | | | | | Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Rename StringPool to SharedStringPool because that's what it is.Kohei Yoshida2013-10-042-17/+17
| | | | Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
* Add methods to extract string IDs from edit text object.Kohei Yoshida2013-10-042-0/+62
| | | | | | | Note that a single edit text object may have multiple string ID's in case it consists of multiple paragraphs. Change-Id: Ie90541de38a639c30a010817dada389e9445d08c
* Add method to normalize strings in EditTextObject.Kohei Yoshida2013-10-042-0/+31
| | | | Change-Id: I1adb57279db0afeb8387599ec11984380e5a2e4a
* 'ist' -> 'is' here and there.Jan Holesovsky2013-10-041-1/+1
| | | | Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
* bWeiter -> bContinuePhilipp Riemer2013-10-023-27/+27
| | | | | | | Change-Id: Ia0bba3c1610dce5d364fb584f04e0b66cc41fb20 Reviewed-on: https://gerrit.libreoffice.org/6077 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* More SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around std::auto_ptrStephan Bergmann2013-10-021-0/+2
| | | | | | ...as needed by Clang trunk towards 3.4. Change-Id: Ibbfe9cb0ec03e0aed939d769feee9e046af4741f
* -Werror,-Wunused-const-variableStephan Bergmann2013-10-021-1/+0
| | | | Change-Id: I8e382aaa44144693d99c0442942e25f3b5a9b297
* -Werror,-Wunused-const-variableStephan Bergmann2013-10-021-6/+0
| | | | Change-Id: I0daea62642ea19e500287681070ebfd071d08da6
* Resolves: rhbz#1013480 crash in EditLineList::operator[]Caolán McNamara2013-10-011-3/+6
| | | | | | | avoid crashing anyway, though unknown how to end up in this scenario Change-Id: Ib602c73478e5c4772cfef73f70c67ad22877a39f
* in editeng module, convert remains of String to OUStringNoel Grandin2013-10-014-62/+64
| | | | Change-Id: I634e1fc2b63461d94a9e7d27c809d559740da7c0
* convert last bits of include/editeng/svxacorr.hxx from String to OUStringNoel Grandin2013-10-011-11/+11
| | | | | | now that Caolon has fixed the bugs in the auto-correct Change-Id: I06c31c22974fd23c6e6c14f1b3d0b6411712753f
* Related: fdo#38838 remove UniString::SearchAsciiCaolán McNamara2013-09-301-4/+4
| | | | Change-Id: Icb7850aaabe59f96ea26a665a8d25617b2741d68
* Related: fdo#38838 remove UniString::SearchBackwardCaolán McNamara2013-09-271-3/+3
| | | | Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
* Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara2013-09-252-9/+9
| | | | Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
* fdo#54686 Treat hard blank as soft blank in numberLaurent Balland-Poirier2013-09-231-9/+8
| | | | | | | | | | | | | | | AutoCorrect option "Add non-breaking space in French..." insert non-breaking space (hard blank) and avoid recognition of percent number and time number. This patch treats hard blanks as soft blank in number format recognition Rev.#1: change #define to const variable. Same change in svxaccor Rev.#2: improvements Change-Id: I30c2c36778cb53a0238a0829043dad4d709f97d2 Reviewed-on: https://gerrit.libreoffice.org/6015 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* remove unused members from OutlinerViewIvan Timofeev2013-09-221-7/+0
| | | | Change-Id: Iac32c42afef80e01af70479e5b2f9de4e1dfab26
* gbuild: add gb_Library_use_restargetMichael Stahl2013-09-221-2/+1
| | | | Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
* map autocorrection files with LanguageTag keyEike Rathke2013-09-213-68/+98
| | | | | | ... as several tags (i.e. renamed) may map to the same LangID. Change-Id: I8202b18ea0dc8034522017be59bb104b3d06c0f4
* convert SvxAutoCorrect::DoAutoCorrect to OUStringCaolán McNamara2013-09-184-32/+29
| | | | | | which makes autocorrect in the editengine work again Change-Id: I97d56448e4abd6e563479ffee706b86cb04199ec
* comparision of STRING_NOTFOUND to OUString::indexOfCaolán McNamara2013-09-181-2/+2
| | | | Change-Id: I5ad12b594143a3e9ab2399836d30e48deb656639
* don't access string out of boundsCaolán McNamara2013-09-181-3/+8
| | | | Change-Id: I1cee53bc864efaa4ae3b4462111cad4dc80e82be
* silence annoying warningCaolán McNamara2013-09-171-1/+0
| | | | Change-Id: I90c77df2ef8424ece5b8b37097d62bd5e8955616
* don't access string out of boundsCaolán McNamara2013-09-171-2/+9
| | | | Change-Id: I304b74270f73b9f94568edf2613e2581459cc4f9
* unfold this god-awful mess, logic unchangedCaolán McNamara2013-09-171-8/+16
| | | | Change-Id: Ib76617e3c500268dfe423b9947100f6ce7f0eaec