summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-06-10coverity#1222225 Division or modulo by zeroCaolán McNamara
Change-Id: I9a60114833c22d498dbb6258fcb2ceac22c72751
2014-06-10coverity#1222226 Division or modulo by zeroCaolán McNamara
Change-Id: I45cbb8dbf2b9e7be6e8dda8603c2ef5f88507d04
2014-06-10coverity#1222227 Division or modulo by zeroCaolán McNamara
Change-Id: I96b74d164a582cac13c419267879619e6986d71f
2014-06-10coverity#1222228 Division or modulo by zeroCaolán McNamara
Change-Id: Icc2bc53a14503f723977dc62252f23327de2dc0d
2014-06-10coverity#1222229 Division or modulo by zeroCaolán McNamara
Change-Id: I97fd23d19a96665b91154ed260c677f0f76fee47
2014-06-10coverity#1222230 Division or modulo by zeroCaolán McNamara
Change-Id: I98ccd214be79f3d95c023fd5134d09c1cff3ee32
2014-06-10coverity#1222231 Division or modulo by zeroCaolán McNamara
Change-Id: Id914167a72782741e67ba97683445aec6151fdd6
2014-06-10coverity#1222232 Division or modulo by zeroCaolán McNamara
Change-Id: I4a3921df8e6510a37702ae8bd4856ba43c98213a
2014-06-10coverity#1222233 Division or modulo by zeroCaolán McNamara
Change-Id: I699dc60b67d9417a8ac3848c03d7352f9f8ff12d
2014-06-10coverity#1222234 Division or modulo by zeroCaolán McNamara
Change-Id: I2832f99c1b4117d1c6d4621f25339e5921d26cb1
2014-06-10Modified the depth bit to 24weigao
Change-Id: I57387f9250c0c62c3cab7a75571d001fef99fdb4
2014-06-10titchy tweakCaolán McNamara
Change-Id: Ia28447cf35ceb550778297dc515746e93c7d86e4
2014-06-10coverity#1222236 Resource leakCaolán McNamara
Change-Id: Iadd6621cebe9426c7c54c81f584b9c6766157f56
2014-06-09libabw,libfreehand,libvisio: avoid some quoting issuesMichael Stahl
With Win32 make there are problems with the sed expression. Change-Id: I6d7fe52a233ef88a43ee1b6e3378fcb7b0792d07
2014-06-09gbuild: remove config_libraries.h and gb_Helper_generate_config_librariesMichael Stahl
This much ugly complexity, generating a header on every gbuild startup etc. is really not warranted for 6 callers of the generated macros. Also, the Win32 make has problems with the quoting. Change-Id: If945e09c1730e52174a6084677842dc611d66b2f
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-07fix WerrorMarkus Mohrhard
2014-06-07remove debug outputMarkus Mohrhard
Change-Id: I7c56adf0cd91f6474145708d91988c974e1ea854
2014-06-06fixincludeguards: fix include guardsThomas Arnhold
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-06Resolves: #i125000# check last status of newly created...Oliver-Rainer Wittmann
<Gdiplus::Bitmap> instance before using it. (cherry picked from commit b127235917610b9c68e19df29bb39af496906569) Change-Id: I97364cf963424b0e8d0b52b3c995bd4defdca067
2014-06-06coverity#708896 Unused pointer valueCaolán McNamara
Change-Id: I8cb1d720a8fb22ba2153c5f556e4bd538f5ea8af
2014-06-06coverity#708898 Unused pointer valueCaolán McNamara
Change-Id: Ida87450bda99260d9e153bb9e48d8867f53d42ca
2014-06-06coverity#708901 Unused pointer valueCaolán McNamara
Change-Id: Idb9be9f594b9ab3d1837c003d4a748f9693f5ceb
2014-06-06coverity#1213364 Untrusted pointer writeCaolán McNamara
Change-Id: I63c670e6f2196f8e8743923b0a0bf676fb476ed7
2014-06-06use sfntLen in DumpSfnts to do some sanity checkingCaolán McNamara
Change-Id: Ic3b196f925a1699f02ad9a5c1183ea767e3e91cf
2014-06-06improve this sanity checkCaolán McNamara
Change-Id: If202723412b2bf7acf7dcd2709886f89df9d7940
2014-06-06pass sfntLen to DumpSfnts etc so sfntP reads can be checkedCaolán McNamara
Change-Id: I5d8092eceb31ba251e75fe2c51b87890b8adcbf2
2014-06-05If no bounds can be determined, assume some reasonable defaultsStephan Bergmann
(instead of the twisted huge values with which aBound got initialized) Change-Id: Ic6fe08639287eb7b5a0520aef8d2a0d43d61c035
2014-06-05WMF record size < 3 is clearly brokenStephan Bergmann
...so we should not attempt to (mis-)interpret such broken input. Change-Id: I97f4f46fdfc0dfe6f9aff42917d23634b844c7f0
2014-06-05fdo#78906 : File crashes while opening.Umesh Kadam
Handled a memory corruption. Change-Id: I195d17bcd0a9a86bcc96cc7ad14f1d5f2908cf8c Reviewed-on: https://gerrit.libreoffice.org/9545 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-05lp#1296715: refresh invalidated menusBjoern Michaelsen
- so we need to be a StatusListener in framework after all - we ware updating all menus for now, instead of just one - this would have a hugh performance hit when there is much change to the menu - thus we just invalidate the menu and update with all changes after 100ms once Change-Id: I48cda968cf0ae1eae0421b3424bb3e5830817e84
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04Resolves: fdo#78477 ensure offset + sizeof(value) is in boundsCaolán McNamara
check that largest offset + value to read is inside available space Change-Id: I4feac37bdfbae5061b3b75ddf44bb20fc5904656
2014-06-04sort in order of increasing offsetCaolán McNamara
Change-Id: I0d2c880438f47f4527037d7ffaf77cf142d24751
2014-06-04ptr is just added to offset, so move addition into 2nd argCaolán McNamara
Change-Id: Ia3e8145c69324f19aeec8b0dd97284ec382d20d7
2014-06-04Include <stdio.h> for the sprintf in meta_action_name()Tor Lillqvist
Change-Id: Ice2955533888e400561b3d18e0a59314e0a16d95
2014-06-04coverity#1093230 Dereference before null checkCaolán McNamara
Change-Id: Id273eaf3c4fe25df9af723fbc7f774c3c61ab3de
2014-06-04Avoid uninitialized memory read/compare on short reads.Michael Meeks
Change-Id: I7537f6d22780bace6ab6da06e087a3d27da8de05
2014-06-04DeInitVCL at end of testsStephan Bergmann
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-04avoid problems with poppler's and vcl's FontInfo during runtimeMarkus Mohrhard
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
2014-06-04Avoid accessing freed memory and freeing already freed resourcesTor Lillqvist
Seen in smoketest in a 4.2-based branch, but might perhaps happen in master too. Should not hurt in any case to be more careful. ImplFreeSalGDI() is called both from SalAbort() and from DestroySalInstance(). Change-Id: Ifac37e8ecfb432848bd3451dbda8634c59a06fba
2014-06-04Add (debugging) function to get the symbolic name of a MetaActionTor Lillqvist
Change-Id: I3c1e5c23e7be636cc93c97da0c2db00ebb1050e3
2014-06-03WaE: 'convertBaseToScreen:' is deprecated: first deprecated in OS X 10.7Tor Lillqvist
Change-Id: I04cc155e69d25021d294bccc588450b1f20e1fde
2014-06-03WaE: 'scrollerWidth' is deprecated: first deprecated in OS X 10.7Tor Lillqvist
Change-Id: I2451687c10f91e7d5242b04974cb7bdd745de51c
2014-06-03WaE: 'NSPrintSavePath' is deprecated: first deprecated in OS X 10.6Tor Lillqvist
Change-Id: I810b42da1d62c66c2ab6fb7bb6f71d1d00115dfa
2014-06-03WaE: comparison of two values with different enumeration typesTor Lillqvist
Change-Id: I611eefd20043386d00984f76a28d111e1c0495f1
2014-06-03WaE: 'setFlipped' is deprecated: first deprecated in OS X 10.6Tor Lillqvist
Not sure if using lockFocusFlipped: has the same effect, but will see... Change-Id: I957874bcf59c2c521bd5b2b2ca6f44fb0400e64f
2014-06-03WaE: case value not in enumerated type 'NSEventSubtype'Tor Lillqvist
Change-Id: Iaf5de07b7f0da7294681b9cdc152575a756a73c7
2014-06-03Initial attempt at implementing NSTextInputClient instead of NSTextInputTor Lillqvist
NSTextInput was deprecated in 10.6. Change-Id: I6bce9e91a68014a6ca28bff6a820c27817f9baaf
2014-06-03WaE: 'NSCountWindows' is deprecated: first deprecated in OS X 10.6Tor Lillqvist
Change-Id: I7163d3821ac0dfc0d471cf31e98f72953c78d878