summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-1/+1
| | | | Change-Id: I2f084bd6de707d21857e2182aebb96b446b51dcc
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-75/+75
| | | | Change-Id: I4791f064f223487ce57e68f8e0b1e3d74e66e868
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-2/+2
| | | | Change-Id: I641a3a1e2cf2c789844940d7231015cb85e3b8bc
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-25/+25
| | | | Change-Id: I13a85e13b22559a9f1571ef5771b26d70a5cd4fb
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-012-4/+4
| | | | Change-Id: Ied1a4e7226de4ae1d1c24af90ae9397ba80f404a
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-012-4/+4
| | | | Change-Id: I8dd0e5c8837fe1615aa9d5f546c2fd1c0985f044
* Make cppu::UnoType<decltype(x)>::get() work when x is of reference typeStephan Bergmann2015-04-011-1/+12
| | | | | | | | ...using C++11-only std::remove_reference, but decltype is also only C++11, so 3rd party C++03 code should have no need for it anyway. (Commits acutally making use of it to follow shortly.) Change-Id: I8dd7a64ca73d2082a3e7b74d3599848e65e81da5
* tdf#89666: vcl: speed up HbLayoutEngine with cache in SwTxtFormatInfoMichael Stahl2015-03-311-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a SwTxtFormatInfo is created to format a paragraph, pre-compute the result of vcl::ScriptRun::next() and cache it for future calls to OutputDevice::GetTextBreak() and GetTextWidth(). This requires adapting a bunch of methods to pass the additional parameter, and some classes to backup and restore the cache when they replace the text of the SwTxtFormatInfo. There is some code in vcl OutputDevice::ImplPrepareLayoutArgs() to modify the passed string and replace digits depending on "meTextLanguage" member; try to set it to the correct value when creating the layout cache (unfortunately it's not possible if the user sets the CTL Numerals config to the non-default "Context" value). Another issue is the check in OutputDevice::ImplLayout() if there is a mpConversion member on the font; apparently this is used to translate between different Symbol fonts, so not very important; just ignore the cache in this case. This reduces vcl::ScriptRun::next() from 11 to 0.36 billion callgrind cycles when built with GCC 4.9.2 -m32 -Os (which is still 16% of the formatting). Change-Id: I61fb8530333f2e7a9199f767c00cf2181ba49951 Reviewed-on: https://gerrit.libreoffice.org/14732 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* V597: introduce a rtl_secureZeroMemoryCaolán McNamara2015-03-311-3/+16
| | | | Change-Id: Id28046eb318cd3b2ed0b813fd266617547cf6ee2
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-311-1/+1
| | | | Change-Id: If4bc1b998952ff2f86124e68d108869d7749ea5b
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-312-49/+49
| | | | Change-Id: I22ee2cbacad8b19bb55db234e816d401edcf4a35
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-312-3/+3
| | | | Change-Id: I062024d4768374e319b6c67ed8c7abcc89f9d552
* WaE: passing [...] by value, rather pass by referenceTor Lillqvist2015-03-301-1/+1
| | | | Change-Id: Ic733f9b5dcb55bb8120c3652a60300914fab04ea
* Introduce vcl::IsWindowSystemAvailable()Tor Lillqvist2015-03-301-0/+7
| | | | Change-Id: I6e3f804833db7487ddf7ba75c43d15017dcbe1ba
* Unit tests for SkipImagesLászló Németh2015-03-301-1/+2
| | | | | | | SkipImages filter option skips image loading during DOC and DOCX imports, but it keeps the text of textboxes and custom shapes. Change-Id: Ia0ab3b350b9da22d9375787883678cc357a704b3
* loplugin:staticfunctionNoel Grandin2015-03-301-1/+1
| | | | Change-Id: I4b7b04031fa74956379c5a1b21abe10b0717f3e9
* Add SvxTableController::setCursorLogicPosition()Miklos Vajna2015-03-302-0/+5
| | | | | | | With this, it's possible to drag the start or end handle of an Impress table selection and let it grow/shrink. Change-Id: Icdee1207c1c3a6b1c4fb15d00008db6327d6e2de
* SdXImpressDocument: implement resetSelection()Miklos Vajna2015-03-301-1/+1
| | | | | | | With this, when editing is finished, no text edit is active, also both editeng and sdr selections are reset. Change-Id: If953e1d8683171c1f1ed8c7d97ae34a163d14765
* SdrMarkView tiled rendering: partially disable SdrTableObj graphic selectionMiklos Vajna2015-03-302-1/+3
| | | | | | | | If one or more cells are selected in an Impress table, then the shape already provides its own text selection, don't overwrite it with the generic graphic selection in this case. Change-Id: I4f84a220df6cd9d225ed67d6f70ba2df6eff38af
* sc tiled editing: Implement scaling of drawings and bitmaps in Calc.Jan Holesovsky2015-03-301-1/+1
| | | | Change-Id: I1faa4608047e5a7ce30c317c72babfa44cdd808d
* lokdocview: move keyboard handling to LOKDocView_ImplMiklos Vajna2015-03-301-0/+3
| | | | Change-Id: I1117ec42bdf0f2cb19f77723b87597d301d20ddb
* Minor tweak of the LOK_CALLBACK_TEXT_SELECTION_START / _END docu.Jan Holesovsky2015-03-301-10/+12
| | | | Change-Id: I39a6a20818c4ed92d37b7b5b0a91517ee370adcb
* vcl::ITiledRenderable: setTextSelection() can be pure-virtual nowMiklos Vajna2015-03-301-1/+1
| | | | Change-Id: I232197b55a80a65800d85e66c50875b3af7e7fab
* vcl::ITiledRenderable: can mark these methods as pure virtualMiklos Vajna2015-03-301-5/+3
| | | | Change-Id: Ic6b594ee3ed668f5038a1f998ec9e514ecb75169
* svx, sw: can avoid vcl/ITiledRenderable.hxx include hereMiklos Vajna2015-03-301-1/+2
| | | | Change-Id: I27f1770d0e1d3409d51887565f67d4d456ca9692
* Clean up template-parameter-dependent C-style castsStephan Bergmann2015-03-295-17/+17
| | | | Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
* Remove redundant C-style castStephan Bergmann2015-03-291-1/+1
| | | | Change-Id: I1785b47bf24f6be55f7ee346c9972ffa12cd138b
* vcl: add ScopedInfoAccess to BitmapTomaž Vajngerl2015-03-291-4/+3
| | | | Change-Id: I57292ef47ecec98d2faeff9689702e07050dde1b
* vcl: cleanup pngreader, use unique_ptr for pImplTomaž Vajngerl2015-03-291-25/+23
| | | | Change-Id: I36fb35338d8635e4bf1ac7c60e0f09da401406db
* Clean up remaining C-style casts among void pointersStephan Bergmann2015-03-292-3/+3
| | | | Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
* Revert "tdf#89666: vcl: speed up HbLayoutEngine with cache in SwTxtFormatInfo"Norbert Thiebaud2015-03-281-14/+6
| | | | | This reverts commit 1efe5fe38031f7bc23150c35e4c68940621a1d5b. which broke windows.
* Bin superfluous whitespace, ASCII art and useless commentsTor Lillqvist2015-03-297-86/+6
| | | | Change-Id: Ic70fe69f407e49604b056cdcb92aa3d656e1aeaf
* IsEnableAccessInterface() is not used anywhereTor Lillqvist2015-03-281-9/+0
| | | | Change-Id: If5591adcc15bef2144505f9747d2348568b8e1ae
* Fix weird style, whitespace changes onlyTor Lillqvist2015-03-281-53/+68
| | | | Change-Id: Iab7e3704b6094a3a3754400f05b9718853fe6c58
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-283-15/+15
| | | | Change-Id: Iad602cece6e328c7f5d5f36adb294c97b152ade3
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-282-4/+4
| | | | Change-Id: Ife048a705e899870a8b1d9987b109d5c0cd80599
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: I5f4029fc583952ae6392dbf2d478155982ccecef
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: I4ce94a1cbe0567a829de977aaa9fd1cdbff71788
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-3/+3
| | | | Change-Id: I717c260ecdc378a9fd33494f2b98eccec0417d66
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: I5e370445affbcd32b05588111f74590bf24f39d6
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-19/+19
| | | | Change-Id: I92c0a6c602e473b796df43b88c98b823de8d9399
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-5/+5
| | | | Change-Id: I834eb4ecd0fa71caf6fa746901367fac8b538305
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: I6c7c31befd61cbf0800a62c08e7395ddf78e4b30
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: Icdb619101a992a740c71545e669e138cb5dc63a6
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: I6dd7c7fbaf0d4b22abba0a7b1f5e37f0a46d0747
* tdf#89666: vcl: speed up HbLayoutEngine with cache in SwTxtFormatInfoMichael Stahl2015-03-281-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a SwTxtFormatInfo is created to format a paragraph, pre-compute the result of vcl::ScriptRun::next() and cache it for future calls to OutputDevice::GetTextBreak() and GetTextWidth(). This requires adapting a bunch of methods to pass the additional parameter, and some classes to backup and restore the cache when they replace the text of the SwTxtFormatInfo. There is some code in vcl OutputDevice::ImplPrepareLayoutArgs() to modify the passed string and replace digits depending on "meTextLanguage" member; try to set it to the correct value when creating the layout cache (unfortunately it's not possible if the user sets the CTL Numerals config to the non-default "Context" value). Another issue is the check in OutputDevice::ImplLayout() if there is a mpConversion member on the font; apparently this is used to translate between different Symbol fonts, so not very important; just ignore the cache in this case. This reduces vcl::ScriptRun::next() from 11 to 0.36 billion callgrind cycles when built with GCC 4.9.2 -m32 -Os (which is still 16% of the formatting). Change-Id: I61fb8530333f2e7a9199f767c00cf2181ba49951 Reviewed-on: https://gerrit.libreoffice.org/14732 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:staticfunctionNoel Grandin2015-03-271-1/+1
| | | | Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
* loplugin:staticfunctionNoel Grandin2015-03-271-4/+4
| | | | Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
* new clang plugin: staticmethodsNoel Grandin2015-03-277-19/+19
| | | | | | | Genius suggestion from Tor Lillqvist, write a clang plugin that finds methods that can be static. Change-Id: Ie6684cc95d088e8750b300a028b49f763da00345
* fix macro and enum name collision using CamelCaseNoel Grandin2015-03-271-12/+12
| | | | | | so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d