summaryrefslogtreecommitdiff
path: root/forms
AgeCommit message (Collapse)AuthorFilesLines
2014-04-18Typo: s/gurantee/guaranteeTor Lillqvist1-1/+1
Change-Id: I8bd7ca5896931fbf18bf8ae25b62ced9b420fe39
2014-04-18Intermediate commit of hacking on --disable-database-connectivityTor Lillqvist1-1/+1
Add HAVE_FEATURE_DBCONNECTIVITY to <config_features.h> instead of using (or not, more likely) -DDISABLE_DBCONNECTIVITY. The plan is still that database connectivity would be disabled always for the non-desktop platforms, and otherwise disabling it would be a configure option. But, still lots to do; the TiledLibreOffice iOS test app gets tons of undefineds when linking if I actually try to disable the database connectivity. Change-Id: If1e4b55faa1514cd55dec5fc5487a30d689739ac
2014-04-14Avoid possible memory leaks in case of exceptionsTakeshi Abe2-8/+5
Change-Id: Id71cb49d8aa241a17efd4cbe217a48f2d7c34e84
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann18-102/+166
Change-Id: I47bdc668ecf703d85f4d50c71f1347fb9e8e89d8
2014-04-14typo: occuring -> occurringThomas Arnhold1-1/+1
2014-04-14typo: obsolet -> obsoleteThomas Arnhold1-1/+1
2014-04-14typo: attribut -> attributeThomas Arnhold1-1/+1
2014-04-14typo: ULR -> URLThomas Arnhold1-1/+1
2014-04-11replace some SvStream seeking with calls to remainingSize()Michael Stahl1-2/+1
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-10It's "its", not "it's"Tor Lillqvist2-2/+2
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10DownLoad -> Download.Jan Holesovsky1-1/+1
Change-Id: Ia1729f570cc80a0375532da6478de9d58518556e
2014-04-07Remove silly PUT_SEMICOLON_AT_THE_ENDStephan Bergmann24-32/+32
...and rather live with macro calls not terminated by semicolons until those macros are gone for good anyway. Completely remove unused DECLARE_UNO3_XCOMPONENT_DEFAULTS. Change-Id: I0d4eb5a91736004b0da2b09fce860e57f6d1ddbd
2014-04-04fdo#43157 : clean up more OSL_POSTCONDMichaël Lefèvre1-1/+1
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-04/include/connectivity/dbtools.hxx: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: Ie1e1952e3d39d53756583482826dfc3b65b5f9e0
2014-04-04coverity#707864 Uninitialized scalar fieldCaolán McNamara1-2/+8
Change-Id: Ieb42d64ead25d9e06175a7664d8659e0907d28f1
2014-04-04coverity#707862 Uninitialized scalar fieldCaolán McNamara1-10/+4
Change-Id: I0d94414f4645d3f5da6242bbfefcee449572d2c0
2014-04-03Typo: corect->correctJulien Nabet1-1/+1
Change-Id: I31267af8aae35d647b8c4b0a0c5f926ad4779919
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin4-23/+23
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03fdo#43157 : clean up OSL_POSTCONDMichaël Lefèvre1-1/+1
Conflicts: include/sal/log-areas.dox Change-Id: I770b8b9fb82f873ccb88dc26ac05206f703ddf33 Reviewed-on: https://gerrit.libreoffice.org/8805 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-03vcl: sal_Bool->bool and cleanupNoel Grandin1-1/+1
- remove unused PFilterDlgCall typedef - remove bool parameter from PFilterCall typedef - it was always being called with false, and nothing was reading it Change-Id: Ic56127e7d55254a7b9b65849a21cb286f52344d1
2014-04-01Forgotten TODOStephan Bergmann1-1/+1
Change-Id: I4fb1c155c533445856639498e73c728933bb3dd7
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann18-22/+22
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01connectivity: sal_Bool->bool and fix method nameNoel Grandin2-3/+3
Convert method name getBoleanComparisonPredicate to getBooleanComparisonPredicate Change-Id: I00c726b1fecd8352dc49f2af98c3ae3c799ef424
2014-03-29typo: unfortunally -> unfortunatelyThomas Arnhold2-2/+2
2014-03-29tools: support 64-bit file positions in SvStreamMichael Stahl1-2/+2
Bump stream positions to 64 bits on: SvLockBytes::SetSize() SvStream::SeekPos() SvStream::SetSize() SvStream::SetStreamSize() SvStream::Seek() SvStream::SeekRel() SvStream::Tell() SvStream::remainingSize() SvStream::nActPos SvStream::nBufFilePos Change-Id: I0521fd60d31d1a33e5634cbf51dd42edc46ad919 TODO: adapt callers of Seek()/SeekRel()/Tell()/remainingSize()
2014-03-29tools: allow 64-bit positions on SvLockBytesMichael Stahl1-8/+6
Bump stream positions to 64 bits on: SvLockBytes::ReadAt() SvLockBytes::WriteAt() SvAsyncLockBytes::m_nSize SvOpenLockBytes::Seek() SvOpenLockBytes::Tell() SvOutputStreamOpenLockBytes::m_nPosition OInputStreamHelper::m_nActPos Change-Id: Ica3b674e0ab23a756260a51475e97a5396ecdddb
2014-03-28Remove remaining DBG_CTOR etc. remnants from formsStephan Bergmann1-5/+0
Change-Id: I1616d7e77071caa78ffd8c7d7857f50f3afa1bb7
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann81-1235/+1235
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-24svtools: sal_Bool->boolNoel Grandin1-2/+2
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin2-2/+2
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-13forward*PropertyValue functions need not be SAL_CALLStephan Bergmann2-4/+4
...and _bSuccess parameter is unused Change-Id: Iee5e1d5c2d4272f342b2867bfe76f8c87dcd69d4
2014-03-11coverity#704232 Logically dead codeCaolán McNamara1-7/+0
these conditions are already handled in the switch above Change-Id: I1a2bfe4cc536f2d1292fd39b86afc53ac5463308
2014-03-10forms: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann12-70/+7
...and remove thus unused unotools/idhelper.hxx Change-Id: I63affbcb0494ef91bc010b9dd5512d4cc718d7a2
2014-03-05simplifyStephan Bergmann1-1/+1
Change-Id: Icd2dff124ca331935412e2653c57943b92deeea4
2014-02-26Remove visual noise from formsAlexander Wilms161-1284/+1283
Conflicts: forms/source/component/DatabaseForm.cxx Change-Id: I4005fe65e89794bd92191c37221c252a3e964917 Reviewed-on: https://gerrit.libreoffice.org/8262 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann118-1533/+1533
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25Typo: apropriate -> appropriateJulien Nabet1-1/+1
Change-Id: I05e23039dc3ae0b6595c87fe550f4228ad93d5d6
2014-02-24implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann1-1/+1
...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f "sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it" earlier when converting occurrences of sal_Bool to bool. Restricting this check to function call arguments avoids too much noise while hopefully still catching all the relevant problems. (This check partially overlaps the pointertobool check, so implicit conversions from pointers to bool call arguments will now generate two loplugin warnings, but that's harmless.) Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann6-38/+38
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24toolkit: sal_Bool -> boolStephan Bergmann3-6/+6
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24Remove unnecessary bool2anyStephan Bergmann4-6/+5
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24Remove unnecessary extractInterfaceStephan Bergmann3-8/+11
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-23coverity#704644 Dereference after null checkCaolán McNamara1-4/+8
Change-Id: I9b2aad39c54497b5b53a86cf11a754f89c012d0e
2014-02-23Remove unneccessary commentsAlexander Wilms72-2491/+1797
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23coverity#441137 Dereference after null checkCaolán McNamara1-0/+3
Change-Id: I877abe904885f28560cf43ee70001ac97fadbe04
2014-02-21coverity#738652 Uninitialized scalar fieldCaolán McNamara1-5/+8
Change-Id: Ie191910d49ee9f622bc407a768e79671698d2ac3
2014-02-21coverity#738654 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I92909b606e06f3d86fc3b66aef1ac52e5d706967
2014-02-21coverity#738656 Uninitialized scalar fieldCaolán McNamara1-8/+9
Change-Id: I49e3f47e318ae342738dd1de90673e2aee2bb62b
2014-02-21vcl: sal_Bool -> boolStephan Bergmann2-4/+4
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21editeng: sal_Bool->boolNoel Grandin2-2/+2
Change-Id: Ia9b76985ea0b9c511208b8283c8487c89aa67b88