summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
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
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin1-32/+24
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-11update outputsize on parent resize and recalculate boundsCaolán McNamara1-3/+3
Change-Id: I6180f55137126d50cd6a4b60702c789d4b72a953
2013-02-11fdo#46808, convert svt::GraphicAccess to XComponentContextNoel Grandin2-7/+7
Change-Id: I081158bc43bf39ad165c14d8ada31dd0142ca82c
2013-02-10resorted SvTreeLists munged horriblyCaolán McNamara1-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
2013-02-08fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2-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>
2013-02-08move java options page .ui to cui and adapt codeCaolán McNamara2-22/+21
Change-Id: I481a4bbe06a5d0b3fb8701181d49d84d628fdd32
2013-02-06remove unused variableLuboš Luňák1-1/+0
Change-Id: Iadc8b161c2742c1b92938c39c00c263b597693f5
2013-02-06replace (Xub)String with OUString in vclChr. Rossmanith2-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>
2013-02-06tweak OAddressBookSourceDialogUno conversion to work againCaolán McNamara1-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
2013-02-06remove obsolete hidother.src filesAndras Timar1-67/+0
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-05svtools: ASCII_STR is no longer necessaryMiklos Vajna1-24/+23
Change-Id: I08a6485d32699100b09235b2168512974347c0fa
2013-02-04rhbz#903615 avoid null ptr dereferenceDavid Tardon1-0/+12
Change-Id: I336e3fffaaa42605b5fab2821c85c473635fbf27
2013-01-30remove useless macrosLuboš Luňák3-5/+0
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 Rouvignac4-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>
2013-01-29Resolving crash in wizards fdo#59931 by NULL checkingArnaud Versini1-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>
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin1-1/+1
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl6-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
2013-01-26unify the spelling of 'Kazakh' language nameAndras Timar1-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
2013-01-24Change GetSavedValue() to return OUStringChr. Rossmanith2-2/+2
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
2013-01-22Hopefully fix windows buildKorrawit Pruegsanusak1-1/+1
Change-Id: Ib4ca01df58da4129d5262c344c7c092925e19caa
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith20-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>
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac5-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>
2013-01-20Some cppcheck cleaningJulien Nabet1-3/+1
Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
2013-01-18add a border property to ValueSetCaolán McNamara1-2/+12
Change-Id: Iedd9f23a57e4c9153a6b10c4d5d060664c545553
2013-01-17Const correct-ness in one place...Kohei Yoshida4-8/+8
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-17sal_Bool to bool.Kohei Yoshida2-34/+33
Change-Id: I6ad0385041618ebff879ec8533c13ef0ddbe239c
2013-01-17Proper construction of the impl class, using initializer.Kohei Yoshida2-136/+161
And make sure the whole thing still builds. Change-Id: I49d3c01d288df800e3261ce7d4f07080be2a4098
2013-01-17Unindent the class declaration.Kohei Yoshida1-77/+78
Indenting on namespace scopes is too much. Change-Id: I1d22103c02c16a128e627f53859cc09006fb02f1
2013-01-17String cleanup.Kohei Yoshida2-3/+3
Change-Id: I3ae62993a1b753927af236b3a7923eacbb4c8cc0
2013-01-15Resolves: fdo#37449 apparent access into empty codepage bitsetCaolán McNamara1-3/+12
Change-Id: I2efc3ea10cd4313eaa1894fdfbffd113a125e2ba