summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29vcl: oops, fix windows buildMichael Stahl
Change-Id: I73135440321c7c9898f758cb7a921d62f2265bcb
2015-09-29vcl: Vista implies usp10.dll >= 1.600Michael Stahl
... claims https://en.wikipedia.org/wiki/Uniscribe - #ifdef this so it can be removed when dropping XP support. Change-Id: I9a51635cf9bb4876faf6dca011e6da9e1c2dc35d
2015-09-29vcl: replace alloca() with std::unique_ptrMichael Stahl
Change-Id: I82b982895ee422bcf5a23756df4d81c89bc47636
2015-09-29remove unused #include <sal/alloca.h>Michael Stahl
Change-Id: I490841fd2c526e4ca6d6c94cc7b9dba318c932a1
2015-09-29vcl: replace alloca() with std::unique_ptrMichael Stahl
Change-Id: If0f44ac761afdf50a8e6f5c77023ae5d74fdcad9
2015-09-29vcl: replace alloca() with std::unique_ptrMichael Stahl
Change-Id: I73d27e0e5a8ad0a02579c43f3fd479cb374d6bbd
2015-09-29vcl: remove alloca() in UniscribeLayout::GetCaretPositions()Michael Stahl
Change-Id: I0caab3b69b10aba6a5d45a11f8e9724b4d3c6d83
2015-09-29tdf#94559: first step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in avmedia, basctl, basic, cui, dbaccess, vcl,xmloff Change-Id: If4496762e82e896b6fbc362e6626502703c245f5 Reviewed-on: https://gerrit.libreoffice.org/18905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-29the only use of non-null pData in PostEvent is with a ImplSVEventCaolán McNamara
Change-Id: Id843c886cc9a029f37eab53a95497707060c3ada
2015-09-29coverity#1325059 Argument cannot be negative bodgeCaolán McNamara
Change-Id: I9bae22c7420247a26f0fe73e6c4e590471f19b0e
2015-09-29coverity#1325060 Argument cannot be negative bodgeCaolán McNamara
Change-Id: Iee72d75a5609aa6e1098723ff62928bd47b42072
2015-09-29missing a PostEvent apparentlyCaolán McNamara
Change-Id: I54c39d23007d079fc9fdedf68c81c7eba64baea0
2015-09-29-Werror,-Wunused-variableStephan Bergmann
Change-Id: Ice39e95596c5fcd9b3b728ef0064161898f27fb5
2015-09-29retain type for another levelCaolán McNamara
Change-Id: I4017e5404c99d37b36988f1d7a8ce17e42010070 Reviewed-on: https://gerrit.libreoffice.org/18913 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29coverity#1325070 Resource leakCaolán McNamara
Change-Id: I9ae845f1350095e5049ca4e56956fe9f5c7c918f
2015-09-29coverity#1325067 Resource leakCaolán McNamara
Change-Id: I1db24c81a2698ff49dd2441ddd1bc94a1a3e6f58
2015-09-29coverity#1325063 Resource leakCaolán McNamara
Change-Id: I45f4f770a64d27ee5f5b323fa7079958b224fbac
2015-09-29coverity#1325062 Resource leakCaolán McNamara
Change-Id: I111b7d2f9fc0a15c07b2393acefde26e54065dc1
2015-09-29coverity#1325061 Resource leakCaolán McNamara
Change-Id: If680e1f9236ab6c1eb43f3d234cf36ef00442079
2015-09-29coverity#1242704 Untrusted loop boundCaolán McNamara
Change-Id: Id8a80028ad00ec7ae79eaa9d877a1fef9f4d082c
2015-09-29XFrame parameter to SetMenuBar() is actually never used.Jan Holesovsky
Change-Id: I9413f575c0964d6cbf8a32d0b85c9f2c686bb8fc
2015-09-28opengl: use VCL_GL_INFO in salbmp so messages appear apitraceTomaž Vajngerl
Change-Id: I134820fa81c206b835d68dcaa3967045038b6f33
2015-09-28don't allocate (by eraseing) an un-initialized 1x1 virtual deviceTomaž Vajngerl
Change-Id: I11c7063d7ac689866461ceabf8648f1c3c7bb17d
2015-09-28loplugin:staticmethodsStephan Bergmann
Change-Id: I58baa20b852bda3160f23f43a751404248244348
2015-09-28Resolves: tdf#94458 wrong alpha values for 32bit dibsCaolán McNamara
Change-Id: I02a86b0cdae2433d46f6fac361efa43f45be187f
2015-09-28wmf spec says that these are only allowed bitcount valuesCaolán McNamara
Change-Id: Ia174feec73ee676567a3632d2f88b11c176b6363
2015-09-25tdf#94228 comphelper: replace BOOST_PPDaniel Robertson
Remove makeSequence. Change-Id: If07dc8702d811111fc634c9c7eb4c9a331517ca5 Reviewed-on: https://gerrit.libreoffice.org/18647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-25Replace GUIBASE with USING_X11Samuel Mehrbrodt
That's what it actually means. Also make it a boolean Change-Id: I249e18351253b34b5dada28e2a9c6bc0c06b730c Reviewed-on: https://gerrit.libreoffice.org/18688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I280473a7a9069a86388f608bddc8e48879771bc9 Reviewed-on: https://gerrit.libreoffice.org/18815 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-24boost->stdCaolán McNamara
Change-Id: I24ecb1173af3711dfd6e8a9284f5d7a095d9c544 Reviewed-on: https://gerrit.libreoffice.org/18819 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-24Fix graphite sole diacritic renderingMartin Hosken
Change-Id: If44ab2ff8c860fbed2af3b4702fa031675e425f4 Reviewed-on: https://gerrit.libreoffice.org/18757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-09-23memleak:clear self referring VclPtr in *Field and *Box classesDennis Francis
Clears self referring VclPtr called mpField via FormatterBase in : 1. MetricField, PatternField, NumericField, CurrencyField, DateField, TimeField 2. PatternBox, NumericBox, CurrencyBox, DateBox, TimeBox via respective dispose() methods. Change-Id: I7f92fefd49756cabe7db7d240781260a2d4cd298 Reviewed-on: https://gerrit.libreoffice.org/18701 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-22remove unused Link<> fieldNoel Grandin
Change-Id: Ia07a1db94bacad8c1d9c108ee6e2ac2f82b6581f
2015-09-22convert Link<> to typedNoel Grandin
and drop an unused parameter Change-Id: I2f3bc15e4168103a6cb2d19807d291d8da24387e
2015-09-22remove some unused paramsNoel Grandin
Change-Id: Id4f6da92526cea3e9b01bd23f6569843dfb17d89
2015-09-22convert Link<> to typedNoel Grandin
Change-Id: I92df586295c11bc9e9276770656901c2e4e714b9
2015-09-22convert Link<> to typedNoel Grandin
and remove unused UserEvent class Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3
2015-09-21hide ScopedPtr::reset and add disposeAndClearCaolán McNamara
Change-Id: I55d6e789abd408b8478a2b9ae141d8899af2c309 Reviewed-on: https://gerrit.libreoffice.org/18745 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-21tdf#94275: core dump when XKeysymToString returns NULLJulien Nabet
0 strlen () at ../sysdeps/x86_64/strlen.S:106 1 0x00007fffdfd69083 in SalDisplay::GetKeyNameFromKeySym (this=this@entry=0x1121b30, nKeySym=<optimised out>) at /build/libreoffice-Ke3JzN/libreoffice-5.0.1~rc2/vcl/unx/generic/app/saldisp.cxx:744 2 0x00007fffdfd696f5 in SalDisplay::GetKeyName (this=0x1121b30, nKeyCode=nKeyCode@entry=9476) at /build/libreoffice-Ke3JzN/libreoffice-5.0.1~rc2/vcl/unx/generic/app/saldisp.cxx:798 3 0x00007fffe17892a2 in GtkSalFrame::GetKeyName (this=<optimised out>, nKeyCode=<optimised out>) at /build/libreoffice-Ke3JzN/libreoffice-5.0.1~rc2/vcl/unx/gtk/window/gtksalframe.cxx:3005 4 0x00007ffff6125bbc in vcl::KeyCode::GetName (this=this@entry=0x7fffffffbfb0, pWindow=<optimised out>, pWindow@entry=0x0) at /build/libreoffice-Ke3JzN/libreoffice-5.0.1~rc2/vcl/source/window/keycod.cxx:108 Thank you Alex Bennée for having noticed this. Change-Id: I4fa89241c72144d5c76cd6175368c6878fc57a46 Reviewed-on: https://gerrit.libreoffice.org/18708 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-21fix OSX buildNoel Grandin
after my Link<> changes Change-Id: I418101e2bf2a29b13b7e9eadaedfe57776cf45ee
2015-09-21convert Link<> to typedNoel Grandin
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-20convert Link<> to typedNoel Grandin
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20convert Link<> to typedNoel Grandin
Change-Id: I86bf78c69251b5cd4d18edf3542e70eb2e8f32e1 Reviewed-on: https://gerrit.libreoffice.org/18699 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20convert Link<> to typedNoel Grandin
Change-Id: If7fdd97d3c317a8e31641cc096c2c2639c1e012e Reviewed-on: https://gerrit.libreoffice.org/18698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20remove unused Link<> fieldNoel Grandin
Change-Id: I6ceb33a1c7311962f1d8902fab01fc7d6c91975e Reviewed-on: https://gerrit.libreoffice.org/18697 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-19I don't think we want to use NSS on iOS eitherTor Lillqvist
Change-Id: I3366e9e33e639534c09ddab2f092ef8e9e3b25e5
2015-09-18Fix typosAndrea Gelmini
Change-Id: I021589aeca9ef6bceb1c828c2197f5ff58f85b09 Reviewed-on: https://gerrit.libreoffice.org/18707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-18valgrind: memory leak in scoped_ptr/unique_ptr -> VclPtr convertCaolán McNamara
regression from commit 820576af4fd6441a752742b43d804e9837839925 Author: Noel Grandin <noel@peralex.com> Date: Thu Mar 19 13:54:12 2015 +0200 start wrapping OutputDevice in VclPtr 9,800 (568 direct, 9,232 indirect) bytes in 1 blocks are definitely lost in loss record 12,696 of 12,898 by 0xC602E72: ScopedVclPtrInstance<VirtualDevice>::ScopedVclPtrInstance<>() (vclptr.hxx:375) Change-Id: I356f39c339fd28a9e19a00d61b6f1bee492f2638