summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2013-02-25remove some trivial duplicatesThomas Arnhold
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-25loplugin: improve indentationThomas Arnhold
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#59405: initialize members of TransferableObjectDescriptorMichael Stahl
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 Arnhold
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac
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 Arnhold
Change-Id: If7338743b9549a265f611e8d50d0455e1de8d09c
2013-02-23Fix typo "paramater" -> "parameter" + remove some commented linesJulien Nabet
Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4
2013-02-23Fix typo "teh" -> "the"Julien Nabet
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a
2013-02-23sal: update log areasThomas Arnhold
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-21XubString->OUStringCaolán McNamara
Change-Id: Ie110963f0b54bd2235d088a886db3f16e397bd86
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-19WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0Tor Lillqvist
Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
2013-02-18ImplCreateRotatedScaled: fix wrong usage of 'x' instead of 'y'Michael Stahl
introduced with c4a084e6b87e7c6cdf4a2574070b0523206bbefe Change-Id: I75de86db107c8ddcae55903f23cf907c3280c9f5
2013-02-18fdo#60719 : fix crash on scaling bmp with target/source width/height = 1Norbert Thiebaud
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 McNamara
Change-Id: If69a3ca02615ae50404fc66b3f560d9c9988ded4
2013-02-16Move SyntaxHighlighter class from svtools to comphelperAndras Timar
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 Nabet
Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac
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 Nabet
+ replace '<' by '!=' when comparing current it with end iterator Change-Id: Iea8416a5143aafdea863397c78b58512bb54b427
2013-02-13Some cppcheck cleaningJulien Nabet
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
2013-02-13fix a Basic keyword in syntax highlighter: withevent -> witheventsAndras Timar
Change-Id: I47b527ad6e68dba83ebb253bcc55a2717c7dd0ca
2013-02-13String to OUStringAndras Timar
Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
2013-02-13remove rtl:: prefixAndras Timar
Change-Id: I6b2c51c57a98046e30b2782dd2565ee02345379d
2013-02-13use u_isalpha() from ICU instead of home-grown solutionAndras Timar
plus German comments were translated Change-Id: Id9ff5d4835e4ea224c9e6232a1762822aa833d37
2013-02-13update pch headers, broken by 1aaf9a9Luboš Luňák
2013-02-12Some cppcheck cleaningJulien Nabet
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-02-12Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUNDStephan Bergmann
Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
2013-02-12fdo#46808, use constructor for datatransfer::MimeContentTypeFactoryNoel Grandin
Change-Id: I576a472e22ad0e3798f4b34d808ac320f13d3e6d
2013-02-12fdo#46808, convert some code to XComponentContextNoel Grandin
Change-Id: I627e0270fc9d4e5b84ae99320445d28648b7654c
2013-02-12fdo#46808, Adapt cui::ColorPicker UNO service to new styleNoel Grandin
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 Grandin
Change-Id: Icf939095f130e684db88a8563c56f4eb1e6079bc
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-11update outputsize on parent resize and recalculate boundsCaolán McNamara
Change-Id: I6180f55137126d50cd6a4b60702c789d4b72a953
2013-02-11fdo#46808, convert svt::GraphicAccess to XComponentContextNoel Grandin
Change-Id: I081158bc43bf39ad165c14d8ada31dd0142ca82c
2013-02-10resorted SvTreeLists munged horriblyCaolán McNamara
e.g. tools->options->paths, click the sort icon, reclick it few times and the list doesn't reverse but instead shows the same two entries over and over again. Regression since fb01d8e132ab9097ed30b3bc4c7585622df591ad Change-Id: Ifc151ad72a27f1cdc3141e356ad6d100e6219cc2
2013-02-08fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-08move java options page .ui to cui and adapt codeCaolán McNamara
Change-Id: I481a4bbe06a5d0b3fb8701181d49d84d628fdd32
2013-02-06remove unused variableLuboš Luňák
Change-Id: Iadc8b161c2742c1b92938c39c00c263b597693f5
2013-02-06replace (Xub)String with OUString in vclChr. Rossmanith
Change-Id: I0a44bab196ae239d3bdea75fd2b657bdfa4ecf31 Reviewed-on: https://gerrit.libreoffice.org/2011 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-06tweak OAddressBookSourceDialogUno conversion to work againCaolán McNamara
these properties aren't registered, so setting them throws. The expectation is that they get used via OAddressBookSourceDialogUno::implInitialize so repackage them as PropertyValues wizards->address data source->evolution->next->field assignment and field assignment must not have an "address data source" button in it Change-Id: I5edb6f5117dd9bfa2ed40da040906a7107028433
2013-02-06remove obsolete hidother.src filesAndras Timar
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-05svtools: ASCII_STR is no longer necessaryMiklos Vajna
Change-Id: I08a6485d32699100b09235b2168512974347c0fa
2013-02-04rhbz#903615 avoid null ptr dereferenceDavid Tardon
Change-Id: I336e3fffaaa42605b5fab2821c85c473635fbf27
2013-01-30remove useless macrosLuboš Luňák
created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-29Resolving crash in wizards fdo#59931 by NULL checkingArnaud Versini
Change-Id: Iccc3f3b2913f21a3831ce55c706aa4dd1da53ad6 Reviewed-on: https://gerrit.libreoffice.org/1909 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c