summaryrefslogtreecommitdiff
path: root/forms
AgeCommit message (Collapse)AuthorFilesLines
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
2014-02-21editeng: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I36cb765d87ddef1fba3447a3ea90e5285cbcd678
2014-02-21Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe5-21/+14
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert7-0/+7
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-20svl: sal_Bool -> boolStephan Bergmann1-1/+1
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-18Drop unnecessary #includeTakeshi Abe6-8/+0
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-17comphelper: sal_Bool -> boolStephan Bergmann10-20/+20
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17ucbhelper: sal_Bool -> boolStephan Bergmann1-1/+1
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-02-13coverity#737157 Uncaught exceptionCaolán McNamara2-2/+6
Change-Id: I062dbdf7c29489111f7ba6dc37a191d835fa7824
2014-02-13coverity#737151 Uncaught exceptionCaolán McNamara2-2/+6
Change-Id: I133012cf88020e38eb0fc0932979347b996943fe
2014-02-13coverity#737149 Uncaught exceptionCaolán McNamara2-2/+6
Change-Id: I34b31a3574e5a21a506c49b4f69f3b8c8fbdcdbd
2014-02-12cid#705175 missing break in switchNoel Grandin1-0/+1
Change-Id: I4565f3eab411a706eddc665b5b35f3b940b4a52c
2014-02-12cid#705174 missing break in switchNoel Grandin1-0/+1
Change-Id: Id3563f949a210ea4af59a96bbbbbb615368b06c2
2014-02-06typo fixes in commentsAndras Timar3-6/+6
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-05fdo#69652 Default(Date|Time) is a UNO struct nowLionel Elie Mamane1-5/+41
Changed to UNO struct from integer by fdo#67235 adapt form control code to time nanosecond API change Change-Id: I5817d44438d70a0da534c03afd22d74a311252f5
2014-02-03fdo#54938 Convert to cppu::supportsServiceAlexandre Vicenzi1-20/+4
Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10 Reviewed-on: https://gerrit.libreoffice.org/7649 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-30"stati" considered both pretentious and incorrect LatinMichael Stahl1-1/+1
As one knows, the Latin plural of the noun status is statūs. Change-Id: I6b19c57aa2aedcc1337736becc93d8802fe03f2e
2014-01-30fdo#63154 Removed unused solar.h ref. in basic, cui, forms and writerfilter.Alexandre Vicenzi1-16/+0
Change-Id: I09cca73d8d77af259965e74e1b29a88aa5c315ab Reviewed-on: https://gerrit.libreoffice.org/7731 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan1-3/+3
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-28bool improvementsStephan Bergmann10-17/+17
Change-Id: I78099f87510355a43ba9b01ca9d545d44ce11a50
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan1-3/+3
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650