summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-02-23coverity#441533 Dereference after null checkCaolán McNamara
Change-Id: Iee024e2a16291aed98c10bfb6c33af6b17d44e4e
2014-02-23coverity#440750 Dereference after null checkCaolán McNamara
Change-Id: I155e9fabaf26df71758c4b8da92664a35956accb
2014-02-22pick a reasonable looking place for a SolarMutexGuard for setting changesCaolán McNamara
Change-Id: Ibfe88035900fb6aa638d9654b68a8b8b452c6c75
2014-02-22'SetSymbolsStyle' : is not a member of 'StyleSettings'. Remove the call.Matúš Kukan
Something similar was done in vcl/source/window/window.cxx in commit 076a7eacca48f203f0a8b9aa537e88fea9a88409 so hopefully this fix is enough. Change-Id: I11eb3c2d315a918056ffdee16c98c1430e174ed9
2014-02-22Do not try to use gb_STDLIBS explicitly. It's used by default anyway.Matúš Kukan
Change-Id: I5761d616e0b7255c2fbe17bb709cae0bdcb95910
2014-02-22C++11'ismStephan Bergmann
Change-Id: If2e3f4f7cd78d37fb4bbc35c62742f56da662765
2014-02-21c++11ismCaolán McNamara
Change-Id: I0838eafa47aaed222aca30d234300f2c05697175
2014-02-21Adapt vcl to various loplugin warnings on Mac OS XStephan Bergmann
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-21fix mac build, c++11ismsCaolán McNamara
Change-Id: I91dba6c054511554e90006aa66134b17cca206fe
2014-02-21WaE: implicit conversion of literal of type 'const char *' to 'bool'Tor Lillqvist
Change-Id: Ia0c05b93bbb5a399257d0e1ab8670aa95be01fd7
2014-02-21WaE: unused variablesTor Lillqvist
Change-Id: Ia5bdfd7db7ed2769b34e8dbd7e0ed7dbe5499d34
2014-02-21Include <stdexcept> for std::runtime_errorTor Lillqvist
Change-Id: I6ef2036f075c2992b692d9a227db257edc4a6955
2014-02-21other vclplugs need adaptingCaolán McNamara
Change-Id: I83c54b27dc58dfeac72462d8c5eb92a08b5e8e2e
2014-02-21WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist
Change-Id: Icc60d9dbbc8be68bd1ac54c93bd2506af6c01c0c
2014-02-21This uses boost_headersTor Lillqvist
Change-Id: I3e587cf07674374c18fa49e0528c0d7f8605f0df
2014-02-21I missed a nullptr c++11ishCaolán McNamara
Change-Id: I048efbb816fc4f4e91eb3a80a16f3f82b52599e0
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert
The hard-coded icon themes have been replaced by a dynamic list which is filled by scanning the config directory Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx vcl/source/window/window.cxx Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed Reviewed-on: https://gerrit.libreoffice.org/7935 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21Replace handwritten reference counting with shared_ptrTobias Lippert
This will help to avoid race conditions because the shared pointers are thread safe and use atomic increments. Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx Change-Id: Ie3d27d6412167855a0cea1442676b81b733c15e8
2014-02-21coverity#1130457 Uncaught exceptionCaolán McNamara
Change-Id: Ie65cdb00ec8823db329d2330ed142f4d841b095a
2014-02-21coverity#1130458 Uncaught exceptionCaolán McNamara
Change-Id: I2fd30daef6df18d0ef25132f9c0e445f613da10f
2014-02-21Windows vcl: sal_Bool -> bool fixupStephan Bergmann
Change-Id: I60cba53ec0a5aaedf20b6c0c295a91be226b4354
2014-02-21Silence false "control reaches end of non-void function" warningStephan Bergmann
Change-Id: I4614f445b23aa5c498b7b64a181cb5ca74f18081
2014-02-21Mac OS X vcl: sal_Bool -> bool fixupStephan Bergmann
Change-Id: I77a2e7957351ca6da44948e5a28d08116e1cd14d
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20fix compilation of iostsahi glik
2014-02-20fdo#74584: These tags should be lowercase for correct clipboard handling.Kohei Yoshida
Change-Id: I323b96cecbf7158919fad534a202f158965ca99f
2014-02-20vcl: try to make android tinderbox happy tooMichael Stahl
Change-Id: If83b12578ce1e5dcae688589e92a54b96040abdd
2014-02-20vcl: fix Mac build a little moreMichael Stahl
Change-Id: I29c73865679fbd041fdc033aa1b62495a0ec95c2
2014-02-20vcl: try to fix the Mac build a bitMichael Stahl
Change-Id: Icc4cb23594d9c866a2a73676ceb649db54efab67
2014-02-20vcl: fix windows buildMichael Stahl
Change-Id: Ic55c02f7f17b4d4b2c36e194749bb48bb8fe493d
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20implement loading GtkSeparatorToolItemsCaolán McNamara
Change-Id: I8111b154d8358fd4dd667000ccbdd16be38a6dc5
2014-02-20Combine two subsequent SAL_INFO calls into oneTor Lillqvist
Change-Id: Iec931ddb77ce09df72ee9ce321e443e6f5a785f1
2014-02-20prefer a Scoped[Read|Write}AccessMarkus Mohrhard
Change-Id: I8ddad720685f3cbcc330b9d1f61fcf833a3d2472
2014-02-20more scope reductionMarkus Mohrhard
Change-Id: I5eb438ae70330990a58bc103406a0c434e53ca3f
2014-02-20more scope reductionMarkus Mohrhard
Change-Id: Ibfe4b4b5f9033aa0f29cf761b3a674e8c3c5f3d2
2014-02-20reduce scopeMarkus Mohrhard
Change-Id: I7e296a0983a1d4e3a7501333cfd3cdf7c561383c
2014-02-20more stylistic cleanupMarkus Mohrhard
Change-Id: Ia7aea86d0bf787b851a5ecbae5b697436e1192e5
2014-02-20reduce scope for more variablesMarkus Mohrhard
Change-Id: I4b92f186bd315ced47973ea142d7e3ad8defa328
2014-02-20make these variables const, they are just loop boundariesMarkus Mohrhard
Change-Id: I66c67c424c43515043e4119ea6bfad0d7f31ccb1
2014-02-20reduce scope for more variablesMarkus Mohrhard
many more to go Change-Id: Ia941638ef31138af132b142f0e960f7959b18dda
2014-02-20reduce scope of many variablesMarkus Mohrhard
Change-Id: Id401a0414f650fb2ee14d895d261f9e38cd104b0
2014-02-20make the assignment a bit more obviousMarkus Mohrhard
We prefer readable code. Change-Id: I8212c0a40354b2fd1d6e56c1223c3b558104f505
2014-02-20remove explicit memory managementMarkus Mohrhard
Change-Id: Id9b02dcb65d21bcdef398188d739a56b11f63d21
2014-02-19Related: fdo#74242 hook up a selection and caret change for multiline editsCaolán McNamara
a) split the textengine selection changed broadcast into a text selection changed and text caret change event b) handle both in existing places that handled the text selection event c) listen for them in VclMultiLineEdit and translate to VCLEVENT_EDIT_SELECTIONCHANGED VCLEVENT_EDIT_CARETCHANGED events d) profit from the VCLEVENT_EDIT_SELECTIONCHANGED and VCLEVENT_EDIT_CARETCHANGED handling in accessibility/source/standard/vclxaccessibleedit.cxx for VCLXAccessibleEdits Change-Id: I09187e76ae4eb189ee9469e388374154087faf80
2014-02-19loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I0c444f2e81e2e0ac9d6969f674ec3da013427cee
2014-02-19coverity#738862 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ib970ef372e7754db890b5a4cd9c9b422a129ba02
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19Related: fdo#74242 send selection change before caret changeCaolán McNamara
because that's what I see gtk does Change-Id: Ifa20f4d84fd31ea6fcc640589b72efd00c9665fd
2014-02-19Fix minimal VCL menu item height with iconsJan-Marek Glogowski
Don't reset the calculated minimal menu item height to the icon height, if the minimal height is already larger then the icon height. Change-Id: Ifcd6c750352c4d3f754a693df7254a4654a8afe6