summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2012-07-25delete svl/svstdarr.hxxMichael Stahl
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-25move SvStringsISortDtor to editeng/svxacorr.hxxMichael Stahl
Change-Id: I4465281396f44f53ba87db0a405586294ea65076
2012-07-25autocomplete: replace horrible use of SvStringsISortDtor...Michael Stahl
... to store not Strings but derived SwAutoCompleteStrings with something far saner: an abstract base class with virtual dtor. Change-Id: I7d966f385dd41154ee1c4cdb43b56ff1aace9b5e
2012-07-25Convert SvStringsISortDtor from an SV_DECL_PTRARR to a o3tl::sorted_vectorNoel Grandin
Change-Id: Ie1fa9b3cc2aef83ae9a82fbc110a08b2f298daef
2012-07-18Various Clang 3.1 -Wunsued-variable, -Wconstant-conversionStephan Bergmann
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-12throw some const love at SvxAutocorrWordListCaolán McNamara
Change-Id: I41d59d386b8f1fd5dc1fb9744a649085c66143f9
2012-07-12make this a const_iterator for windows buildbotCaolán McNamara
Change-Id: I6e242de572595fdf39553d76932bc0e953cd3a34
2012-07-12Convert SV_DECL_PTRARR_SORT_DEL_VISIBILITY(SvxAutocorrWordList) to std::setNoel Grandin
Change-Id: I31783eecc28cdc6f4d8c40841302d5338a2cd7be
2012-07-11ure cppunit tests depend on unobootstrapprotectorCaolán McNamara
Change-Id: I998d0f46020d3f5ea6fd387fbed8480e3d57e59a
2012-07-11Resolves: rhbz#836937 insanely slow with Zemberek installedCaolán McNamara
Zemberek is a java spellchecker extension. With it installed the collecting of spellchecker information on first activation of spellchecking is insanely slow as the cache of spellcheckers is thrown away on each iteration through each language known to LibreOffice. So... move the config updating stuff from editeng down to the linguistic layer. Let the linguistic layer keep its spellchecker cache and listen to the extension manager to know if an extension which might be a spellchecker one has been modified and only throw away the cache on that event or if (existing implementation) the config data for linguistics changes. The polling of changed linguistic data in SvxLinguConfigUpdate::IsNeedUpdateAll can be removed and leave it up to LngSvcMgr to load everything in its ctor and keep itself up to date with its config and extension listeners. Change-Id: I9c93d998928e2e7f5128c36771b3e450a8057cd6
2012-07-11CalcDataFilesChangedCheckValue is always zeroCaolán McNamara
Change-Id: I851c0ac078b57f07e0a58a9fb2119d11cc5048e5
2012-07-11nCurrentDataFilesChangedCheckValue is kind of pointlessCaolán McNamara
Change-Id: Ibded6b0a72c9501d35fb884c93c505a2f716f678
2012-07-11Related: rhbz#836937 halve calls to expensive getAvailableServicesCaolán McNamara
getAvailableServices is very expensive, so halve the amount of calls to it that we need. This should be logically equivalent Change-Id: I5627ed539695fd837a497362cf9873debd254013
2012-07-11remove distracting and unhelpful debugging codeCaolán McNamara
Change-Id: I870df7d4af666c1cb087cec6d4daebcba87ff8ab
2012-07-09some UniString->rtl::OUStringCaolán McNamara
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-05ConvertBorderWidthToWord: fix wrong INSET/OUSET conversion:Michael Stahl
This should do the inverse of ConvertBorderWidthFromWord. Change-Id: If0b2a8a83a7faa6600a07ecfcb13a124d7cdeab6
2012-07-04refactor handling of double border widths:Michael Stahl
Word uses a completely different definition of "width" of a double border than OOo and ODF: for Word the width is apparently the largest of the 3 component widths, while OOo and ODF define the width as the total with of all 3 components. The new border implementation in LO 3.4 was apparently inspired by Word's double border definition, which resulted in various import filter regressions, see the previous fixes: 36e43b52992735c622833e923faa63774b9e2f76 e2ffb71305c5f085eec6d396651c76d6daee3406 70a6a4d425558340bb49507975343a3e0a1bdde8 These fixes set the ScaleMetrics, which actually seems sub-optimal as there is a ScaleItemSet function somewhere that apparently re-scales all items in an itemset, which could undo the fixes. Also, one of the fixes actually managed to break RTF/DOCX import of double borders, as that ended up in the same code via the API. This commit now reverses the change, so that the width of a border is now always the total with of all components, which is (imho) much more intutitive, and also leads to a consistent UI where selecting say 3pt width has predictable results, no matter what the border style. The border widths are now converted in the Word format import/export filters (writerfilter and sw/source/filter/ww8), and various tests were adapted to the new handling. Change-Id: I50456c49b1a298569607e6c88f19f18441348ac3
2012-07-04replace enum SvxBorderStyle with css::table::BorderLineSyleMichael Stahl
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
2012-07-04removed unnecessary forward declarations of classTakeshi Abe
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-03ditch String::CreateFromAsciiCaolán McNamara
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02fdo#51582: Avoid double deletion of a text portion.Kohei Yoshida
Change-Id: Ia1c31cc8122c99a7e37bc285f61f8c5d2779b577
2012-07-02Remove unused definesThomas Arnhold
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-07-01Remove unused definesThomas Arnhold
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-06-29Remove some unused defines and controlsThomas Arnhold
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29some pesky XubStringsCaolán McNamara
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29Remove some more PCH tracesThomas Arnhold
Change-Id: Iafca82ac728feba97fb68523dcb032b0e17e5a3c
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-27Remove commented out codeThomas Arnhold
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
2012-06-27Reduce newline bloat at eofThomas Arnhold
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-25rename SvxBorderLine::SetStyle to something unambiguousMichael Stahl
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae
2012-06-23Fix prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-22remove bunch of obsolete looking .dxp filesMichael Stahl
Change-Id: Ib06d88890007fd27d6838a5c8829230733d3df97
2012-06-22.dxp files don't need executable bitsMichael Stahl
Change-Id: I5fae2ec81b50203e9d6100f8c938fb3643ff651f
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21replace all but one .hdl include with equivalent .hpp includes.Michael Meeks
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21reduce scope and replace some String::CreateFromAsciiCaolán McNamara
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-19typo: paramters, paramaters -> parametersAndras Timar
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-06-19merge together hand-crafted traditional/simplified chinese testsCaolán McNamara
merge together a gadzillion hand-crafted isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK implementations which should fix a goodly amount of them add a MsLangId::isFamilyNameFirst for locales where family name appears first while I'm at it. Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-19move odd IsSimilarChinese debugging thing to local scopeCaolán McNamara
Change-Id: I3abcd97b15d9a8500435fab795a7834fa5745dc9
2012-06-19death to some UniStringsCaolán McNamara
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-18convert LocaleDataWrapper to OUStringCaolán McNamara
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-13Remove unnecessary size-too-large checkStephan Bergmann
...it is done in UniString(rtl::OUString const&) ctor anyway Change-Id: I890ab21a6c04fe0ddc0a9b2c9a356359984e516e
2012-06-13Better fix for those short stringsStephan Bergmann
...that are not intended to be short after all; just the length calculation turned out to be wrong. Change-Id: Ic3a81c935161564f980ddd0241575fff2f76b467
2012-06-13Drop throw clause that was incomplete anywayTor Lillqvist
SvxUnoTextRangeBase::SetPropertyValueHelper throws a css::lang::IllegalArgumentException but its delaration did not mention that. This caused a crash in sd_filters_test with Apple's Clang which does not have -fno-enforce-eh-specs. So drop the whole throw clause. Change-Id: Ib9bbbc885f657aeb8d671c75a41b60a6544ea421