Age | Commit message (Collapse) | Author |
|
Change-Id: Id884946cae0687d0b71c967e236e58df17567884
Reviewed-on: https://gerrit.libreoffice.org/16707
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
|
|
Change-Id: I4b3abbd390e7b6cb449ccd7f0fb956266fd0b5c8
|
|
Replace all calls looking like
ADialog(some params).Execute()
by
ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute()
Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639
Reviewed-on: https://gerrit.libreoffice.org/15915
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
Change-Id: I2712a0901049885502cade31f9757f712048bb33
|
|
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
|
|
Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c
|
|
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
|
|
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
|
|
Turn the Link class into a template abstracting over the link's argument and
return types, but provide default template arguments that keep the generic,
unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the
Link class can be updated over time.
All the related macros are duplicated with ..._TYPED counterparts, that
additionally take the RetType (except for LINK_TYPED, which manages to infer the
relevant types from the supplied Member).
(It would have been attractive to change the "untyped" LinkStubs from taking a
void* to a properly typed ArgType parameter, too, but that would cause
-fsanitize=function to flag uses of "untyped" Link::Call.)
Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
|
|
Change-Id: Idf648740f58c120fa08c9a278a511c6be205ce79
|
|
Change-Id: I9870b4ae7c8c11af34be1edb1ebcbab5e708f42e
|
|
Change-Id: I5d904726bdfec1f2bfa5798e9fd82a5ac61f461a
|
|
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx>
(and don't make use of it themselves), but many other files happen to depend on
it. Cleaned up some, but something like
grep -FwL sal/log.hxx $(git grep -Elw \
'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx)
shows lots more files that potentially need fixing before the include can be
removed from rtl/string.hxx and rtl/ustring.hxx.
Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
|
|
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
|
|
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
|
|
Change-Id: I0e12e63846f7d06b4c2a4c00614c65b46aa64238
|
|
Change-Id: Ifd2e057ec440a072a342b307175d34cc6885b2e3
|
|
Change-Id: I3ab73401b29be79ae5457c9f8905ad35e6f0c5fa
|
|
introduced in commit d22519f62bcd1325f1e7cc920a115b68fccd1922
"V801: Decreased performance"
Change-Id: Ie8e1e00db91b0d1874abc6a3e6399ff30484f993
|
|
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
|
|
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
|
|
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
|
|
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
|
|
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
|
|
Change-Id: Ibf4a2ed99024568b2d370b22919e3a25c43c6fbf
|
|
Change-Id: I4a7e8751a5a6a93bd0cb8208a06a7c4fd30ef1b4
|
|
Change-Id: I00a5bc6256d9cbfc69ea6a71f2f2cd21e75cc594
|
|
Change-Id: I4f117b3339753af254768724c38167f3595fbe69
|
|
This addresses some cppcheck warnings.
Change-Id: I026999d6e995185c42df6770a1a700094540d08a
Reviewed-on: https://gerrit.libreoffice.org/13454
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I2476f409604d69e8e8ea1a132cd0a9169b5d435e
|
|
Change-Id: I223026ce7676a3f8fcda7eb33326cd4ee949c6f0
|
|
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
|
|
Added clear() method to OString and OUString class, Updated appropriate call-sites.
Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498,
not all places that use e.g. OStringToOUString to convert potential UTF-8
are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and
some places like e.g. in codemaker are happy with the best-effort effect
of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
|
|
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
|
|
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6
Reviewed-on: https://gerrit.libreoffice.org/12160
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Put the VCL Region class in the vcl namespace. Avoids clash with the X11
Region typedef.
Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
|
|
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.
Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
|
|
Put the VCL Font class in the vcl namespace. Avoids clash with the X11
Font typedef.
Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
|
|
Change-Id: I026056e093661d3beb7f7a231d6cf0e8c72e5b50
|
|
Change-Id: I94fed6a9361f21457b3e631efffc0db833068aef
Reviewed-on: https://gerrit.libreoffice.org/11256
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
|
|
Change-Id: I33c9c867f058d69739d1389c76f76f89f1150b93
|
|
forgotten in c584f344b7f810c297da616befdc354b86fbf8b8
Change-Id: I2847b1853602c3a0ac1f9e55b496a34a408c790c
|
|
to replace hand-rolled version
Change-Id: I4cd74b3e95a61c32d3aa52646d654ce306791fae
|
|
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
|
|
Change-Id: Ifa1dafe838e0e9c5bfa4525eaa744d4851551fc8
|
|
Change-Id: Ieae5303e55f21044ef8e91e63c4896696cfad51c
|
|
Change-Id: Ib8bbba8d6e3364f7474643ddb60a469497437616
|