summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2017-12-13sal_uIntPtr->void* in GalleryHintNoel Grandin
Change-Id: I50528411bb76d5a204a5e52c4d77a7ecaf7f5ddf Reviewed-on: https://gerrit.libreoffice.org/46390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13Make loplugin:salcall look into macros tooStephan Bergmann
"Indirect" calls to isSallCallFunction (for canonic and overridden FunctionDecls) already needed to handle many cases of FunctionDecls spanning macros, so it isn't that much more work to make that also work for cases called directly from VisitFunctionDecl. Change-Id: I529f148c8872b86aa1ef082c6cb73db8ab1866e7 Reviewed-on: https://gerrit.libreoffice.org/46367 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-13sal_uLong->void* for userdata in MenuNoel Grandin
Change-Id: I58fb10136a23c445edfd63a1f86ace3995524704 Reviewed-on: https://gerrit.libreoffice.org/46350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13[API CHANGE] Remove SAL_CALL_ELLIPSEStephan Bergmann
At least internally it was unused at least ever since 9399c662f36c385b0c705eb34e636a9aec450282 "initial import", it is unlikely that it ever was used for anything useful, and it is highly unlikely that it is used by 3rd-party code. Change-Id: I8b1e7e18e041164580acbb0bdba205ec1dca71d2 Reviewed-on: https://gerrit.libreoffice.org/46364 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-13convert tolerance params to sal_uInt8Noel Grandin
since their range is 0-255 Also drop pTols from ImplColReplaceParam, since it is always nullptr. Change-Id: I9e9ab7f7596e18cab1d67dd69922e5ac9867f45b Reviewed-on: https://gerrit.libreoffice.org/46274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->size_t in ZCodecNoel Grandin
to match the underlying fields Change-Id: I79ce52b80e2589b3194616b3d43846cdefd7adae Reviewed-on: https://gerrit.libreoffice.org/46349 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->char* in LinkNoel Grandin
Change-Id: I02bad98458ae0c41b4bbc1b4ec79f3f935d4beaa Reviewed-on: https://gerrit.libreoffice.org/46348 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->sal_Int32 in GalleryProgressNoel Grandin
to match the underlying type on mxProgressBar->setValue Change-Id: Ib04569235830f16b6507180e0f27816f8cfc50ff Reviewed-on: https://gerrit.libreoffice.org/46347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13use std::unique_ptr in SdrModelNoel Grandin
Change-Id: I1475a12b600fdb693bad71d27dc628992b92588a Reviewed-on: https://gerrit.libreoffice.org/46346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->sal_uInt32 in SdrModelNoel Grandin
to match the underlying field Change-Id: I4145df0fc308c09eca29f779a0ff241e4301db0b Reviewed-on: https://gerrit.libreoffice.org/46345 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13dead flags param in CreateAutoContourNoel Grandin
was being used recursively Change-Id: I2ab920ee62c663f6cdc93ae2ef7eafd142fa0c94 Reviewed-on: https://gerrit.libreoffice.org/46344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13SDRVIEWWIN_NOTFOUND is deadNoel Grandin
ever since commit 90b152881e398ef1493130c3fb08bf646fbb807d Date: Sun Jan 16 19:11:44 2011 +0100 Remove some dead code in 'view' Change-Id: Ic760605462960f6a5d2dd9280152081311c765cb Reviewed-on: https://gerrit.libreoffice.org/46343 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13SDR_ANYITEM is deadNoel Grandin
ever since initial import in commit a4288059c2511f3a6cf3897ed6191dc3e6a1da63 Date: Wed Apr 11 15:27:24 2007 +0000 INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED Change-Id: I1e51f58b0e6062a6a3179ce7fad3170c19758f50 Reviewed-on: https://gerrit.libreoffice.org/46342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13SDR_ANYFORMAT is unusedNoel Grandin
since commit 595f46344e18fd6275ff7b862269e4c131449591 Date: Mon Feb 29 13:37:14 2016 +0200 loplugin:unuseddefaultparam in svx (part1) Change-Id: I1c951df4fb75418036ca9c42a3c63daec879f3b4 Reviewed-on: https://gerrit.libreoffice.org/46341 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->sal_Int32 in SdrMarkViewNoel Grandin
Change-Id: Iec5c9e45ec753de98142615fdde16f61c393a6e2 Reviewed-on: https://gerrit.libreoffice.org/46311 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->sal_Int32 in SdrModelNoel Grandin
Change-Id: I7cf53514641c52f3ebb503251e25df90bd6db8c7 Reviewed-on: https://gerrit.libreoffice.org/46310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-13sal_uIntPtr->sal_Int32 in SdrDragStatNoel Grandin
also fix the X& X() methods to be normal void SetX(X const &) methods Change-Id: Id2999b09535ce560110eda646d3d5bbbedf87326 Reviewed-on: https://gerrit.libreoffice.org/46309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-12Remove obsolete "explicit operator bool" hackStephan Bergmann
...and fix the call sites that exploited the hack's internals being non- transparent. Change-Id: Ib3b06c3945e303d4088c4e1b65be5beed8613bac Reviewed-on: https://gerrit.libreoffice.org/46325 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-12use a mutex per instance for SvNumberFormatterNoel Grandin
instead of one mutex for all instances. We still keep the global mutex for some operations because there are some shared global data structures. Change-Id: Ic1106baa23d4ade18dbd732ad74979f3996f326b Reviewed-on: https://gerrit.libreoffice.org/46304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-12-12tdf#113959 Use svxlo-FrameDirectionListBox instead of ListBoxGabor Kelemen
Final part. Here frmaddpage.ui is migrated, but to reuse the 2 other strings we need to shake up their original place in page.cxx Now all the stings are moved to svx and occur only once in the code base. Change-Id: I8b3942f96d43bf8d6f054c8410c3781bcefc3ccc Reviewed-on: https://gerrit.libreoffice.org/46189 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-12-12Fix binary incompatible change in the LOK API + add unit test.Jan Holesovsky
Change-Id: I53cb40ea351bf56b1a299857a59ae4bf7c6b6dc3 Reviewed-on: https://gerrit.libreoffice.org/46272 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-12-12sal_uIntPtr->sal_uInt32 in AbstractGalleryIdDialogNoel Grandin
to match the underlying call to SetId in GalleryTheme Change-Id: If862c1f7c2d7c05484347ef46a9d504e95686ec7 Reviewed-on: https://gerrit.libreoffice.org/46273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-12Move generateGUIDString to comphelperSamuel Mehrbrodt
and remove duplicate method Change-Id: Ic513a780f3b9b526c3abd0f273ad9c230ffbb373 Reviewed-on: https://gerrit.libreoffice.org/46233 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-12-12sal_uIntPtr->sal_uInt64 in Get/SetUpdateTimeoutNoel Grandin
to match the call on the underlying Timer Change-Id: Ia9044afa18decde69330962f74f7be477e9962fc Reviewed-on: https://gerrit.libreoffice.org/46226 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-12sal_IntPtr->sal_uInt32 in INetMIMEMessageStreamNoel Grandin
Change-Id: I5c57b0bf28a395a0617d1c16ccaeff759915974e Reviewed-on: https://gerrit.libreoffice.org/46225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-12sal_uIntPtr->sal_uInt32 in m_nMIMEIndexNoel Grandin
Change-Id: I1373f11f07679569ef338178e56ffd269baf3c30 Reviewed-on: https://gerrit.libreoffice.org/46224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-12mnDataUpdateId can be sal_uInt32Noel Grandin
Change-Id: Ied469752391afeca365838f83b35e75143b7cf65 Reviewed-on: https://gerrit.libreoffice.org/46223 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-12tdf#45904 Move _XConsolidationDescriptor Java tests to C++Jens Carl
Change-Id: Ib3e3722c1a4799ebb0cbb78f458abd6b967d6ba1 Reviewed-on: https://gerrit.libreoffice.org/46263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-12-11o3tl: 32-bit clang 4.0.1 fails with undefined reference to `__mulodi4'Michael Stahl
... so prevent it from using __builtin_mul_overflow(). Change-Id: Id716f88abb0385701b6df42353b663479abfd496
2017-12-11Remove unnecessary forward declarationStephan Bergmann
...introduced with 7330776504ca2e62790f3e3e6d8f575fbad2ec54 "Build fix: forward- decl rtl::OUString" in parallel with df802d0c1b0d255bc88eac279cb8a72d7570ec3a "Build fix". The latter (introducing an #include) is necessary to also include the necessary using declaration. Change-Id: If5617505d909b97d866f0434df7305f34eef8b0e Reviewed-on: https://gerrit.libreoffice.org/46213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-11ofz#4591 Integer-overflowCaolán McNamara
Change-Id: I97d527272f198a46485b98a8f26acd8daa42cab7 Reviewed-on: https://gerrit.libreoffice.org/46217 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-11convert SFXFRAME_HASTITLE to bool fieldNoel Grandin
this is the only flag we are setting in the "type" field, so simplify Change-Id: I6079750b915f55486bf815a27d48f673af59bdb0 Reviewed-on: https://gerrit.libreoffice.org/46214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-11loplugin:salcall fix functionsNoel Grandin
since cdecl is the default calling convention on Windows for such functions, the annotation is redundant. Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d Reviewed-on: https://gerrit.libreoffice.org/46164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-11loplugin:salcall (clang-cl)Stephan Bergmann
Change-Id: I31018af8d992c9496f01a72925e24d9b362e340d Reviewed-on: https://gerrit.libreoffice.org/46204 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-10tdf#62525 tools: use cow_wrapper class for PolygonAndreas Brandner
Change-Id: I78f141762f593b36d32eb3eb2cda8fdae54b7277 Reviewed-on: https://gerrit.libreoffice.org/42309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-10Bin two comments that say the same as the names of the functions they are forTor Lillqvist
Change-Id: I385e0ae6502eeab9e5cb536c34c64b7fa48442d0 Reviewed-on: https://gerrit.libreoffice.org/46138 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-12-09svtools: Simplify ImageMap with std::unique_ptrTakeshi Abe
Change-Id: I49b3c21ff4d8177fb75197d6641040be0ace6324 Reviewed-on: https://gerrit.libreoffice.org/46149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-09tdf#114088 Translate default template namesGabor Kelemen
Change-Id: I173364d723e0afd7275b469aea1f2e8cb105fdab Reviewed-on: https://gerrit.libreoffice.org/45450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2017-12-09tdf#113959 Use svxlo-FrameDirectionListBox instead of ListBoxGabor Kelemen
To reduce the number of translatable stings Change-Id: I1aeea6767d3389dd24a5bf8b074817ef601502a7 Reviewed-on: https://gerrit.libreoffice.org/45823 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-12-09Fix typosAndrea Gelmini
Change-Id: I21d0277a010e589b1e3aa91be55cb515fa3bdc4d Reviewed-on: https://gerrit.libreoffice.org/46129 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-08SvNumberFormatter::GetType() constEike Rathke
Change-Id: Id5392ec8996d157ac1be21cb24f0ab7fff18df27
2017-12-08Build fix: forward-decl rtl::OUStringEike Rathke
Change-Id: Ib871438c9e52c533106a6a0270de54b359a11741
2017-12-08Build fixSzymon Kłos
Change-Id: I33db5c70b579aa65c9659e9ddddad77a5ec12ecc Reviewed-on: https://gerrit.libreoffice.org/46127 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2017-12-09lokdialog: Move lok cursor invalidation callbacks to vcl::CursorPranav Kant
Change-Id: I5cbb845259b6802fb2a0776f8d8f19f9680115ad
2017-12-08tdf#45904 Move _XDatabaseRanges Java tests to C++Jens Carl
Change-Id: Iee6753fd60fefc1ecd17ba8fe0acef58f17d64e6 Reviewed-on: https://gerrit.libreoffice.org/46076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-12-08tdf#114308 Export Watermark size as isSzymon Kłos
* refactoring * removed size hack * export/import "trim" attribute * DOC: export set of parameters to fit shape & frame Change-Id: Ib00654626ae1e10ac5110d22eada7528e03357e7 Reviewed-on: https://gerrit.libreoffice.org/46036 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-12-08svx: fix loplugin:staticmethods warningsMiklos Vajna
Change-Id: I1b9a0a01f88e8faf6a8973848598b77dee10a14d
2017-12-08GetMarkableObjCount() is only compared against 1Matteo Casalin
Change-Id: I390b260fe481c7db73a065dd271c78a5df188ccc
2017-12-08Remove unneeded data memberMatteo Casalin
Change-Id: I9d007f67e5f6024b1eaea10669a915ffd33d7c29
2017-12-08Data members to enumsMatteo Casalin
After 1d852b32d7ad89b2317c04958060f366f8922ca4 these data members were initialized only in constructor and never changed afterwards, behaving de-facto as constants. Convert them to an enum and take the chance to change their type from sal_uIntPtr to size_t. Change-Id: Ief33b7d3cfd3e181837f77c5b8a51812e314121d