summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
2015-02-14Related: tdf#63690 - remove rtl_logfileThorsten Behrens
This was unused since the earlier cleanup. Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-09Fix of a few typosAndrea Gelmini
Change-Id: Ib2a311f0341d165a8f9d3f7a11ec36378fd69519 Reviewed-on: https://gerrit.libreoffice.org/14373 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-02-08Typo: we has->we haveJulien Nabet
Change-Id: Ib225351c908f5a2e64b039e07030e5d91a9b8dd7
2015-02-08Typo: relaese->releaseJulien Nabet
Change-Id: I9e2e8f11c376fc808b12bc1db509babeac0ff7d8
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I8de9f20ba2d19631da111f11cfe85225039e30f6
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage
Deprecated comphelper/sequenceasvector.hxx. Rewritten code using it. Using instead the functions containerToSequence and sequenceToContainer, found in include/comphelper/sequence.hxx. One class that inherits from it (in framework/inc/stdtypes.h), and the code using that has been left. Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/WrapPolygonHandler.hxx Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-04rename MenuConfiguration::Attributes->MenuAttributesCaolán McNamara
Change-Id: I2ada1394c4cbee7c27b02f241ee4a254597a5dd8
2015-02-04fix leak from framework::AddonMenuManager::BuildMenuCaolán McNamara
provide a callback when a menu item gets deleted Change-Id: I5b5f1a181fb10f53f6b1fe7b5637d385e1517530
2015-02-03Clean up some weird loggingTor Lillqvist
Change-Id: I8da0a89b7d6e044af8188a87220c654cb7bf9d4d
2015-02-02coverity#1267648 Logically dead codeCaolán McNamara
Change-Id: If33260b5e8af360fba7dd2da296b8b73fc9db654
2015-02-01coverity#1267688 Uncaught exceptionCaolán McNamara
Change-Id: Icaa71c9f5a7766ea2297d63b19ceff36913a3d0b
2015-02-01coverity#1267687 Uncaught exceptionCaolán McNamara
Change-Id: If7af42b345c876d29d750a29c1a406e862788b06
2015-02-01coverity#1267685 Uncaught exceptionCaolán McNamara
Change-Id: Ia4728352f86a8c1ac2007918708430b5221ea9fe
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-24Typo: syncro->synchroJulien Nabet
Change-Id: I0a377f3686e0f8d8f576aacbee49a392b039d3a5
2015-01-23'Ownership' is one word, as is 'relationship'Tor Lillqvist
Change-Id: I45c441f68ed5f20cfc87e34e7bfb529a30952f81
2015-01-21Resolves: fdo#87636 New button not clickable when Templates preselectedCaolán McNamara
regression from commit 57207cab004cb78c3fa6d9ed43cc4bf81f4e6981 Author: Ariel Constenla-Haile <arielch@apache.org> Date: Tue May 28 10:01:32 2013 +0000 Add missing copy&paste of SfxAppToolBoxControl_Impl::Select (cherry picked from commit 47204c74d9e52f54f6983af19b66af2a96b42e61) Conflicts: framework/inc/uielement/popuptoolbarcontroller.hxx svtools/inc/svtools/toolboxcontroller.hxx The menu shown in the ui is a copy of a menu. The original menu has UserData set on it which contains the target for the command, but the copy doesn't, so looking up the target always fails and ses the "_default" frame and not the correct "_self" required for the template menu Change-Id: Ic1887467bf15f081d27286bd284929c17a2b19ad
2015-01-20Some more loplugin:cstylecast: frameworkStephan Bergmann
Change-Id: Iebd80b596bcc1f740ff9f3b0f168472144cacbed
2015-01-14do TODO: replace ImplCallEventListeners() by CallEventListeners() in vclCaolán McNamara
Change-Id: If47baad0ec31f18fcb55c7db86fb2a316dd0807f
2015-01-13java: remove some dead propertiesNoel Grandin
Change-Id: I96adb2941c483ec08c752f35e35cf9ceb941971d
2015-01-13java: inline the CheckAPI propertiesNoel Grandin
no need to make this configurable Change-Id: I0ab149317f4660fc7ebc4c43342d20a386bdbc5f
2015-01-13java: move DEFAULT_SHORT_WAIT_MS to util.utilsNoel Grandin
so I can turn PopertyNames into an enum Change-Id: I939a83c0962813302a3653e75976147b2300cb18
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin
- remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721
2015-01-12java: no need to instantiate the AccessibilityTools objectNoel Grandin
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2015-01-09java: simplify array creationNoel Grandin
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#75757: Remove inheritance from std::vector.Matthew Pottage
In framework/inc/stdtypes.h. class OUStringList. Removed inheritance and separated additional functionality into more general functions. Changed to using std::vector<OUString> rather than SequenceAsVector. The functions now work for any vector. Although they could be made more general and support any container by altering the arguments. Change-Id: I472267029dc69da1ad0a98d55e26e3784f6b07cd Reviewed-on: https://gerrit.libreoffice.org/13612 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-07drop crashrep unused since start of LibreOfficeCaolán McNamara
Change-Id: I3df1216054c133314b2317849744a0a37e9fbc8f Reviewed-on: https://gerrit.libreoffice.org/13733 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07fdo#39440 reduce scope of local variablesŁukasz Hryniuk
Beside scope changes, it fixes lack of initialization in a few places. Change-Id: Ia09fdb9845d8ac17256330a5ec5168401c84f0f2 Reviewed-on: https://gerrit.libreoffice.org/13755 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-06how about scopeEike Rathke
Change-Id: I4c9e5f754974b6726fc86bc87775ba81832b3984
2015-01-06workaround a weird gcc optimization werror bugEike Rathke
gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1) framework/source/fwe/classes/addonsoptions.cxx: In member function ‘void framework::AddonsOptions_Impl::ReadAndAssociateImages(const rtl::OUString&, const rtl::OUString&)’: framework/source/fwe/classes/addonsoptions.cxx:267:16: error: array subscript is above array bounds [-Werror=array-bounds] struct ImageEntry ^ The combination of aScaled[2]; aImage[2]; aURL[2] in sequence apparently lead to some overoptimization and/or alignment problem, already declaring aImage[3] helped (but not aScaled[3]), but that's not what we want. Change-Id: I82e28d4887ab8072a17d0a9341d322c1cf61aedc
2015-01-06fdo#84938: replace BUTTONTYPE_ constants with 'enum class'Noel Grandin
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
2015-01-05java: unnecessary importsNoel Grandin
found by CodePro Change-Id: If1b75e43f81d70984422e437147048a491395b66
2015-01-05java: remove more dead codeNoel Grandin
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: these fields can become local variablesNoel Grandin
found by PMD Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
2015-01-05java: remove dead codeNoel Grandin
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-26Adjust the statusbar item widths according to HiDPI scaling factorTomaž Vajngerl
Change-Id: Id697b3b799c7437d937de6534edf88083e5c4dfd
2014-12-19java: static fields that should not be staticNoel Grandin
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
2014-12-19java: this does not need to be a ThreadNoel Grandin
It is just being used as a Runnable Change-Id: I1e652ab0f3b0450d3a85384b9dd513419e2f8046
2014-12-18framework: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5
2014-12-16fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I57f336c6ab3c418eac82397edeadecb4c1b168a7 Reviewed-on: https://gerrit.libreoffice.org/13495 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-12framework: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I72bb5ff2ab8a55061072fde567fcc1c4a8e20a2f