summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2015-07-16loplugin:unusedmethods sfx2(part2)Noel Grandin38-159/+0
Change-Id: I82223b72ddb6a9df1ee52a300b083002234602dc Reviewed-on: https://gerrit.libreoffice.org/17075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods sfx2Noel Grandin33-169/+10
Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62 Reviewed-on: https://gerrit.libreoffice.org/17069 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15Revert "tools: replace boost::ptr_vector with std::unordered_map"Norbert Thiebaud1-71/+77
This reverts commit 218be53fe00aebed43df0b041de609b30f99ce95. MacOSX breaker
2015-07-15create a macro to tidy up the declaration sites of o3tl::typed_flags_setNoel Grandin6-21/+15
Change-Id: Ifb8fd4fd5128188420f1dfda6b6f695160d5e77a Reviewed-on: https://gerrit.libreoffice.org/15865 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-07-16vcl: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-2/+4
Change-Id: I11bd73ff134895d05c7ce054b5ef26829a3bf8c3
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl1-77/+71
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-15Make SvxFillAttrBox available outside svx tooKatarina Behrens1-1/+1
Change-Id: I44a4d59cdccaa3bc42e14ca95984f7334e269ea8
2015-07-15loplugin:unusedmethods linguisticNoel Grandin2-15/+0
Change-Id: I0a2aac4965c444dbd868515549dcc9b1571166cb Reviewed-on: https://gerrit.libreoffice.org/17067 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15Clarify documentation of (mis)features of osl_getExecutableFile()Tor Lillqvist1-0/+6
Change-Id: I106b14a8ce2709c11f23eb1d49924c9c5ab51b50
2015-07-15loplugin:unusedmethods drawinglayerNoel Grandin13-50/+0
Change-Id: If28de80a09fbc8e72df9e919cce66cf425134d4c Reviewed-on: https://gerrit.libreoffice.org/17062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15loplugin:unusedmethods frameworkNoel Grandin4-22/+0
Change-Id: Ibfeb0ef753a083f458c84f446f0729f05c73e2d6 Reviewed-on: https://gerrit.libreoffice.org/17060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15loplugin:unusedmethods xmloffNoel Grandin14-57/+0
Change-Id: I9d15d8edcc6746c055336bf31e5b0c15cb971ffe Reviewed-on: https://gerrit.libreoffice.org/17061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15loplugin:unusedmethods basicNoel Grandin7-40/+0
Change-Id: Iddfbde451088750f8c74f3ac72c35b5ccfbe0ab1 Reviewed-on: https://gerrit.libreoffice.org/17044 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15loplugin:unusedmethods connectivityNoel Grandin5-16/+0
Change-Id: Ie9f3daa49b02dddc7b56d1f5fb58a229f53d4513 Reviewed-on: https://gerrit.libreoffice.org/17043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15Convert filters button to the generic controllerMaxim Monastirsky2-21/+0
Change-Id: I6d3c76c0aafe0ad77b597a2cb8331e6f8219e2d2
2015-07-15Convert optimize table button to the generic controllerMaxim Monastirsky1-47/+0
Change-Id: I6b9089daaa2bb7d0dfc1072296fc51401e5fc88a
2015-07-14sfx2: remove pointless GenLink classMichael Stahl3-57/+6
Change-Id: I82df7b89c598c3c7903dee865f899862902a0d86
2015-07-14sfx2: an almost unnoticable tweak to comment translationMichael Stahl1-16/+9
Change-Id: I7089b09c4497a2fc4cf8ca13ab098c747e565721
2015-07-14-Werror,-Wunused-private-fieldStephan Bergmann1-2/+0
Change-Id: Iccb727f1aae27a27ed829c9ba09e247611710295
2015-07-14oops, forgot to add new header fileMichael Stahl1-0/+24
Change-Id: I83ce7cb1b06ad69250aee48e9a8c1167ae7ef239
2015-07-14loplugin:unusedmethods svtoolsNoel Grandin49-498/+33
Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-14sfx2: remove the global SidebarController::maSidebarControllerContainerMichael Stahl1-9/+0
This global was crashing on exit, unsurprising as it contains UNO services that reference VCL objects. It turns out that there is already a UNO singleton framework::ContextChangeEventMultiplexer that effectively contains this mapping already, so try to hook that up without creating a public API of it, which is made quite a bit harder by framework's inexplicable multitude of libraries. Change-Id: I4baf67b42c630191fa8879d650eeb62520c331a5
2015-07-14loplugin:unusedmethods toolkit,packageNoel Grandin6-16/+1
Change-Id: I83618cd2fd12fb0c1691dc7255fc7192e68649cd Reviewed-on: https://gerrit.libreoffice.org/17031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann2-19/+9
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-13Introduce generic sub toolbar controllerMaxim Monastirsky1-59/+0
Currently many toolbar controllers are basically doing the same thing - show some docked toolbar. So the idea here is to have one generic controller that will handle all these cases in a unified way. It will get the name of the toolbar that it's supposed to show from the configuration, based on the command it was registered for. Right now it can handle both simple (i.e. with DROPDOWNONLY bits) and split (i.e. with DROPDOWN bits) scenarios, where for split kind it replaces the function (and the image) of the main part of the button, with the last selected function, for easy reusing. A button is considered to be a split one, if the name of the initial default command was passed along with the sub toolbar name, otherwise it will be a simple button. The core change is in framework/. Other parts are a usage example, in form of converting the custom shapes buttons to this new controller. Change-Id: I087cc58c3db1889ca69a26546d4f00fe07e2a58d Reviewed-on: https://gerrit.libreoffice.org/16967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-13tdf#90133 Comply attributes name with OASIS#3860Laurent Balland-Poirier1-2/+2
See https://issues.oasis-open.org/browse/OFFICE-3860 Change-Id: I707b2e86633bc66df03dba8c43879aa6d5153062 Reviewed-on: https://gerrit.libreoffice.org/16905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-13Bin pointless commentsTor Lillqvist1-8/+0
Change-Id: Ifebb44ce61b920488af52c7ab377c188bd4f9015
2015-07-13Bin unneeded includesTor Lillqvist1-10/+0
Change-Id: Id0e63897c9840ef412cf575de0485f2b685aaebc
2015-07-13Bin two unused fieldsTor Lillqvist1-2/+0
Change-Id: If06753320d34e0e677c9456ddb47bfd3636e8a66
2015-07-13loplugin:unusedmethods vclNoel Grandin20-123/+12
Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589 Reviewed-on: https://gerrit.libreoffice.org/16975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13Fix IndentingPagesHdl type (and GetIndentingPagesHdl is unused)Stephan Bergmann1-4/+3
Change-Id: Ide5398040678a81e032e91e582b39d516e8c08a8
2015-07-13editeng: make Link<> usage typedNoel Grandin2-53/+43
Change-Id: Iec36c7e4f4fbc2ee2ee25d4d0c8488340ba7d8c4 Reviewed-on: https://gerrit.libreoffice.org/16968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13editeng, convert to typed Link<>Noel Grandin2-5/+3
and remove SvxBrushItem::SetDoneLink since the field it sets is unused.wq Change-Id: Ide95a295fa8004f1ddab5e560f01d36d36658a72 Reviewed-on: https://gerrit.libreoffice.org/16943 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-12use correct controller for sidebarMarkus Mohrhard1-0/+1
As we now allow non-frame controllers we need to use them as well in this place. Change-Id: I0d86cdf73f8c044816def0aaafb874e75985aae5
2015-07-12finally manage to register chart2 in the ChartControllerMarkus Mohrhard1-1/+1
We need to do some jumps through pink hoops to connect the chart controller with the host sidebar. Would we use the chart window as parent for our sidebar the sidebar would be directlz beside the chart and not at the border of the host window. Change-Id: Ica44ae370518882ef367999f57251b1256907016
2015-07-12[API CHANGE] add way to get XSidebar from XSidebarProviderMarkus Mohrhard1-0/+4
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
2015-07-12add methods to add random controllers to sidebarMarkus Mohrhard1-0/+4
Change-Id: Ia3e80cc63491f1edd49eaf86cc8c25d67e4a8b28
2015-07-12use XController instead of XFrame where it makes senseMarkus Mohrhard3-7/+7
Change-Id: I22990c861c0dd9d9dab3fbdbc35fdb2b51e82005
2015-07-12add SidebarChangeHandler to chart2Markus Mohrhard1-0/+2
I still need to wire the correct frame to the correct sidebar for it to work. Change-Id: I0fecc2be674d6b024bc39e707930a4c30f67cb81
2015-07-12Rule out OString(std::nullptr_t)Stephan Bergmann1-0/+5
(This is no issue for OUString, as it has two ctors taking a single pointer argument, so passing a null pointer is ambiguous anyway.) Change-Id: I36f44b29eb84eb83e284fa080d706eabb4b485d5
2015-07-12coverity#1311653 Uninitialized scalar fieldCaolán McNamara1-2/+3
Change-Id: Ib1cc81ce30752a3794a009ee8cae826abdb9fc03
2015-07-10svtools: pimplify SvListViewMichael Stahl1-22/+4
Sadly this saves only 56MB of preprocessor input. Change-Id: I9ea78306884c5dcb54b61da87b43f700083daf2c
2015-07-10vcl: avoid a boost::ptr_map in VclBuilderMichael Stahl1-2/+3
This eliminates 638MB of preprocessor input. Change-Id: Ife434310ec08e408e1f8aaf52d6298f8caa209af
2015-07-10remove unused ptr_container includesMichael Stahl2-3/+1
Change-Id: I55e15669520075f74c3fc730f8c6549d19de5ab3
2015-07-10vcl: remove boost/signal2/signal.hpp from headerMichael Stahl2-3/+15
The most relevant signal member function appears to be connect(), so let's create a wrapper function for that now, without the more esoteric ordering features for now. Move the signal member itself to a new pImpl. The benefits are worth it: preprocessor input reduced by 2.8GB, that's 9% of the total (excluding system headers which are not counted because they don't generate dependencies). Change-Id: I0aaeda51a5630a348bb12c81a83f67afbd508a14
2015-07-10vcl: pImplify ComboBoxMichael Stahl1-50/+11
The boost::signal stuff is quite heavy (33 kloc), so try to hide it from the header. Change-Id: I87826ccfd2a151aff274ffa6b7159a988f751808
2015-07-10vcl: forward declare boost::optional in settings.hxxMichael Stahl1-1/+5
... for 1134 fewer uses of optional.hpp and a saving of 673 MB of preprocessor input. Change-Id: I9e8020f3e1ae968db403174c1bc0c1eba1139ecb
2015-07-10vcl: move resample kernel classes out of bitmap.hxxMichael Stahl1-102/+5
Since commit f31e6debfa7e330f985a0846a6ca91130d3dab20 this drags in ridiculous amounts of boost headers, for probably negigible improvemnts of sin(x)/x for tiny x values. The compile time impact was not negligible, moving this nonsense to its own header removes 1.79 GB of preprocessor input from a full build. Change-Id: Ic41b2210eac8b130726610f2dbdbb449379225d1
2015-07-10do not include boost/utility.hppMichael Stahl10-10/+10
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
2015-07-10Resolves: tdf#92457 handle trailing text subformat if others omittedEike Rathke1-0/+6
Change-Id: I597a5019540cef4700355df4d170c103e973797e