summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-15cid#1326571 and cid#1326572 Unused valueNoel Grandin
Change-Id: I0e984135a5abf918ba556c700ffa111097fd48c1
2015-10-15cid#1326570 Unused valueNoel Grandin
Change-Id: I377671a552764e39f0f651c03949c99005084dcb
2015-10-15cid#1326569 Unused valueNoel Grandin
Change-Id: I7a945e0d299eaf20f8245c6697959885f4ef4ade
2015-10-15use AtomicInteger for _life_countNoel Grandin
(cid#1326323 Unguarded read) Just switch this to an AtomicInteger, it's cheaper, and doesn't require synchronization, so less chance of a deadlock. This is an API change since this is a protected field in a public class, but anyone messing with the internals of this class should have known better. Change-Id: Idafc760c2e9d83442b8209ad23d180acb8dccb20
2015-10-15loplugin:vclwidgetsStephan Bergmann
Change-Id: I2e73a85a3d8cab0a73c8c776d7406d99411d95d0
2015-10-15vcl: Initial NotebookBar implementation.Jan Holesovsky
See https://wiki.documentfoundation.org/Development/NotebookBar Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
2015-10-15convert Link<> to typedNoel Grandin
Change-Id: I2ef1e5fe5c6dc65c254b3a16b0b12fca5caba16e
2015-10-15Updated coreAndras Timar
Project: dictionaries c0bdbe9e78f112d6e405b9e78599e3290dba44c4 Update pt_PT dictionary to version 15.10.3.1 Change-Id: I8017c128c099f971cbee4d9517d11a6616939d5e
2015-10-15coverity#1326899 HE: Equal objects must have equal hashcodesCaolán McNamara
and... coverity#1326898 HE: Equal objects must have equal hashcodes coverity#1326897 HE: Equal objects must have equal hashcodes coverity#1326896 HE: Equal objects must have equal hashcodes coverity#1326895 HE: Equal objects must have equal hashcodes Change-Id: Ic9cb7542c1bf0608a97e5b4756b737cdf1bb4bd8
2015-10-15convert Link<> to typedNoel Grandin
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-15Always restrict FAR_AWAY to 32 bitStephan Bergmann
...as at least running CppunitTest_sw_ww8export under UBSan (in a 64 bit env.) revealed a case where a SdrHdl instance's aPos is (FAR_AWAY, FAR_AWAY), and that value is then used in computations that pass those FAR_AWAY values first through a double-based basegfx::B2DRange and then (in OverlayManagerBuffered::invalidateRange, svx/source/sdr/overlay/overlaymanagerbuffered.cxx) into a sal_Int32-based basegfx::B2IPoint, causing undefined behavior due to overflow: > svx/source/sdr/overlay/overlaymanagerbuffered.cxx:463:36: runtime error: value 6.14891e+17 is outside the range of representable values of type 'int' > sdr::overlay::OverlayManagerBuffered::invalidateRange(basegfx::B2DRange const&) svx/source/sdr/overlay/overlaymanagerbuffered.cxx:463:36 > sdr::overlay::OverlayManager::impApplyAddActions(sdr::overlay::OverlayObject&) svx/source/sdr/overlay/overlaymanager.cxx:206:13 > sdr::overlay::OverlayManager::add(sdr::overlay::OverlayObject&) svx/source/sdr/overlay/overlaymanager.cxx:277:13 > SdrHdl::CreateB2dIAObject() svx/source/svdraw/svdhdl.cxx:631:29 > SdrHdl::Touch() svx/source/svdraw/svdhdl.cxx:398:5 > SdrHdl::SetHdlList(SdrHdlList*) svx/source/svdraw/svdhdl.cxx:379:9 > SdrHdlList::AddHdl(SdrHdl*, bool) svx/source/svdraw/svdhdl.cxx:2196:9 > SdrMarkView::SetMarkHandles() svx/source/svdraw/svdmrkv.cxx:780:47 > SdrDragView::SetMarkHandles() svx/source/svdraw/svddrgv.cxx:892:5 > SdrMarkView::AdjustMarkHdl() svx/source/svdraw/svdmrkv.cxx:1971:5 > SdrMarkView::MarkObj(SdrObject*, SdrPageView*, bool, bool) svx/source/svdraw/svdmrkv.cxx:1600:13 > SwFEShell::SelectFlyFrm(SwFlyFrm&, bool) sw/source/core/frmedt/fefly1.cxx:249:9 > SwFEShell::NewFlyFrm(SfxItemSet const&, bool, SwFrameFormat*) sw/source/core/frmedt/fefly1.cxx:752:13 > SwFlyFrmAttrMgr::InsertFlyFrm() sw/source/uibase/frmdlg/frmmgr.cxx:166:22 > SwFlyFrmAttrMgr::InsertFlyFrm(RndStdIds, Point const&, Size const&, bool) sw/source/uibase/frmdlg/frmmgr.cxx:199:5 > SwModule::InsertEnv(SfxRequest&) sw/source/uibase/app/appenv.cxx:433:13 > SwModule::ExecOther(SfxRequest&) sw/source/uibase/app/apphdl.cxx:625:13 > Test::postLoad(char const*) sw/qa/extras/ww8export/ww8export.cxx:79:13 > SwModelTestBase::executeImportExportImportTest(char const*) sw/qa/extras/inc/swmodeltestbase.hxx:216:9 > testTdf94386::Import_Export_Import() sw/qa/extras/ww8export/ww8export.cxx:571:1 Change-Id: I4a8dfda252c31600b76d77b6e2b3bb8758326d47
2015-10-15lok::Document::paintTile: fix non-rectangular tiles wrt. transparencyMiklos Vajna
When copying the alpha channel, the offset was incorrect when canvas width/height did not equal. Change-Id: If0ab3ec7a4ad4dd958419b566fd473732965cfda
2015-10-15cid#1326117 Unchecked return valueNoel Grandin
Change-Id: Ieaa1875a8731b5339d4ebf032b3f724ff889903f
2015-10-15cid#1326116 Unchecked return valueNoel Grandin
Change-Id: If33ea9c4e4388cc1b7d15847f32dd2228b047363
2015-10-15cid#1326115 Unchecked return valueNoel Grandin
and drop some truly bizarre and unnecessary code Change-Id: I105ba8784b6c4179a3cd7ad5bf9a250fd680d64a
2015-10-15cid#1327023 to cid#1327077 SIC: Inner class could be made staticNoel Grandin
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
2015-10-15com.sun.star.table.BorderLine is already handled further upStephan Bergmann
Change-Id: I104c778e107259904fa4a830d3685a6506250fbb
2015-10-15[API CHANGE] Remove deprecated com.sun.star.uno.Union classStephan Bergmann
...which had never been useful for anything, as UNOIDL does not have a union concept. In light of coverity#1327215 "UwF: Unwritten field," seems cleaner to just remove that class completely than to silence that somewhat bogus (as the class is non-final, so derivations could actually set m_value) Coverity warning. Change-Id: Iaef9003a84e2c2f73adb2744bd759460cb149f68
2015-10-15Revert "tdf#94994 Enable auto-numbering by default"Samuel Mehrbrodt
After discussion with Design team, we don't want this enabled by default, unless we fix some things so this is less obtrusive This reverts commit beb8d01d32bafac3a96f9f28bf93b58985e524dd.
2015-10-15android: show flat ODS files in the doc browserMiklos Vajna
I forgot about this when I enabled other Calc file types in 07997cba7745997d7e2ed908a8764ba1f0777f1e (android: adapt doc browser to updated manifest that accepts Calc documents, 2015-01-19). Change-Id: Iabacffbfc09d806f09bc7e0f9307830bda8ebbe1
2015-10-15cppcheck:variableScopeNoel Grandin
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15loplugin:unreffunNoel Grandin
Change-Id: If9ca3e2d88d1b0dee57531ed954ba4895fb37fe3
2015-10-15CppunitTest_sw_ww8import: SAL_OVERRIDE -> overrideMiklos Vajna
Change-Id: Ibc7a9ec036317ced9fa09805b08669e6a01f8908
2015-10-15cid#1326507 Resource leakNoel Grandin
Change-Id: If4bf5978fca921860d44421e17dd4f3d772d1c22
2015-10-15cid#1326359 Nesting level does not match indentationNoel Grandin
Change-Id: Ic62811bbcb0d1365ee5623943273c834a614b895
2015-10-15cid#1326132 Logically dead codeNoel Grandin
Change-Id: I4bab8a3fd8532865086d664062ce45ebdf4373f0
2015-10-15cid#1326900 IM: Questionable integer mathNoel Grandin
Change-Id: I6f8de37216f0f9d015e17b0bf1f1b1c1492275cf
2015-10-15tdf#93243 slideshow: boost::bind -> C++11 lambdasDaniel Robertson
Replace boost::bind with C++11 lambdas. In addition, replace the use of FuncT::result_type in ListenerOperations::notifyAllListeners with a less type specific means of determining the return type of the function to be applied in order to allow for the use of C++11 lambdas. Change-Id: I1035be976e542d8b5bbd451c473a896d91ed66ca Reviewed-on: https://gerrit.libreoffice.org/19314 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15simplify the way we override behaviour hereNoel Grandin
just send everything via callModifiedHdl() Change-Id: I011df1d1c376deae962b465e4a27e98af968de6f
2015-10-15update creditsChristian Lohmaier
Change-Id: Iac825646e33cb40f7d8a1c1aa6a3e67f3aac5980
2015-10-14tdf#93318 reintroduce first/last button in Calc tab barTomaž Vajngerl
Seems that first/last button are still useful when there are a lot of tabs. Using ctrl+click is not discoverable enough for the users so for now bring the buttons back. Also turn on enabling/disabling buttons when they have some effect (this was turned off for Calc for unknown reasons). Change-Id: I6bbb04d44066ebc6b89fe3d941ecafdbb378284a
2015-10-14make test more readable - use Primitive2DSequenceTomaž Vajngerl
Change-Id: I8e49fce5a4d8f5b46b9bd1dd3f71a8c7dc90c20d
2015-10-14Breeze Icon: add missing linked file - fixedMatthias Freund
Change-Id: I7e993bda82bffcc51ae4181eb73e614c0f743349 Reviewed-on: https://gerrit.libreoffice.org/19379 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-14tdf#75256 Sifr icons for the startcenter part 3Matthias Freund
Jay Philips suggested me to round up the folder icon. And a new remote-documents icon (with a cloud). Change-Id: I3852fd012aea92812daaad69dff11d862841b046 Reviewed-on: https://gerrit.libreoffice.org/19175 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-14Improve performance by using the ScCalcOptions for OpenCL.Michael Meeks
Use the new configurationlistener to track the relevant setting. Change-Id: I9decea55df25f7eb34cd2fef94743d1907360d16 Reviewed-on: https://gerrit.libreoffice.org/19377 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-14allow using Android Studio with lldb to debug native partChristian Lohmaier
and of course also for the Java part Using build-id linker flag allows lldb to map the installed .so to the non-stripped version on the buildhost. Also ndk-gdb supports specifying a different package name on the commandline, so no need for the error in configure anymore. Change-Id: If6887a27cc8ab15ee6ab612502cacf0a22ade737
2015-10-14fix SwIndex assert on fdo66692-2.docCaolán McNamara
Change-Id: Ic3330817809727bfa2293ba74dcd7f5a25683dae
2015-10-14WaE: loplugin:staticmethodsTor Lillqvist
Change-Id: I2dd4ace6d884ba59820814e23a8e55d9b0e60ef6
2015-10-14fix build against glib < 2.36 (w/o gmenu) againBjoern Michaelsen
Change-Id: I01a76e0cf19e11609a2f414bf754f3034b298b2d
2015-10-14fix build against glib < 2.36 (w/o gmenu)Bjoern Michaelsen
Change-Id: Ia60195d48717dc87c8a8a5753477604cbdd0c79e
2015-10-14bring Unity menues to gtk3 tooBjoern Michaelsen
Change-Id: I4eb9f4bf423febce89635654c0cf1199b79d6fb8
2015-10-14coverity#1327177 UuF: Unused fieldCaolán McNamara
Change-Id: I6f09015a33410e700562a87c0cf51195cbd63172
2015-10-14coverity#1327176 UuF: Unused fieldCaolán McNamara
Change-Id: I754e1cbe9f6ed5c83b79771f99728ef317cfbe0a
2015-10-14coverity#1327175 UuF: Unused fieldCaolán McNamara
Change-Id: Ied5b03efadef550e653b7ffa861ada068ea6ba34
2015-10-14coverity#1327173 UuF: Unused fieldCaolán McNamara
Change-Id: I9d5393ec87c46bca28d13ea12ae73d5186443c38
2015-10-14coverity#1327163 UrF: Unread fieldCaolán McNamara
Change-Id: If919721a1987798f7ca612f408125d77130112ba
2015-10-14coverity#1327164 UrF: Unread fieldCaolán McNamara
Change-Id: Ib0576691b01830f25e38444efdb2442ca85ba2ca
2015-10-14Make _XCloneable.checkImplementationID return a useful value againStephan Bergmann
...it happened to return a value that would match one's expectaions until f1dfc5690a2b1a24e2d2f707a50c34d7df61dc4d "cid#1326854 EC: Comparing incompatible types for equality" fixed the method but failed to also straighten its odd return value. Change-Id: I9b98be8c86a176fec37505d4337b708ac9bbf5de
2015-10-14java:using "this" with a static field makes no senseNoel Grandin
Change-Id: I79a38ff2ec50d3a3687cac7ed7688bbbcaf2208c
2015-10-14java:remove unused importsNoel Grandin
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec