summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2012-11-02Fix crash during polygon handle travelling.Thorsten Behrens
Improving on 7d5922ca8f04604aba57708ee20fb4cdeaea2e44 wrt. bound checking and non-truncation of index magic values. Change-Id: If33495075472fdf242b2de0893fd44109ec7bc83
2012-11-02fdo#38838 UniString replacementRicardo Montania
Change-Id: I1323b2caf395c10b34e7467284402c0e3082f6a7 Reviewed-on: https://gerrit.libreoffice.org/965 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin
...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-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann
...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-30fdo#46808, Adapt linguistic2::LinguServiceManager UNO service to new styleNoel Grandin
Create a merged XLinguServiceManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I297bada1066cd74809108641b56ee4d5898112ec
2012-10-29fdo#46808, Create new-style frame::AutoRecovery serviceNoel Grandin
The service already existed, it just did not have an IDL file.
2012-10-27fix resource idIvan Timofeev
Change-Id: Ief85da80e14078e1d5a0b2812a2959484717da76
2012-10-25XubString->OUStringCaolán McNamara
Change-Id: I5835696a3246b4d8f401a1617d2b53ec8c7c5626
2012-10-24convert index dialog to .uiCaolán McNamara
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23typo, wrong object was returnedIvan Timofeev
Change-Id: Ibcb45d7f0ad3f9469c61809528d7542a80d406b7
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
2012-10-23add cache to avoid excessive repeated UNO peer creation for customshapesMichael Meeks
Change-Id: I30366e1a4d0648fc617c0cc20f61d3d54dd66d48
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-23fdo#46808, fix up some NumberFormatter createInstance calls I missedNoel Grandin
Change-Id: Ieb3ce841243797a119f1d1d40379ff2a4614168f
2012-10-23fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new styleNoel Grandin
Create a merged XFolderPicker2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I4a2c2a8d491a8d5633c19ddcea547f0efe75b91d
2012-10-23sfx2: add ERRCODE_SFX_FORMAT_ROWCOLMiklos Vajna
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-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin
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-19replace sxub_Unicode by sal_UnicodeNorbert Thiebaud
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-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-17default SwInsertGrfRulerDlg to first entryCaolán McNamara
Change-Id: I843afacf4bb6880ecd9848cae3fe6071439ed995
2012-10-17add a makeSwRulerValueSet for custom SwRulerValueSet widgetCaolán McNamara
Change-Id: Id13086906e2f66de45356baa7593b6d0e7657714
2012-10-17XubString->OUStringCaolán McNamara
Change-Id: Ie66f747242c7304a7ad9628fcc18c4315178eccb
2012-10-17Remove the unneeded "scalable font" icon from the font combobox.Jan Holesovsky
Change-Id: Ifadad736ae39dff67ad7bc499f85bfbb484826ff
2012-10-14FontPrevWin_Impl::CheckScript(): assert that there is text:Michael Stahl
If there is no preview text here then aTextWidth will have no entries and we crash when writing to the non-existing first element. aText should come from the current SfxViewShell, from the font name (unless that is ambiguous, e.g. a selection of text with multiple fonts), or the Window text (Window::GetText(), whatever that is).
2012-10-13loplugin: some log, indent and unused variable warningsCaolán McNamara
fix up some indents, remove some unused OUStrings and add some log areas Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
2012-10-11Let's make these calls explicit too to prevent infinite recursions.Kohei Yoshida
Change-Id: I9671715ce9ed06b032cf236e843c9ea0f09513a9
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-10add missing dep on sfx2 headersDavid Tardon
Change-Id: I93b48313501f97c9934b1a7368e289e9a3ca5a76
2012-10-09String->OUString in svl::ImpSvNumFor::GetNewCurrencySymbol methodNoel Grandin
Change-Id: Ie283a02903b0bf420291e1e4e1e29232cc7ff3a9 Reviewed-on: https://gerrit.libreoffice.org/771 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist
There are basicically two classes of cases: 1) Where the code is for obscure historical reasons or what I see as misguided "optimization" split into a more libraries than necessary, and these then are loaded at run-time. Instead, just use direct linking. 2) Where dynamic loading is part of the functionality offered to some upper (scripting etc) layer, or where some system-specific non-LO library is loaded dynamically, as it is not necessarily present on end-user machines. Can't have such in the DISABLE_DYNLOADING case. Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-06Bin unused leftover "dummy" fieldsTor Lillqvist
Change-Id: If16fcbb58234a9f1b7e07718f77909273f1fbbd4
2012-10-05SvxHFPage: add UI for style::PageProperties::FirstIsSharedMiklos Vajna
Change-Id: I76828a865751a8f29aeff40ccf7feb400692c43b
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-03XubString->OUStringCaolán McNamara
Change-Id: I40a4efb5ffed5f8592651ef70eb99d4285a7cddd
2012-10-02XubString->OUStringCaolán McNamara
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01Deduplication of ImplGetSupportedMacroItems for disable-dynlinkingTor Lillqvist
Change-Id: If6fb0a2152041f65d2e4b38dfbf87491b323f28f
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28Unwind some of the resource ID nastiness between sc and svx.Kohei Yoshida
Never reference SC resource ID's in svx. That's just asking for trouble. Change-Id: I893de42891fbc05a2824360c52f2b74ead60f60c
2012-09-28another oops in svx...Michael Stahl
Change-Id: I0f9de9ed23d160a8c3cf6a9db8eece95b4e8795a
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for MacMichael Stahl
Change-Id: I66f8229e186e312ed3242695db9ef0768ab4d9a0
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28convert GetRepeatComment to OUStringCaolán McNamara
Change-Id: Ibf75533d04b3c68b875f44ad22639934578867e3