summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-19use comphelper::containerToSequenceNoel Grandin
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18svx: SdrLayerNameItem etc. missing Clone overridesMichael Stahl
Change-Id: I26ca8070d9c9607a475267ef8780f9013dfd4dcf
2015-11-18svx: SdrEdgeNode1HorzDistItem etc. missing Clone overridesMichael Stahl
Change-Id: I2bc2de3c3a71dd54e432905c129a3dbd5395f6ab
2015-11-18Revert "Flip buttons: Make the tooltip an uno command property"Samuel Mehrbrodt
The text should be in the extended tooltips, not in the default ones. This reverts commit 0e41564b2fa5192ef1e8ec5e51ad3c04dfa52afd.
2015-11-17No point to link against pure UNO component library fwkMatúš Kukan
Change-Id: I44d979180e53a7251547cebd60cf05c8322b2b83 Reviewed-on: https://gerrit.libreoffice.org/20028 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-17loplugin:unnecessaryvirtualNoel Grandin
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I5779c639c480d5a2fbefd47942a662ff7ca4a9f5
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16Cleanup: Consolidate the different ways to get command labels/tooltipsSamuel Mehrbrodt
Change-Id: Ieab809a3122c9d592894b84ec2e68195a4e02dde
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-14tdf#95403 Add Outline buttonMaxim Monastirsky
Change-Id: I0d5187ed34539a05ab9f2ffdfb89118df0aa3511 Reviewed-on: https://gerrit.libreoffice.org/19964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-15Fix license headerMaxim Monastirsky
This is an original file created by me. Not sure how I missed the wrong header. Change-Id: Ic56d66b1b10aa83dee835925dbf2e9a6d6a130ab
2015-11-13tdf#86886 Shortcut keys missing in undo and redo tooltipsSamuel Mehrbrodt
Change-Id: I8df003bdad4430a174815ce51197b997717ef379
2015-11-13svx: loplugin:badstaticsMichael Stahl
Change-Id: Ief31d8153fdbf91cdd29df5ac7801bd88a98542e
2015-11-13svx: rename static variableMichael Stahl
Change-Id: I98246395bb0de7444864ce35d1cbdd4711b5bfeb
2015-11-13Flip buttons: Make the tooltip an uno command propertySamuel Mehrbrodt
Change-Id: I3d6984b3b51e7eb2affa7fafebf8b745e60b3f20
2015-11-12tdf#95551 - fix image map crash.Michael Meeks
Remove listener we add, and don't crash on callback for disposed dialog. Change-Id: Ia6a1bddd212cb28a0331469e8e87324346d02841
2015-11-12Sidebar: Make the flip buttons available for Images in Writer alsoSamuel Mehrbrodt
And reduce copypasta Change-Id: I140bb8ad68bc35ba41c272cc4eb89b4a2d209a45
2015-11-12tdf#90357 create correct undo actionArmin Le Grand
when merging in pages from another model the already cloned page references a masterpage from the old model. To not create an undo action that falsely reflects that, remove the masterpage from the page first. This reflects better what happens in this state, setting the masterpage for this page the first time. Change-Id: I0288268cb0963ddc2e8446661ffd30a94a0744d2
2015-11-12Namespace cleanup and disambiguationAshod Nakashian
Change-Id: Ib6d2f8b4e71436c3a7c26bdfc9847152ebaf0739 Reviewed-on: https://gerrit.libreoffice.org/19900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-12sfx2: boost::ptr_vector->std::vectorNoel Grandin
Change-Id: I0ffe29145fb56f284300d40dfea323a8b16c26de
2015-11-12Bin mesa_headers completelyTor Lillqvist
We don't need them in a MSVC or OS X compilation either. Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12Avoid mesa_headers on X11, also link with -lGL only where necesssaryTor Lillqvist
The GLEW headers are enough, and what we actually use in these places. In addition to handling GL extension things in its dynamic fashion, GLEW headers also have declarations for standard, non-extension, OpenGL API, including xgl and wgl ones. Most likely we don't need mesa_headers on Windows or OS X either, and can drop them completely. Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-11-11Fix MSVC build: Need to delete copy ctor and operator=Tor Lillqvist
Change-Id: I6ccc228b9259b44c4eb8651096f534a788788a6a
2015-11-11loplugin:nullptrStephan Bergmann
Change-Id: Id0cab3b90ea9f3de7dc63f58ef247ba512af79f4
2015-11-11-Werror,-Wunevaluated-expressionStephan Bergmann
Change-Id: Ibc717656d10a1a4e8ed3c7d170f2613abf299880
2015-11-11Resolves: tdf#95723 arrange GridControl buttons to be always visibleCaolán McNamara
as long as there's space for them Change-Id: Id96069b5c50483309611381afdf62bb0d30e9c38
2015-11-11Resolves: tdf#94069 call setVisible when setDesignMode is calledCaolán McNamara
void UnoControl::setDesignMode calls setVisible on the XWindow so it seems sensible that FmXGridPeer::setDesignMode should also do so. The desirable side effect is that moving the window in design mode then is moving a un-shown window so nothing is invalidated so the paint loop doesn't happen. Change-Id: Ic5a4ba62590372bec15a29b993b73d6dfb94a8a9
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11remove boost/ptr_vector from pch fileNoel Grandin
Change-Id: I040d1298780e8440a8a18f193d5f32cd0e3bcd4f
2015-11-11svx: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I6f3fee6b95e8675e04f867bf59447fa569a61d8e
2015-11-11svx: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Ib4ebadcdecc0f673c585c820b4aa4a3e1e123f0c
2015-11-11new loplugin: memoryvarNoel Grandin
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10XDash: salu_uIntPtr to sal_uInt32Matteo Casalin
Unsigned integer was used tp be consistent with previous integral type, but both unsigned and signed integers are used by callers. Change-Id: I3f902e00fbff690a72a7ca0f1c818976d3d2bebe
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
2015-11-09Prevent += called on temporary O[U]String instancesStephan Bergmann
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b "EditUndoRemoveChars::GetStr must return a reference" and dubious code 0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies directly fixed in this commit. Introduces HAVE_CXX11_REF_QUALIFIER. Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06coverity#1338251 Uncaught exceptionCaolán McNamara
Change-Id: I92f1a05b7fb6718a0b74f7a792df250147a26137
2015-11-06coverity#1338250 Uncaught exceptionCaolán McNamara
Change-Id: I0c78b48213b4a638eca86eb9481974f49bc35319
2015-11-06coverity#1338240 Uncaught exceptionCaolán McNamara
Change-Id: I3b1b1c9745cae1dd7a765769ea761973d0a60134
2015-11-06loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann
Change-Id: If1bbd1f0a51bf9e6ea7a737081389d28c616f3ff
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I72d11153ffccc51633aec78c802822173dd7f5ed
2015-11-05_SdrItemBrowserControl: reuse BreakChangeEntry in EndChangeEntryMatteo Casalin
Change-Id: I96667dc89a25455819898b68c2366c4ecef17e6d
2015-11-05Use more proper integer typesMatteo Casalin
Change-Id: I9e1ac9f9a8d1954f570594df58c6421de13c79db
2015-11-05Expand some prefixes ('Brk' to 'Break', 'Beg' to 'Begin')Matteo Casalin
Change-Id: Id4047b656ce53cf754c35fab13216587884da199
2015-11-05Privatize _SdrItemBrowserControl::GetCurrentPos|BegChangeEntryMatteo Casalin
Change-Id: Iea2e8353f4d48e792e3ff8d6e4544df35bea9461