summaryrefslogtreecommitdiff
path: root/include/tools
AgeCommit message (Collapse)Author
2015-04-21cleanup tools/color.hxxTomaž Vajngerl
Change-Id: I7d8f263f9ccb1ea4f230d7a2df4d88c408b3a5da
2015-04-20duplicate surrogate codeCaolán McNamara
Change-Id: I9fad024e4b5c8a4ca272f2387df07351198cf5dc
2015-04-16Revert "make more classes dllpublic"David Tardon
This reverts commit add2ca7b3ab10ed9d18e60d8e50020168d922836. It causes too much breakage on windows. It is better to start again from scratch.
2015-04-16fix windows buildDavid Tardon
error C2487: 'Read' : member of dll interface class may not be declared with dll interface Change-Id: Iabee3995f612116c3b6bd5c881ed617c0393addf
2015-04-16make more classes dllpublicDavid Tardon
... to fix asan+ubsan+dbgutil build Change-Id: I1400774d383879bbff9bf28251a104cd53bafaed
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-09Change tools::Time::GetSystemTicks to sal_uInt64Stephan Bergmann
...as follow-up clean-up after 71fefe1dc2bcda3a4cc18d71e1acaf161cc059f2 "Change 'blink times' to be of type sal_uInt64 and thus consistent with Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee 'Scheduler: Changed uLong to uInt32/uInt64.'" Transitively meant to change quite a number of further time-related places from sal_uLong/sal_uIntPtr to consistently use sal_uInt64. Change-Id: I38eb493943906356138bf58eb098d2f54a3dee34 Reviewed-on: https://gerrit.libreoffice.org/15214 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
2015-04-07Remove dead INetProtocol::OutStephan Bergmann
Change-Id: I8333e8b58e85d7ba148adce32f87ea105776b4c9
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
2015-04-02Kill INetProtocol::NewsTor Lillqvist
Change-Id: I393edc816aaf189b1001e630c76f67dd53fd5be3
2015-04-02Kill INetProtocol::Imap and Pop3Tor Lillqvist
I doubt very much these actually get used. Couldn't find in any of the sample bug docs collected from bugzillas, for instance. Change-Id: I47a586fabb1efdf8315ed5f7bd09cbaea4c860b5
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02Plug the hole in INetProtocolStephan Bergmann
...left by d9cf110dae8030c93c4cc7909b30c779b523359f "Bye bye ODMA." Change-Id: I7537a134299d3b2e9c172dabea1bc1d25b7e05d2
2015-04-02Remove obsolete INET_PROT_PRIVATE aliasStephan Bergmann
Change-Id: I6c82dad9d69e19d5596f23eacfbd20768f9f6442
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
2015-04-01loplugin:staticfunctionNoel Grandin
Change-Id: I89f5984d73e7d42269189dc1d1bc2d59e5ab193f
2015-03-29Remove redundant C-style castStephan Bergmann
Change-Id: I1785b47bf24f6be55f7ee346c9972ffa12cd138b
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Ife048a705e899870a8b1d9987b109d5c0cd80599
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27work around Windows and OSX macro collisions with enum valuesNoel Grandin
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
2015-03-27convert SymbolAlign to enum classNoel Grandin
Change-Id: Iecc1400809212f56915cad56b739378cda49b90f
2015-03-27convert BUTTON_ constants to enum classNoel Grandin
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-27convert ProminentEntry to enum classNoel Grandin
Change-Id: I51578e83a6a44beece174792c9e3e59f7f8c5fef
2015-03-23Turn WB_* macros into WinBits const variablesStephan Bergmann
...to avoid problems with postwin.h #undef'ing WB_LEFT/RIGHT. Ultimately, WinBits should likely be turned into an enum. Change-Id: I48e9151ec1fd3b94fc23c8859cd65e3b7f80abf5
2015-03-23Rectangle::toString(): output position, then sizeMiklos Vajna
This order seems to be less confusing. Change-Id: I95a7e3e2f6244915c820bb86e67745a777714e2d
2015-03-19loplugin:constantfunction: toolsNoel Grandin
Change-Id: I3a29d90c60157dceb1da2225f4517ef3d193815e
2015-03-13Do not use arbitrary strings as format stringsStephan Bergmann
Change-Id: I4fb4e7e6a5779801e135864781204a54250ce092
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-02convert RC_ constants to enum classNoel Grandin
Change-Id: I5efe1b182d1e269e82c2f211ccf1873fd4ac0622
2015-03-02convert INETMSG_MIME_VERSION constants to enum classNoel Grandin
Change-Id: Iaa2518f7f491f4e0e316dcb8695cf1275ffe8149
2015-03-02convert INETMSG_RFC822_ constants to enum classNoel Grandin
Change-Id: Ib7b52fa3d0d3a675c662893d603f5e66172a2581
2015-02-23Add Rectangle::toString()Miklos Vajna
There were already 5 versions of this in sw, 4 for SwRect, one for Rectangle. Change-Id: Icf8c78f9973d940a4d180b6f52dda9ea1be86c14
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-18Better way to avoid ambiguities among ResId ctorsStephan Bergmann
Change-Id: I43c4c1c5ad193cdd3182cea649fae6091984a121
2015-02-14related tdf#89004 move to std:set instead of std::vectorUrsache Vladimir
Conflicts: sc/source/core/data/document10.cxx sw/source/core/doc/docfmt.cxx Change-Id: I1312f476607ea3a78b162a7e59323b0a142f6629
2015-02-11Remove ever-unused INETMSG_ENCODING_8BITStephan Bergmann
Change-Id: I261f53388fc281eedb92fb3fe3649f17391a5284
2015-02-11Remove redundant overloadsStephan Bergmann
...now that INetMessage got folded into INetMIMEMessage Change-Id: Id824c6b53ff30ecb2912ec4ad0f9e6c73db1e424
2015-02-11Fold INetMessageIOStream into INetMIMEMessageStreamStephan Bergmann
Change-Id: I5aa24881d6a4625f1d2249fda8788bb03ef02e27
2015-02-11Fold INetOStream into INetMessageOStreamStephan Bergmann
Change-Id: I062fa91cc05edae3c2879583cbbf8e8c8acfe482
2015-02-11Fold INetIStream into INetMessageIStreamStephan Bergmann
Change-Id: I882a8bc2048149307383491cc77c4e10f5e99a52
2015-02-11GenerateHeader(false) -> SetHeaderGenerated()Stephan Bergmann
Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
2015-02-11Remove unused INetMIMEMessage streaming operatorsStephan Bergmann
Change-Id: Ifbbfb1213d78a87fffd7a40e10deaf29dd7a96b8
2015-02-11Fold INetRFC822Message into INetMIMEMessageStephan Bergmann
Change-Id: I9b02b8f758c3f0613a7b017d8822fc16ebfc9dec
2015-02-11Fold INetMessage into INetRFC822MessageStephan Bergmann
Change-Id: I89ba13c02954364044b215ba7df7c563720b92f9
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I4e264af4bb8d5fcd53666922fc4ef24a863ac8f3
2015-02-05fdo#39440: replace C-style cast'sJuan Picca
* Add get() method to tools::SvRef Change-Id: I3825852176c9c37f3ee21f4fd57328b1c7451951 Reviewed-on: https://gerrit.libreoffice.org/14268 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-03Fix TYPEINFO_VISIBILITY vs. TYPEINFO_VISIBILITY_OVERRIDEStephan Bergmann
Change-Id: Ia6494c611e6596fa4811c2751bb96294a3950f17
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d