summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2012-11-02Fix bug 50931 : Cannot import HTML <br/> and <hr/>Louis Possoz1-1/+1
Change-Id: Ia4932c2e1f451ae45675a32de42a5cf971224211 Reviewed-on: https://gerrit.libreoffice.org/915 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2012-11-01Translate German comments and improve some GermishPhilipp Weissenbacher2-117/+106
Change-Id: If733d06e2213af824884e49bd3414df1c23cb157 Reviewed-on: https://gerrit.libreoffice.org/955 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-01rework filters test to squeeze through extra flagsCaolán McNamara1-2/+5
that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-10-31fdo#56617: Fix crash on closing beanshell dialog and the macro window.Kohei Yoshida1-5/+8
When removing an entry from the tree list, we need to 1) first remove the entry from the list, 2) broadcast its removal with the entry instance, then 3) finally delete the entry itself at the very end. in this exact order, or else interesting stuff would ensue. Change-Id: If42b141921ffe4ed36dce31f93a4a084204815bf
2012-10-31This destructor should be virtual.Kohei Yoshida1-1/+1
Change-Id: I48cd5988056c8dee10241d5ba3b469ae7e5191b9
2012-10-31Make SvTreeList non-copyable.Kohei Yoshida1-0/+3
Change-Id: I9bb589e8a349a1404f9c09a60a82e824918744fa
2012-10-31fix crash traversing tools->options with keyboardCaolán McNamara1-3/+8
Change-Id: Ieba85dd0093c9f704090075d2eb75f1eefdd72de
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin4-131/+120
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31CMIS urls: remove +atom in the internal URLS as the binding is guessedCédric Bosdonnat1-3/+3
Change-Id: I9ae0704f1e5203778e97de5843efe777ba717271
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann5-6/+6
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-30Apparently CheckIntegrity() was only declared but never defined.Kohei Yoshida2-36/+1
Let's remove it. Change-Id: Idbc6c58fb6ce71c80534396111c4d5b17a9764c7
2012-10-30Avoiding deleting the removed entry.Kohei Yoshida1-3/+2
The tree list entries are now stored in ptr_vector. We no longer have to manually call delete on it whenever it gets removed from the list. Change-Id: Id183aadbdc3b1565d1c702dc0fc099df9dcb6e2c
2012-10-30SvTreeList::GetEntry: detect an out-of-bound and return NULL in that caseMiklos Vajna1-1/+1
That's how this worked prior to stlification. Change-Id: I4b1a9735c92efc181a2d1f47cafb04d2855fdfe2
2012-10-30fix character positions translation (partial fix for n#757387)Radek Doulik1-3/+4
Change-Id: I042d6de9533f0f33e1fb64c3b92dc1bafaa6149f
2012-10-30Reapply eda255b38d871bb7d20432e5730cc8c68b3e2942Stephan Bergmann1-2/+4
... "SvTreeList: fix singular iterator compare assertions" after commits that broke it again. Change-Id: I527fe37e2a0a9f6fbba468261892379920f02c10
2012-10-30fix typoDavid Tardon1-1/+1
Change-Id: I326409a90162395150a72dcb108b180a07f1afb9
2012-10-29Somehow this change was lost during git rebase.Kohei Yoshida1-4/+2
Change-Id: Ic20584b5da2920dc8f2761b7f2c65c58713c5895
2012-10-29Remove unnecessary type casts.Kohei Yoshida5-47/+57
Change-Id: Idda5d6ad4d8991efb97d75b7ee743bc98b3e4c03
2012-10-29These are not used.Kohei Yoshida1-3/+0
Change-Id: If3fdbf7118b94ae9d71ca388f07e3b0a5b4e5787
2012-10-29Finally removed SvTreeEntryList.Kohei Yoshida2-166/+0
Change-Id: I9e9f6fa6a198bbab7397f7e10a3c39ecdd9e00f9
2012-10-29Remove remaining use of SvTreeEntryList.Kohei Yoshida1-19/+13
Change-Id: Id29111b0dd9a14fc2dbb18447293b2ac01e20df4
2012-10-29Remove use of SvTreeEntryList from RemoveSelection.Kohei Yoshida1-7/+5
Change-Id: I8ed7ed76536cb71eff9f7a362220462f0ec112e3
2012-10-29Let's use const where we can.Kohei Yoshida3-18/+16
There still lots of other methods that should take const pointers. But one step at a time... Change-Id: I1bae409ddb1939943db8c6f40d1b180f82f42bce
2012-10-29Use SvTreeListEntries to store child entries.Kohei Yoshida5-273/+355
This replaces SvTreeEntryList. The only thing to be wary of is that now we use ptr_vector to store child entries, which changes the scheme on the life cycle management of tree entries. Change-Id: I92b6e41ea500bc9b9227259c010887b798194909
2012-10-30trivial empty-init String::Fill -> comphelper::padToLengthCaolán McNamara1-3/+4
Change-Id: I6c41b8f4d3ad739eff545063bd1f8fe8f4fba65e
2012-10-29fdo#46808, Adapt i18n::LocaleCalendar UNO service to new styleNoel Grandin1-1/+2
Did not need to create a new interface, because XCalendar3 already covers the whole service interface. Change-Id: Iaf094014c16e872d2003ca6e8e7588abd081d882
2012-10-26Resolves: fdo#47291 polypoly[line|gon] points are signedCaolán McNamara1-4/+4
regression from f6a34255af1339cd7132b7527dc0c10c10d38249 Change-Id: Iabfaf92629cd4d53ab7af5f3e3013eb81bb8104d
2012-10-25remove .ui mark-up in favor of font attributesCaolán McNamara1-26/+52
so we can keep translations markup free, and it matches better our existing font use in controls Change-Id: Ib762030f8bf831f2b0afabdd643508e660ad9266 See: https://live.gnome.org/GnomeGoals/RemoveMarkupInMessages
2012-10-25XubString->OUStringCaolán McNamara4-8/+8
Change-Id: I5835696a3246b4d8f401a1617d2b53ec8c7c5626
2012-10-24convert index dialog to .uiCaolán McNamara1-4/+4
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2-2/+2
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23fdo#46808, fix up some NumberFormatter createInstance calls I missedNoel Grandin1-3/+4
Change-Id: Ieb3ce841243797a119f1d1d40379ff2a4614168f
2012-10-23Make loading CVE-2008-5937-1.gif fail (as expected) also on 64-bit Mac OS XTor Lillqvist1-0/+14
Change-Id: Ia300ebf0c1365699869f386c7257519bcedf2687
2012-10-23sfx2: add ERRCODE_SFX_FORMAT_ROWCOLMiklos Vajna1-0/+1
This is similar to the error code ODF filters are using in sw/sc/sd, except that it is not specific to any application, so any UNO filter can use it. All you need to do is to throw io::WrongFormatException with a "<row>,<col>" in the message of the exception, and then the error dialog will show it, instead of the useless general error message. Change-Id: I279c8d438f01498b44f14a6dc6aeef85f7dfa4e4
2012-10-22SvTreeList: fix singular iterator compare assertionsMichael Stahl1-2/+4
... which will be introduced tomorrow by 3fa955d7 Change-Id: I5d74a1c018fab69102382d6ea0b2739dd102e5bc
2012-10-23Make SvTreeEntryList private to svtools.Kohei Yoshida4-57/+135
Change-Id: I283d897cd5a7c15b5b60e99c90c04b696d20c2a3
2012-10-23sal_Bool to bool.Kohei Yoshida2-298/+288
Change-Id: Idd9a123eb551c72bea5892b9e8f2ad6c7eef1913
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin1-2/+4
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22disable cursor in about dialog and message boxesIvan Timofeev2-6/+0
Change-Id: I060872e0a468f2ce26a2ab519c5bfe271574170b
2012-10-19replace sxub_Unicode by sal_UnicodeNorbert Thiebaud5-14/+14
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: https://gerrit.libreoffice.org/887 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-19We don't need this method now.Kohei Yoshida3-15/+5
The two classes have been merged. Therefore this method makes no sense now. Change-Id: Idb77d8faf5314f776bebc3bc9abc0e7e88ab5d18
2012-10-19Merge SvLBoxTreeList and SvTreeList.Kohei Yoshida4-96/+13
Change-Id: I318ff6f1009b1aaa7d0bd3abb250f92fb51a21cd
2012-10-18fix debug buildDavid Tardon1-3/+0
Change-Id: Iadafeabc9c70841f8c40a5a585e5c77e079718e9
2012-10-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida15-1053/+1056
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-19Move SvListEntry and SvLBoxEntry into own files.Kohei Yoshida8-253/+330
They will be merged later. Change-Id: I8529f9ee442fce10dc63e44d7cb26bdb2f3b8eb7
2012-10-17default SwInsertGrfRulerDlg to first entryCaolán McNamara1-1/+1
Change-Id: I843afacf4bb6880ecd9848cae3fe6071439ed995
2012-10-17make use of ability to use bold in labelsCaolán McNamara1-13/+13
Change-Id: I3989d552ef286ba2e63cbd2a9fee32a8358ca74c
2012-10-17Remove the unneeded "scalable font" icon from the font combobox.Jan Holesovsky6-168/+13
Change-Id: Ifadad736ae39dff67ad7bc499f85bfbb484826ff
2012-10-13callcatcher: update unused code and drop freshly unused methodsCaolán McNamara2-19/+0
Change-Id: I8b1c0cc4a1af259e39578c36bace126c35337ecd
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák4-6/+6
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b