Commit Graph

378159 Commits

Author SHA1 Message Date
Takeshi Abe
b03f6f45f4 tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants in embeddedobj.

Change-Id: I60aad1267b664825f781c085fb33612bce3f7221
Reviewed-on: https://gerrit.libreoffice.org/17474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03 06:50:37 +00:00
Daniel Robertson
7339c360ef tdf92459 replace select1st/2nd in dbaccess
Replace all uses of deprecated features in the o3tl with lambda
expressions in dbaccess.

Change-Id: I865bb5db5257e985a0eed0110874d6b29892fcfb
Reviewed-on: https://gerrit.libreoffice.org/17483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03 06:48:14 +00:00
Noel Grandin
2660d24a07 new loplugin: refcounting
This was a feature requested by mmeeks, as a result of
tdf#92611.

It validates that things that extend XInterface are not
directly heap/stack-allocated, but have their lifecycle managed
via css::uno::Reference or rtl::Reference.

Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692
Reviewed-on: https://gerrit.libreoffice.org/16924
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03 06:37:16 +00:00
Noel Grandin
baba1d1476 tdf#93068 - UI: Crash when Character dialogue opened
Change-Id: I92a9e6f27ef649c9d7501df55287c95c4d796156
2015-08-03 08:19:16 +02:00
Tomaž Vajngerl
d97cc94a02 Apply MVP matrix when drawing texture using OpenGLProgram
Change-Id: I1dc34eee645b77537517e147b86599cfe74f09a9
2015-08-03 10:13:38 +09:00
Tomaž Vajngerl
f73e1f5024 opengl: support reading 8bit texture (fixes icon corruption)
Change-Id: Iba3fd58374a550f3411b02f029f12f4509fb6048
2015-08-03 09:23:31 +09:00
Tomaž Vajngerl
f82d578309 enable "Table Design" for sidebar in Draw too..
Change-Id: I66da1e93a65fc592c0827774da2388f9a82531e4
2015-08-03 09:23:31 +09:00
Tomaž Vajngerl
6d9ddfb9c7 opengl: when scaling, create a new texture with equal settings
Change-Id: Id0258fe0db89aa06b91233ae2052f018d606cc74
2015-08-03 09:23:31 +09:00
Tomaž Vajngerl
21f1286232 ImplImageBmp::Draw - nPos parameter is always 0
Change-Id: Icbf228809e17e4114049e563468dececba04edde
2015-08-03 09:23:31 +09:00
Tomaž Vajngerl
8a323729e5 Change "Design" sidebar deck icon
Change-Id: Ibb4a308cfae3598e4d4e9759806c48f6a581bc83
2015-08-03 09:23:31 +09:00
Michel Renon
71ace48844 QtCreator integration : git must ignore .pro and .pro.user files.
Change-Id: Ifd21679fb7dd2b5c0c3bfe7726bf2c4d19897e21
Reviewed-on: https://gerrit.libreoffice.org/17467
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-08-02 13:15:44 +00:00
Michel Renon
228a93bb3a QtCreator integration : generate lo.pro.user project file.
That project file handles 12 global build options :
6 about tests, 3 about clean, 2 about l10n, 1 default.
There is one run command to launch 'soffice'.
Note that QtCreator will add automatically run commands for each subproject.

Change-Id: I3650a9041654cbec7d51d8cbb7951a11ed49aad5
Reviewed-on: https://gerrit.libreoffice.org/17458
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-08-02 13:15:09 +00:00
Julien Nabet
46d7003c3b Typo: XItentifierReplaces->XIdentifierReplace
Change-Id: If4554d513d67bf1813be3fb2278db85d6cf829e8
2015-08-02 12:00:52 +02:00
Khaled Hosny
8e43f5d322 Move fix for tdf#89231 to a better place
The Unicode to glyph id callback function is the natural and simpler
place for that kind of check.

Change-Id: I0e9fa131dcffa5063277f029e391eede7417c72b
2015-08-01 21:47:36 +02:00
Caolán McNamara
b5423da269 valgrind: memleak
Change-Id: Ie2a42162d3092a8213b8532d9325f4ed199ec2a4
2015-08-01 20:37:14 +01:00
Matteo Casalin
44cd9ef88b sal_uInt16 to sal_Int32, constify, minor optimizations
Change-Id: Icc41bbe09e495454ca27e9281eca6f4731a135c8
2015-08-01 19:33:22 +02:00
Matteo Casalin
9b49846fad Simplify
Change-Id: Ia0de7ff756d9578b6c036d713ef1394f8a1461d6
2015-08-01 19:33:22 +02:00
Matteo Casalin
7669cbf594 sal_uInt16 to sal_Int32
Change-Id: Ic2af80d2335875672fee5b61083b1f7f9703dac7
2015-08-01 19:33:21 +02:00
Matteo Casalin
297b109e22 sal_uInt16 to sal_Int32, constify and simplify
Change-Id: If97d75dbfb683191f4a30d796ca132cedec6c92e
2015-08-01 19:33:21 +02:00
Matteo Casalin
288f49440f sal_uInt16 to sal_uInt32
Change-Id: Ib95d8812b0ce288b9691a398fe0396e73ea9af97
2015-08-01 19:33:20 +02:00
Matteo Casalin
2a57ea7a67 sal_uInt16 to sal_Int32
Change-Id: I723d7c187ec186ccc68f061ba2357712a5f31869
2015-08-01 19:33:20 +02:00
Matteo Casalin
69a4c6626c sal_uInt16 to sal_Int32
Change-Id: I19785cc516daf03aee8783a23399929785d30c5f
2015-08-01 19:33:20 +02:00
David Ostrovsky
7c7124a51e Any.h: Fix declaration hides class member warning
This fixes warning C4458 issued by MSVC 14.0 (aka VS2015) compiler.

Change-Id: I48ed50bb54232d70460495d6d6a9e100fb90b869
Reviewed-on: https://gerrit.libreoffice.org/17444
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-08-01 07:51:11 +00:00
David Ostrovsky
935fb7cc07 std::function::operator bool returns true if it contains a valid target
Change-Id: I8e65c0243094468dca06a1b30b5244bef931f8ac
2015-08-01 08:53:09 +02:00
Daniel Robertson
5916d5866c tdf#92459 replace deprecated o3tl features
Replace all uses of deprecated features from o3tl/compat_functional.hxx
with lambda expressions.

Change-Id: I6370c80dbe675da517904e535e19bf63830c3e2c
Reviewed-on: https://gerrit.libreoffice.org/17450
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-08-01 06:25:49 +00:00
David Ostrovsky
b593044e9c std::function doesn't have empty() method
The correct way to perform the check for it in C++11 is to call
std::function::operator bool.

http://en.cppreference.com/w/cpp/utility/functional/function/operator_bool

Change-Id: I4df8daaa758b4d5b382e340b90c4588a83ee11ce
2015-08-01 08:02:28 +02:00
Jan Holesovsky
512b782cf4 LOK: Implement parts for Writer too.
In Writer, the meaning of 'parts' is a bit different than in Calc or Impress.
In Writer, the parts mean pages, and the document does not give a completely
different view, the cursor just jumps to the given page.

It is up to the client to follow the cursor appropriately to have the desired
effect.

Change-Id: I56b3264e0340cd639bdabfa92b74b52bd1f391a5
2015-08-01 02:23:32 +02:00
Jan Holesovsky
75a84417af Whitespace.
Change-Id: Ifcccd6376a6a44bf6761e9fa451b46933adb6ce9
2015-08-01 02:23:22 +02:00
Varun
bb697b4c7b Added Test for #tdf78742 SfxFilterMatcher document service check
Change-Id: I2a56e253a7091c690c8f40ff371565dbb7affbae
Reviewed-on: https://gerrit.libreoffice.org/17455
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-07-31 21:29:49 +00:00
Michael Stahl
326596f1ae sw: replace boost::function with std::function
Change-Id: I5a0a0e83366ce518fc74d915bb8c43cc883ff016
2015-07-31 21:54:30 +02:00
Michael Stahl
9135280334 sc: replace boost::function with std::function
Change-Id: Ic98b20eabdc0e62078b28ab0219b00b67e8e1099
2015-07-31 21:54:29 +02:00
Michael Stahl
4cf0869b69 framework: replace boost::function with std::function
Change-Id: I9342bbdaa626c88592d3a7bdf12f150cc2a605b1
2015-07-31 21:54:27 +02:00
Michael Stahl
fb038a0d0d dbaccess: replace boost::function with std::function
Change-Id: I4bea36a9add24f9144c8e222e9ce42c7c9f3678b
2015-07-31 21:54:25 +02:00
Michael Stahl
c2966acc46 canvas: replace boost::function with std::function
Change-Id: I1a4a3007a07a796d80d06ab7554953925bb8be3d
2015-07-31 21:35:42 +02:00
Michael Stahl
701cfbd696 avmedia: replace boost::function with std::function
Change-Id: I813d42a1ab494e0887791516606fddd342e21ff0
2015-07-31 21:31:33 +02:00
Michael Stahl
9e90038b73 canvas: replace boost::function with std::function
Change-Id: Ia3644bc0d9db2159aa4e9f05ca2f36e60b63e6f4
2015-07-31 21:24:26 +02:00
Michael Stahl
6988505070 svx: replace boost::function with std::function
Change-Id: I7d6d01775600fdbd64b0b5a249d88acdb89f6591
2015-07-31 21:24:25 +02:00
Michael Stahl
2a62966d89 sfx2: replace boost::function with std::function
Change-Id: I72acc5f396553eb464338a395ef40f95ed57a07e
2015-07-31 21:24:25 +02:00
Michael Stahl
1841946863 toolkit: replace boost::function with std::function
Change-Id: I4bf5b2aab1dd76e596c191ae2eec8eb18005b914
2015-07-31 21:24:24 +02:00
Michael Stahl
7ee228a108 svtools: replace boost::function with std::function
Change-Id: Ic60190814a19e03341de3678f35c4ac69624ca4c
2015-07-31 21:24:24 +02:00
Michael Stahl
819fd24487 comphelper: replace boost::function with std::function
Change-Id: I042c97d8472c3afceffba36808687f382571e6c2
2015-07-31 21:24:24 +02:00
Eike Rathke
a713fb5e3a TableRef: implement ScTableRefToken::IsGlobal() override
To diustinguish from formula::FormulaToken::IsGlobal() virtual dummy
implementation error message and spot code that possibly makes false
assumptions about svIndex tokens.

Change-Id: I5c4a62dc5fdf3a97b7a4d143ce1e419f15a8fdb0
2015-07-31 21:10:35 +02:00
Eike Rathke
1f44d9b74a TableRef: add some SAL_WARN() when invalidating column names/offsets
Change-Id: I628a7ce66d8d3eed5bf70a0ac57acd8f4deef598
2015-07-31 19:18:39 +02:00
Daniel Robertson
1a5e176e62 tdf#92459 Replace select1st for lambda expressions
Replace all instances of select1st with lambda functions in
canvas/source/factory/cf_service.cxx.

Change-Id: I935282817fdf6496bd03752b8adb89e827ff28c5
Reviewed-on: https://gerrit.libreoffice.org/17409
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-07-31 17:03:35 +00:00
Miklos Vajna
43ac95ab64 tdf#92982 vcl rendercontext: handle empty repaint rect in PaintHelper
Empty repaint rectangle means the whole window, while Erase() is a NOP
in case of an empty rectangle.

This fixes the sidebar rendering artifacts the screenshot shows in the
bugreport.

Change-Id: I12e35ceb0aa529d65b7acf01d8cdb719101adebe
2015-07-31 18:27:59 +02:00
Markus Mohrhard
8b0109f28e avoid crash when chart model is disposed
Change-Id: I70c3a06e2aa9112cd5a47b7d8839c4bd701cfc1e
2015-07-31 17:38:40 +02:00
Miklos Vajna
161f7533ac tdf#92982 vcl rendercontext: set buffer size in ImplHandleResize()
Instead of in PaintHelper::StartBufferedPaint(). If the buffer size is
set to match the size of a sub-widget (for which the paint was
triggered), then client using the buffer as a persistent vdev are unable
to paint at arbitrary locations.

For example, if we painted the ruler, then the blinking cursor won't be
able to paint to the SwEditWin area.

Change-Id: Iba07070baafb5b802fc6da200696611afd2010d7
2015-07-31 15:52:54 +02:00
Miklos Vajna
7cc7d5787c CppunitTest_sw_uiwriter: fix which test is disabled to not break headless Mac
Based on a mini-dump from Norbert.

Change-Id: I9a9fee38b0472e1abfd797539cadd4a83af5f583
2015-07-31 15:07:04 +02:00
Michael Stahl
168bf78980 boost: fix Clang > 3.5 -Wunused-local-typedefs in concept_check
Change-Id: I84ee651a51e1919be036ffd47d80eb1ab7433973
2015-07-31 14:45:38 +02:00
Michael Stahl
aedd003086 tools: prefix members of SvStream
Change-Id: Iba845749d645bc1cf9eb6d6c41829717831bc487
2015-07-31 14:45:38 +02:00