summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26WaE: private field 'mxSourceDocument' is not usedTor Lillqvist
Change-Id: I83d5f4bdbd80dcbd53e4576919779233fbcfb699
2013-03-26WaE: unused variable 'nPages'David Tardon
Change-Id: Iccc8dc88e9afe7713e5d8b7ffdd94b0a42277b23
2013-03-25Export current Writer page as jpg/pngTomaž Vajngerl
This is first step to rework of graphic exporting. The idea is to replace the exporter that works only for Draw/Impress and replace it with a general exporter for any object. With this it will be far easier to export objects as charts. Currently only Writer is supported and only jpg/png. Additionally, this commit introduces a new Export dialog which supports setting the pixel width, height and DPI. Change-Id: I7302b26bd432840d7ef0c3d2d2e13ff150cd2a07
2013-03-25Fix spelling errors and typos: 'unkown' change to 'unknown'vincent
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94 Reviewed-on: https://gerrit.libreoffice.org/3030 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-23fdo#61379 Java options are under Options - LibreOffice - AdvancedAndras Timar
Change-Id: Ic7b262f4b75e7f2069f88f753cea5ff8f59610b7
2013-03-21coverity#735364 Logical vs. bitwise operatorJulien Nabet
Change-Id: I116db00e16a8cb962ee7c98d9bfafb69312c1333
2013-03-21coverity#704123 Logical vs. bitwise operatorJulien Nabet
Change-Id: If6afc7eff435460fe4d0da84baf28e3517660364
2013-03-21regenerate pchPeter Foley
Change-Id: Idacefb2e89dc2f8bd44e489b43b47847123476e2
2013-03-21remove unused code svtools/bmpmakerKrisztian Pinter
Investigated the usage of bmpmaker for fdo#39445, seemingly it's not used anywhere. I removed it but I would be happier if someone could confirm this. Change-Id: I21c98e7857299aef8c482bb07750f4c13529c937 Reviewed-on: https://gerrit.libreoffice.org/2868 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-20WaE: 'DBG_UTIL' is not defined, evaluates to 0Tor Lillqvist
Change-Id: Ib902f3f4b428d5c23347a31773011ddf74f28e99
2013-03-20Replace String with OUString (unotools)Chr. Rossmanith
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8 Reviewed-on: https://gerrit.libreoffice.org/2864 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann
...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin
.. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-20fdo#46808, convert drawing::GraphicExportFilter to new styleNoel Grandin
Change-Id: Icd456209406ee8f4dc4ea1f966058f71dce08d58
2013-03-20fdo#46808, convert graphic::PrimitiveFactory2D to new styleNoel Grandin
The service already existed, it just needed an IDL file Change-Id: I40fb28d94253c3c577655bb888ff0d0ee3ba3822
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-16Bin more pointless comments and ASCII graphicsTor Lillqvist
Suggested Easy Hack: Replace all instances of // -------- comments including surrounding newlines with a single newline. Another Easy Hack, slightly harder to automate: Remove all the pointless comments that just tell the class name right before the declaration of that class. Change-Id: Ia890ed613b53c5d719988697e20a983d62334123
2013-03-16Resolves: #i119601# support for transparency in PNG export dialogArmin Le Grand
Added support for transparency in PNG export dialog and support for alpha channnel Conflicts: svtools/source/filter/exportdialog.cxx Change-Id: I324bfd6a34803478bf17f113e015620056c90567
2013-03-15various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I786227d89cc441990d6bdce0acf872a73be51a7c
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-14stray test .png left behindCaolán McNamara
Change-Id: If0a0d61b58ecc46d5ba04951cd278d275fdf25e7
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13fix incorrect code alignmentLuboš Luňák
Change-Id: I71985c728ea4ecc415f76641dcf89c3cbce38248
2013-03-13XubString->OUStringCaolán McNamara
Change-Id: I9e61476f833d409fabe5ae4452c7fff1fbbd74d2
2013-03-12update pch headersLuboš Luňák
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12XubString->OUStringCaolán McNamara
Change-Id: Ie2b0060155eaeb4c8979731dd4c62bc269f7c501
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11Unused bForce parameterStephan Bergmann
Change-Id: I3081269acf9fa2c5bef01d96a84018271196f7b3
2013-03-11rhbz#915743: Avoid potentially blocking autocompletion for non file URLsStephan Bergmann
In theory, the logic of how SvtMatchContext_Impl threads are used to obtain autocompletion information could probably be improved so that long-latency scenarios would only block the ultimate closing of the dialog, if anything at all. In practice, this is probably not worth it, as users likely do not expect an autocompletion feature for remote content, anyway. (And previous commits like 260afe56fd6b2f34de8290f3cdb7d1df5b88f8a8 "neon commands cannot be aborted" make it questionable whether any remaining blocking upon closing of the dialog could be bounded in a reasonable manner.) Change-Id: Ie82b9a70285b30fe88cf4c40992710087e86815e
2013-03-11Documentation to avoid a real use-after-free bugMarc-André Laverdière
Change-Id: Ie8a4432b0a70703fbfe92480ad0608b659a887d0 Reviewed-on: https://gerrit.libreoffice.org/2608 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#38246 Comment control on Writer ruler featureRodolfo Ribeiro Gomes
It follows the directions from design team available at https://wiki.documentfoundation.org/Design/Whiteboards/Comments_Ruler_Control. It misses some fancy stuff though (like animated/delayed highlight and fading border). Some work should be done with (svtools) Ruler also for a cleaner implementation. Change-Id: Ib065043d05fe56fbfe6d00e0bb654966f046129b Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com>
2013-03-10update pch filesPeter Foley
Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
2013-03-09coverity#989728: uninitialized scalarMarc-André Laverdière
Change-Id: Ic8e248eff6db54f407ec894cab28a27957c6fd0f Reviewed-on: https://gerrit.libreoffice.org/2609 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08don't broadcast pref size changed if we've a size req setCaolán McNamara
Change-Id: I29cfc42c000457c5016ae7fda19347c6f60742f9
2013-03-08It's either Ireland(en) or Éire(ga) not EireCaolán McNamara
Change-Id: Ieecb3ca40c8eeb616e04ef69eae8a2f86d39c0bf
2013-03-08we hardly need to distinguish New Zealand Maori from some other kind of MaoriCaolán McNamara
Change-Id: I86c58fed2c83513eb7b82263806303ad77bed811
2013-03-08make use of startsWith()Thomas Arnhold
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07fdo#46808, Convert ui::dialogs::AddressBookSourceDialog to new styleNoel Grandin
The service already existed, it just needed an IDL file. Change-Id: I6b9a5a5fd02985bfdd29bb42f032265d0b5498c7
2013-03-06janitorial: indentationLionel Elie Mamane
Change-Id: Ia1d4f938cbc3c142a415850208482e6e36122562
2013-03-06fdo#61166 text format: correctly chain the formatter->getOutputString callsLionel Elie Mamane
cf commit 271b11a3d56ba0c5f542a142ab859a0819530dba, copy/paste error Change-Id: I9a5391cd9d77d181026abffa3ea2f036c7009ade
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-05fix for fdo#61801Noel Grandin
... "crash on Tools - Options - LibreOffice - Personalization - Select Background Image" The root cause of this is my conversion of the UNO code to use the new-style FilePicker service constructor in commit 4b51374a7021d52f7f1be1861e2ee6a011b30ecd Unfortunately, the new-style service constructor will always call initialize(Sequence<Any>), which the old code did not do. And initialize does not like being called without any arguments. The cleanest fix for this is to simply remove the createDefault() service constructor method and make all the call sites explicitly choose the style of FilePicker dialog they want. As a bonus, this simplifies some of the call sites. Change-Id: I75f5e03cff4e39abe22cd9650a079ec78ab636c4 Reviewed-on: https://gerrit.libreoffice.org/2553 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-05fdo#38838, replacement of String with OUStringÁdám Csaba Király
Replaced String with OUString in mediawindow.cxx, basdoc.cxx, basdoc.hxx and bastype3.cxx. In other files I only replaced, what was necessary for the changes in basdoc to work. Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4 Reviewed-on: https://gerrit.libreoffice.org/2554 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-03-04make lto workPeter Foley
Change-Id: Iab6892368c6ba6bb5b83132cdcd6aa959c3b0e1f