summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04remove unused and commented out codeThomas Arnhold8-137/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04callcatcher: unused codeCaolán McNamara2-11/+0
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-04fdo#46808, convert singleton util::theOfficeInstallationDirectoriesNoel Grandin1-8/+2
.. to new-style UNO. And deprecate old service in favour of singleton. Change-Id: I67244097c22af02530214d7c529dd0d32f5964c1
2013-03-04fdo#46808, convert some code in svtools to XComponentContextNoel Grandin3-31/+12
Change-Id: If5f37e8464df3434075eb989ef07a4f7d769e318
2013-03-04fdo#46808, create IDL for awt::tree::DefaultTreeDataModelNoel Grandin1-6/+4
The service already existed. Change-Id: I2acf73b772a7e9cbcb8915561f19c32768459f5c
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold6-10/+10
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-03fdo#60724: fix resizeable -> resizable misspelling found by lintianBjoern Michaelsen1-1/+1
Change-Id: I07488c02277292f96c08be6155edf0158976cc0b
2013-03-03loplugin: unused variables and commented codeThomas Arnhold1-1/+0
Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf
2013-03-03move fltcall.hxx to vcl to avoid circ. dep.David Tardon4-71/+2
Change-Id: I39ba1b68df0eeb54f47d9947c540b1523567492e
2013-03-02coverity#736572: possible memory leak and memory corruption + docuMarkus Mohrhard2-6/+9
Change-Id: I2f1aad214481903866cd496542d961245fae47d1
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King5-5/+5
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>
2013-03-01raise warning when saving macro laden doc as a macro-free format bnc#791777Noel Power1-1/+1
Change-Id: Ic947ceef71c86e31fbf0bce74b064aaf91f47178
2013-03-01WaE: bogus used uninit warningCaolán McNamara1-1/+1
Change-Id: I3a78903b5bdc81e751570c32dca93e323e8053e7
2013-03-01Related rhbz#915743: Abort UCB call from SvtMatchContext_Impl::StopStephan Bergmann1-9/+108
...as otherwise the SvtMatchContext_Impl thread can continue to run for arbitrarily long, and the other thread calling Stop() and join() will block. However, especially the WebDAV UCP does not properly support aborting commands, see 260afe56fd6b2f34de8290f3cdb7d1df5b88f8a8 " neon commands cannot be aborted", so this is not yet enough to actually fix rhbz#915743 "thread deadlock/slow join in insert->hyperlink in impress." Change-Id: I0da899f824763e1b3d19bb5b38d906feb690b623
2013-03-01Useless assignment + use setWidthJulien Nabet1-3/+1
See http://nabble.documentfoundation.org/Cppcheck-reports-nMaxWidth-is-assigned-a-value-never-used-svtools-module-td4036771.html Change-Id: I987f1c6b107291b93875cc169f2a72e249fe2ad5
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25remove some trivial duplicatesThomas Arnhold2-2/+0
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-25loplugin: improve indentationThomas Arnhold5-16/+12
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#59405: initialize members of TransferableObjectDescriptorMichael Stahl1-0/+7
The mnViewAspect member is otherwise only initialized if a SOT_FORMATSTR_ID_OBJECTDESCRIPTOR thingy is in the clipboard, which only happens if the clipboard source is OOo/LO. When inserting an OLE object, the value MSOLE_CONTENT apparently results in requesting the current size from the OLE object, which looks much better than the square default. Change-Id: I8c7fb80a8ae88272f1ecaf3a375bef5d917f2a5b
2013-02-25loplugin: unused variablesThomas Arnhold6-9/+0
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac7-14/+14
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24tweak commentThomas Arnhold1-2/+1
Change-Id: If7338743b9549a265f611e8d50d0455e1de8d09c
2013-02-23Fix typo "paramater" -> "parameter" + remove some commented linesJulien Nabet1-5/+5
Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4
2013-02-23Fix typo "teh" -> "the"Julien Nabet1-1/+1
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a
2013-02-23sal: update log areasThomas Arnhold5-39/+36
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet2-2/+2
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist4-4/+4
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist1-1/+1
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-21XubString->OUStringCaolán McNamara2-12/+7
Change-Id: Ie110963f0b54bd2235d088a886db3f16e397bd86
2013-02-20typo: allways -> alwaysAndras Timar1-1/+1
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-19WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0Tor Lillqvist1-2/+2
Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
2013-02-18ImplCreateRotatedScaled: fix wrong usage of 'x' instead of 'y'Michael Stahl1-1/+1
introduced with c4a084e6b87e7c6cdf4a2574070b0523206bbefe Change-Id: I75de86db107c8ddcae55903f23cf907c3280c9f5
2013-02-18fdo#60719 : fix crash on scaling bmp with target/source width/height = 1Norbert Thiebaud1-23/+71
The rendering is quite ugly compared to the same pdf opened with pdf reader. but at least it does not crash anymore. The function ImplCreateRotatedScaled seems quite sub-optimal for one thing it is called even when there is no rotation and still bother with doing a lot of work to 'rotate' things. It was assuming Width and Height > 1 for both the source and the target The patch tries to 'hide' the misery... but I'm not convinced that this is 'right'. Change-Id: I9aec5eb6655ea3678aa018ae5928dabb8058bec6 Reviewed-on: https://gerrit.libreoffice.org/2195 Reviewed-by: Arnaud Versini <arnaud.versini@gmail.com> Tested-by: Arnaud Versini <arnaud.versini@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-18remove 0.49000000953674316 aligns where default is 0.50 alreadyCaolán McNamara1-1/+0
Change-Id: If69a3ca02615ae50404fc66b3f560d9c9988ded4
2013-02-16Move SyntaxHighlighter class from svtools to comphelperAndras Timar6-922/+3
We use this class in helpcompiler, and it is not desirable to compile svtools (thus half of LibreOffice) for a build tool in cross-compiling environment. Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-16Some cppcheck cleaningJulien Nabet1-1/+1
Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac5-63/+57
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-13Fix member variable 'RoadmapImpl::InCompleteHyperLabel' not initialized in CTRJulien Nabet1-7/+8
+ replace '<' by '!=' when comparing current it with end iterator Change-Id: Iea8416a5143aafdea863397c78b58512bb54b427
2013-02-13Some cppcheck cleaningJulien Nabet1-1/+1
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
2013-02-13fix a Basic keyword in syntax highlighter: withevent -> witheventsAndras Timar1-1/+1
Change-Id: I47b527ad6e68dba83ebb253bcc55a2717c7dd0ca
2013-02-13String to OUStringAndras Timar3-11/+11
Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
2013-02-13remove rtl:: prefixAndras Timar1-2/+2
Change-Id: I6b2c51c57a98046e30b2782dd2565ee02345379d
2013-02-13use u_isalpha() from ICU instead of home-grown solutionAndras Timar1-164/+53
plus German comments were translated Change-Id: Id9ff5d4835e4ea224c9e6232a1762822aa833d37
2013-02-13update pch headers, broken by 1aaf9a9Luboš Luňák1-2/+4
2013-02-12Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-02-12Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUNDStephan Bergmann1-3/+3
Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
2013-02-12fdo#46808, use constructor for datatransfer::MimeContentTypeFactoryNoel Grandin1-94/+77
Change-Id: I576a472e22ad0e3798f4b34d808ac320f13d3e6d
2013-02-12fdo#46808, convert some code to XComponentContextNoel Grandin1-2/+3
Change-Id: I627e0270fc9d4e5b84ae99320445d28648b7654c
2013-02-12fdo#46808, Adapt cui::ColorPicker UNO service to new styleNoel Grandin1-5/+3
The service already existed, it just did not have an IDL file Change-Id: I7a43b3f8c1299afde3a613dc7ec1c522c4b7a057
2013-02-12fdo#46808, convert some svtools code to XComponentContextNoel Grandin4-19/+15
Change-Id: Icf939095f130e684db88a8563c56f4eb1e6079bc