summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2013-11-08remove unnecessary use of OUString constructor in SVTOOLS moduleNoel Grandin
Change-Id: Iad58b125f16226cc6afa9d88d2c792065bbc244f
2013-11-07OAuth2 application keys shouldn't be in the code.Cédric Bosdonnat
The GDrive OAuth2 key is now defined at configure time. If either the client secret or client id is missing, the Google Drive connectivity will be disabled at runtime. Tinderboxes can set up a GDrive key, but they need to make sure it's not persisting in the build log. Change-Id: I09bc748641ec14eae890f273f05bffe4ed421dbb
2013-11-07fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza
And use some templates inside include/com/sun/star/uno/Sequence.hxx Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47 Reviewed-on: https://gerrit.libreoffice.org/6599 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-05added French (Burkina Faso) [fr-BF] locale data, fdo#71243Eike Rathke
Change-Id: I788d1d1c54cc0a30cbbdc07066bf133c2814304a
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-05fixincludeguards.sh: svtoolsThomas Arnhold
Change-Id: I7db0d4a7bd948204ff6efd7e61c80efd413967cd
2013-11-04Remove unnecessary includeStephan Bergmann
Change-Id: I65b0caa36da08c5df552d8f1644ec74bfe135bfe
2013-11-04Some clean-upStephan Bergmann
Change-Id: Ic65d1d5dcf2a0a7dbc0b382002b15e47f7998344
2013-11-04fdo#60698: Move generic fpicker to svtoolsMarcos Paulo de Souza
Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Conflicts: dictionaries Change-Id: I6af478d7d6952e0e8f6c8f1b0575fcd50f2ba0e4
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-28Remove unnecessary SyntaxHighlighter::Tokenizer statefulnessStephan Bergmann
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it. Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
2013-10-28Fold SyntaxHighlighter::initialize into ctorStephan Bergmann
...which reveals that m_pKeyWords, m_nKeyWordCount members are unused. Change-Id: I55020e892d463f2e40d5bcf71efba92778b317c1
2013-10-28Remove unused SimpleTokenizer_Impl::nLine/nColStephan Bergmann
...which are never read; remove thereby unused parameters from functions. Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
2013-10-25more flexible language tag override mechanismEike Rathke
* allow overriding higher level lll-Ssss-CC with lower level lll-CC for known MS-LangID mappings that use tags with suppress-script * internal override "canonicalization", e.g. ca-XV => ca-ES-valencia Change-Id: I067d7515fb9144a896697617ad1b079e294f1ced
2013-10-24added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdfEike Rathke
... found at http://msdn.microsoft.com/library/cc233965.aspx (the 5th or 6th place I'm aware of where MS defines LCIDs, all different ...) * a bunch of new definitions up to Windows 8.1 * lots of cross-checks done with SIL, Ethnologue, ... Change-Id: Ifae8e676558c6712fe752856acca600d05d0a63f
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Use conventional std::vector idiomsStephan Bergmann
Change-Id: I4d26372ea40e7890b76461a764435f8948466ae1
2013-10-22Unwind HighlightPortions typedefStephan Bergmann
Change-Id: I0ecc15f9bfd557d0a70a05536906a4984a46463c
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-21post String conversion cleanupThomas Arnhold
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
2013-10-18added Ladin [lld-IT] to language list, fdo#70530Eike Rathke
Change-Id: I9bd65a7f66710d94a2c4dbe6d1b28f8ddef8d9a3
2013-10-17fdo#54938: Adapt svtools and comphelper module ...Marcos Paulo de Souza
to use cppu::supportsService and other pieces. Change-Id: I16893b3d31a8055acd214ff23d01e63d38fe0826 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-16cleanupThomas Arnhold
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-14Resolves: #i123438# Corrected crop for clipboard bitmap data preparationsArmin Le Grand
(cherry picked from commit 2104f864ec0cf0989e962c045ee69010e3505f3e) Change-Id: I3376d72317f27bfe7898e515ce1d2788761d1422
2013-10-14html: remove unused optionsThomas Arnhold
Change-Id: If8a6d5136e9e397f5f9b2b49bd9aaf4a7e6bfc17
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-12Test _WIN32 instead of UNX as it's Win32 that is the special case hereTor Lillqvist
Change-Id: Ic729eab62109d854122fa5c6b7b4dc163088dd04
2013-10-11have another shot at placing the expander checkitem optimallyCaolán McNamara
reverts 03569dc7d38e4edf3f3e50f7dff3252116c28ab1 "I hate the positioning of the expander checkitem in hierarchical view". I still hate it, so merge together the various places where different efforts are made to try and position the checkitem optimally and provide a single central place to do that. Change-Id: I047504945fb5bf94e5f451007eb74328b8b56785
2013-10-11CID#1103695 avoid use of -1 hereCaolán McNamara
Change-Id: I7097d26f301fffa79d04fe4f26aeddb32223d62c
2013-10-10html: Options need to be lowercase, tooThomas Arnhold
Because the lookup table (include/svtools/htmlkywd.hxx) is now lowercase. Change-Id: Ica0606eb1546f74d2b651a70adee8117c956d4e2 Reviewed-on: https://gerrit.libreoffice.org/6193 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-10n#812793: clrChange applying for EMFsMuthu Subramanian
Also fixed alpha clrChanges.
2013-10-10unographic::GraphicProvider: lock SolarMutex as neededMichael Stahl
... thanks to bug report from David O. Change-Id: I7a72c36848a110fe7487c85c7720990d3c1e14de
2013-10-09Make CalcFocusRect look rightStephan Bergmann
...at least for its (only, it appears) uses at the left of the "Insert - Hyperlink" dialog and at the left of a Database window. As aBmpRect and aTextRect never extend aBoundRect (and aTextRect always leaving a gap left and right towards aBoundRect, it appears, with the text abbreviated with an ellipsis if it would be too wide), there should be no need to eventually adjust "the focus rectangle [to] not touch the text," and for calculating the top of the focus rect aBoundRect can be used just as well as aBmpRect. (Though for calculating the bottom, aBoundRect apparently stretches "too far" compareed to aTextRect; whatever... The offsets look somewhat "magic" anyway, but appear to produce the desired visual results.) Change-Id: Ic324561294fb6172c0d02a697fc261717e01c87c Reviewed-on: https://gerrit.libreoffice.org/6165 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-08CID#1079290 uninitialized memberCaolán McNamara
Change-Id: Ibc75fed4b5282d3caeccac54a884ff5dde3d1910
2013-10-08CID#1078684 ensure no -1 uses in replaceAtCaolán McNamara
Change-Id: Ic3a652aa38efe1bfaba81ba7d9103f40f093ed6a
2013-10-07added Karakalpak Latin [kaa-Latn-UZ] to language list, fdo#70217Eike Rathke
Change-Id: I202b01e8ac705c11d816a607e3293d8ba56f4640
2013-10-07added Nogai [nog-RU] to language list, fdo#69987Eike Rathke
Change-Id: Ib59c75ee13b5e16ef014ab7245540ffdc62c2daa
2013-10-07WaE [-Wstrict-overflow] assuming signed overflow does not occurEike Rathke
... when assuming that (X - c) <= X is always true ... or that (X + c) < X is always false Change-Id: Ib2313827cd6358ced0141b41cba753896b676e28
2013-10-07html: <li> is on/off - arrange list correctlyThomas Arnhold
despite the fact, that <li> tags are currently not closed... Change-Id: If77d99b8dfcb00e60d918e5ce5030e6e44a6e64a
2013-10-07html: remove unused and unsupported tagsThomas Arnhold
Change-Id: Ibd44d716e70034ffe7d31e3f5dc2c547a822b0e1
2013-10-07CID#1078656 Read has a break, but Write doesn'tCaolán McNamara
Change-Id: I54675b0c9683afb25fb9eaeb3def1e43c77fb053
2013-10-07make font style size stable on switching fontsCaolán McNamara
Change-Id: I891fa5b9b8bd3be7dd4d73f2911ec56d16a3b09f
2013-10-06fix html testsThomas Arnhold
after 73e3aafa990168aa532fa7b81fc4de8f455b10e1 we need to lowercase all html tags. Change-Id: Ied686e153666f79c2a866473eeb393ec4e5bb961
2013-10-06html: remove duplicatesThomas Arnhold
OOO_STRING_SVTOOLS_HTML_C_LT is the same as OOO_STRING_SVTOOLS_HTML_C_lt and so on... Change-Id: I7cc94a662e83176c2c2c441cbce27b4f2774e4a4