summaryrefslogtreecommitdiffstats
path: root/svtools
Commit message (Collapse)AuthorAgeFilesLines
* typo: allways -> alwaysAndras Timar2013-02-201-1/+1
| | | | Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
* WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0Tor Lillqvist2013-02-191-2/+2
| | | | Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
* ImplCreateRotatedScaled: fix wrong usage of 'x' instead of 'y'Michael Stahl2013-02-181-1/+1
| | | | | | introduced with c4a084e6b87e7c6cdf4a2574070b0523206bbefe Change-Id: I75de86db107c8ddcae55903f23cf907c3280c9f5
* fdo#60719 : fix crash on scaling bmp with target/source width/height = 1Norbert Thiebaud2013-02-181-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>
* remove 0.49000000953674316 aligns where default is 0.50 alreadyCaolán McNamara2013-02-181-1/+0
| | | | Change-Id: If69a3ca02615ae50404fc66b3f560d9c9988ded4
* Move SyntaxHighlighter class from svtools to comphelperAndras Timar2013-02-166-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
* Some cppcheck cleaningJulien Nabet2013-02-161-1/+1
| | | | Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
* Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac2013-02-145-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>
* Fix member variable 'RoadmapImpl::InCompleteHyperLabel' not initialized in CTRJulien Nabet2013-02-131-7/+8
| | | | | | + replace '<' by '!=' when comparing current it with end iterator Change-Id: Iea8416a5143aafdea863397c78b58512bb54b427
* Some cppcheck cleaningJulien Nabet2013-02-131-1/+1
| | | | Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
* fix a Basic keyword in syntax highlighter: withevent -> witheventsAndras Timar2013-02-131-1/+1
| | | | Change-Id: I47b527ad6e68dba83ebb253bcc55a2717c7dd0ca
* String to OUStringAndras Timar2013-02-133-11/+11
| | | | Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
* remove rtl:: prefixAndras Timar2013-02-131-2/+2
| | | | Change-Id: I6b2c51c57a98046e30b2782dd2565ee02345379d
* use u_isalpha() from ICU instead of home-grown solutionAndras Timar2013-02-131-164/+53
| | | | | | plus German comments were translated Change-Id: Id9ff5d4835e4ea224c9e6232a1762822aa833d37
* update pch headers, broken by 1aaf9a9Luboš Luňák2013-02-131-2/+4
|
* Some cppcheck cleaningJulien Nabet2013-02-121-2/+1
| | | | Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
* Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUNDStephan Bergmann2013-02-121-3/+3
| | | | Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
* fdo#46808, use constructor for datatransfer::MimeContentTypeFactoryNoel Grandin2013-02-121-94/+77
| | | | Change-Id: I576a472e22ad0e3798f4b34d808ac320f13d3e6d
* fdo#46808, convert some code to XComponentContextNoel Grandin2013-02-121-2/+3
| | | | Change-Id: I627e0270fc9d4e5b84ae99320445d28648b7654c
* fdo#46808, Adapt cui::ColorPicker UNO service to new styleNoel Grandin2013-02-121-5/+3
| | | | | | The service already existed, it just did not have an IDL file Change-Id: I7a43b3f8c1299afde3a613dc7ec1c522c4b7a057
* fdo#46808, convert some svtools code to XComponentContextNoel Grandin2013-02-124-19/+15
| | | | Change-Id: Icf939095f130e684db88a8563c56f4eb1e6079bc
* fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin2013-02-121-32/+24
| | | | Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
* update outputsize on parent resize and recalculate boundsCaolán McNamara2013-02-111-3/+3
| | | | Change-Id: I6180f55137126d50cd6a4b60702c789d4b72a953
* fdo#46808, convert svt::GraphicAccess to XComponentContextNoel Grandin2013-02-112-7/+7
| | | | Change-Id: I081158bc43bf39ad165c14d8ada31dd0142ca82c
* resorted SvTreeLists munged horriblyCaolán McNamara2013-02-101-0/+1
| | | | | | | | | | 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
* fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-02-082-15/+13
| | | | | | | Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* move java options page .ui to cui and adapt codeCaolán McNamara2013-02-082-22/+21
| | | | Change-Id: I481a4bbe06a5d0b3fb8701181d49d84d628fdd32
* remove unused variableLuboš Luňák2013-02-061-1/+0
| | | | Change-Id: Iadc8b161c2742c1b92938c39c00c263b597693f5
* replace (Xub)String with OUString in vclChr. Rossmanith2013-02-062-5/+5
| | | | | | | 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>
* tweak OAddressBookSourceDialogUno conversion to work againCaolán McNamara2013-02-061-14/+23
| | | | | | | | | | | | | 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
* remove obsolete hidother.src filesAndras Timar2013-02-061-67/+0
| | | | Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
* svtools: ASCII_STR is no longer necessaryMiklos Vajna2013-02-051-24/+23
| | | | Change-Id: I08a6485d32699100b09235b2168512974347c0fa
* rhbz#903615 avoid null ptr dereferenceDavid Tardon2013-02-041-0/+12
| | | | Change-Id: I336e3fffaaa42605b5fab2821c85c473635fbf27
* remove useless macrosLuboš Luňák2013-01-303-5/+0
| | | | | | created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-304-44/+40
| | | | | | | 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>
* Resolving crash in wizards fdo#59931 by NULL checkingArnaud Versini2013-01-291-1/+4
| | | | | | | Change-Id: Iccc3f3b2913f21a3831ce55c706aa4dd1da53ad6 Reviewed-on: https://gerrit.libreoffice.org/1909 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin2013-01-281-1/+1
| | | | Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-266-0/+11
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* unify the spelling of 'Kazakh' language nameAndras Timar2013-01-261-1/+1
| | | | | | | | | | While 'Kazakh' can be written as 'Kazak' or 'Qazaq', the 'Kazakh' form is the most widespread according to online sources (Wikipedia, LCID list from Microsoft). Also the 'Kazakh' form is preferred by a Kazakh contributor, see http://listarchives.libreoffice.org/global/l10n/msg05444.html In LibreOffice both 'Kazak' and 'Kazakh' was used at different places. Change-Id: Ief83eb05e92af16cb5b795f2bbb1e3d6f7c9659a
* Change GetSavedValue() to return OUStringChr. Rossmanith2013-01-242-2/+2
| | | | | | removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
* Hopefully fix windows buildKorrawit Pruegsanusak2013-01-221-1/+1
| | | | Change-Id: Ib4ca01df58da4129d5262c344c7c092925e19caa
* Changed SetText() / GetText() to take/return OUStringChr. Rossmanith2013-01-2120-53/+52
| | | | | | | | | replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-215-7/+7
| | | | | | | Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* Some cppcheck cleaningJulien Nabet2013-01-201-3/+1
| | | | Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
* add a border property to ValueSetCaolán McNamara2013-01-181-2/+12
| | | | Change-Id: Iedd9f23a57e4c9153a6b10c4d5d060664c545553
* Const correct-ness in one place...Kohei Yoshida2013-01-174-8/+8
| | | | | | And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
* sal_Bool to bool.Kohei Yoshida2013-01-172-34/+33
| | | | Change-Id: I6ad0385041618ebff879ec8533c13ef0ddbe239c
* Proper construction of the impl class, using initializer.Kohei Yoshida2013-01-172-136/+161
| | | | | | And make sure the whole thing still builds. Change-Id: I49d3c01d288df800e3261ce7d4f07080be2a4098
* Unindent the class declaration.Kohei Yoshida2013-01-171-77/+78
| | | | | | Indenting on namespace scopes is too much. Change-Id: I1d22103c02c16a128e627f53859cc09006fb02f1
* String cleanup.Kohei Yoshida2013-01-172-3/+3
| | | | Change-Id: I3ae62993a1b753927af236b3a7923eacbb4c8cc0