Kohei Yoshida
6bb7fa8df5
fdo#76294: Fix the build.
...
Change-Id: I123751e9f08faaccc06649c2f8b29a9a33548312
2014-04-14 18:57:06 -04:00
Stephan Bergmann
a640be7e2d
Clean up function declarations and some unused functions
...
Change-Id: I367acc372d6b5996430a2c560e776a469b7e0007
2014-04-14 14:21:50 +02:00
Thomas Arnhold
b8239ac2f9
typo: noone -> no one
2014-04-14 12:32:54 +02:00
Thomas Arnhold
2a4b6a6e6f
typo: currect -> current
2014-04-14 12:32:17 +02:00
Tor Lillqvist
6835d9f307
It's "its", not "it's"
...
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
Joren De Cuyper
7007e3952d
fdo#72276 introduce .uno:ZoomMenu so we can split the menu entries/labels
...
Currently .uno:zoom is used for the topmenu and submenu.
Deleting the '...' behind the text will delete it for both,
which is not correct. Therefore I introduce .uno:ZoomMenu for the
topmenu.
Change-Id: I75bcae572be0cca7216c34d81e0b99f4c59c0aab
Reviewed-on: https://gerrit.libreoffice.org/8503
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-04-06 13:32:31 -05:00
Caolán McNamara
14cb069912
coverity#738784 Uninitialized scalar field
...
Change-Id: Ibe261cb6b7c91b6a72fc24aef05ef269c69c390f
2014-04-04 16:24:35 +01:00
Noel Grandin
5babf1b903
remove unnecessary scope qualifier from sal_Bool uses
...
i.e. convert "::sal_Bool" to "sal_Bool"
Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Noel Grandin
8d6a99f67e
dbaccess: sal_Bool->bool
...
Change-Id: Ida8ee14bb6350fad815d741ca7a2b7db04a8ed11
2014-04-03 09:17:47 +02:00
Caolán McNamara
67e2de7d6c
coverity#707967 Uninitialized scalar field
...
Change-Id: I65aa00d79efe15f63c272fbcd5d3e0dea2c28dfc
2014-04-02 15:51:44 +01:00
Caolán McNamara
f6dd2b47f4
coverity#707969 unused nMasterPageNameIndex
...
Change-Id: I1a91871eb9f1952625b94b15d9ab8a4712487048
2014-04-02 15:51:44 +01:00
Caolán McNamara
eac97e7925
coverity#707970 Uninitialized scalar field
...
Change-Id: I70cc8c7667d9cfb2fc043e3889c7fb5adc9abd52
2014-04-02 15:51:44 +01:00
Caolán McNamara
4ab06a5763
coverity#707971 Uninitialized scalar field
...
Change-Id: I5c1045253c082a00397cf0f048baee947232c9b1
2014-04-02 15:51:44 +01:00
Stephan Bergmann
362d4f0cd4
Explicitly mark overriding destructors as "virtual"
...
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-01 19:22:54 +02:00
Noel Grandin
0f912872b6
xmloff: sal_Bool->bool
...
Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
2014-03-31 12:39:03 +02:00
Noel Grandin
6ac6fb820f
xmloff: sal_Bool->bool
...
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
2014-03-31 12:39:02 +02:00
Noel Grandin
c98a7eec7f
xmloff: sal_Bool->bool
...
Change-Id: I1c97da5b7bbac348150399afbf386613433e5551
2014-03-31 12:37:25 +02:00
Noel Grandin
ddb07081da
xmloff: sal_Bool->bool
...
Change-Id: I1deb10cb1581137ab92e73367e63339822a9a094
2014-03-31 12:36:54 +02:00
Armin Le Grand
6e61ecd096
Merge back branch alg_writerframes to trunk
...
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62)
Conflicts:
comphelper/inc/comphelper/TypeGeneration.hxx
comphelper/source/property/TypeGeneration.cxx
cui/source/factory/dlgfact.hxx
cui/source/inc/cuitabarea.hxx
cui/source/tabpages/tabarea.cxx
cui/source/tabpages/tabarea.hrc
cui/source/tabpages/tabarea.src
cui/source/tabpages/tparea.cxx
drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
drawinglayer/source/texture/texture.cxx
editeng/inc/editeng/unotext.hxx
editeng/source/items/frmitems.cxx
include/drawinglayer/texture/texture.hxx
include/editeng/brushitem.hxx
include/svx/sdr/primitive2d/sdrdecompositiontools.hxx
include/svx/svxids.hrc
include/xmloff/xmltypes.hxx
reportdesign/source/ui/misc/UITools.cxx
sc/source/ui/drawfunc/drawsh.cxx
sfx2/source/dialog/tabdlg.cxx
svl/source/undo/undo.cxx
svx/inc/svx/unoshprp.hxx
sw/Library_sw.mk
sw/inc/doc.hxx
sw/inc/format.hxx
sw/inc/frmfmt.hxx
sw/inc/swatrset.hxx
sw/inc/unomap.hxx
sw/inc/unoprnms.hxx
sw/source/core/access/accpara.cxx
sw/source/core/attr/format.cxx
sw/source/core/attr/swatrset.cxx
sw/source/core/doc/docdraw.cxx
sw/source/core/doc/docfly.cxx
sw/source/core/doc/notxtfrm.cxx
sw/source/core/inc/frame.hxx
sw/source/core/inc/frmtool.hxx
sw/source/core/layout/atrfrm.cxx
sw/source/core/layout/paintfrm.cxx
sw/source/core/text/inftxt.cxx
sw/source/core/text/porfld.cxx
sw/source/core/text/txtfly.cxx
sw/source/core/txtnode/fntcache.cxx
sw/source/core/uibase/app/docst.cxx
sw/source/core/uibase/app/docstyle.cxx
sw/source/core/uibase/shells/drawdlg.cxx
sw/source/core/uibase/shells/frmsh.cxx
sw/source/core/unocore/unoframe.cxx
sw/source/core/unocore/unomap.cxx
sw/source/core/unocore/unoprnms.cxx
sw/source/core/unocore/unostyle.cxx
sw/source/ui/fmtui/tmpdlg.cxx
sw/source/ui/fmtui/tmpdlg.src
sw/source/ui/frmdlg/frmdlg.cxx
sw/source/ui/frmdlg/frmpage.src
sw/source/ui/inc/frmsh.hxx
xmloff/source/text/txtprhdl.cxx
xmloff/source/text/txtprmap.cxx
Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2014-03-28 14:31:08 +01:00
Stephan Bergmann
567ef6d578
Second batch of adding SAL_OVERRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Stephan Bergmann
5fb78604c1
Split TYPEINFO into plain and TYPEINFO_OVERRIDE
...
...where the latter contains SAL_OVERRIDE annotations
Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-26 11:54:55 +01:00
Noel Grandin
b5e11641a7
svtools: sal_Bool->bool
...
Change-Id: I90320997ed79be2556eafa4c35af6b968b378454
2014-03-25 14:32:56 +02:00
Noel Grandin
436cd90095
svtools: sal_Bool->bool
...
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
Noel Grandin
f661ac03e0
svtools: sal_Bool->bool
...
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
2014-03-24 08:12:09 +02:00
Noel Grandin
b1de52241c
svtools: sal_Bool->bool
...
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-24 08:12:08 +02:00
Noel Grandin
1a1fe47731
svtools: sal_Bool->bool
...
Change-Id: I0c2e9314d85860831b29db76c89c8776c1b071b9
2014-03-24 08:12:08 +02:00
Caolán McNamara
c9c1fa961c
coverity#705822 Dereference before null check
...
Change-Id: I1b54b89254211f5f6191a8f1b6af9181f90bd071
2014-03-19 15:37:55 +00:00
Caolán McNamara
e19cbd4ce8
coverity#705821 Dereference before null check
...
Change-Id: I3467f6be08794a663b9836ac02195ce2bf9ff4f2
2014-03-19 15:37:54 +00:00
Tor Lillqvist
8578aabbc4
"prefix" and "postfix" are single words
...
Change-Id: I32824c614d070cd4649e18da4a0b91b03bccfaba
2014-03-14 07:57:18 +02:00
Noel Grandin
6c97bc4717
svx: sal_Bool->bool
...
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-11 08:18:24 +02:00
Noel Grandin
d1bffe3596
svx: sal_Bool->bool
...
Change-Id: I64d9c1bbe6ed85108783bf6a97329fcdc167ca62
2014-03-11 08:18:24 +02:00
Stephan Bergmann
96b0b3cb9c
reportdesign: simplify deprecated XTypeProvider.getImplementationId
...
Change-Id: I0ca0171f25a1df12c25f835595a086c670639bfd
2014-03-10 17:39:57 +01:00
Norbert Thiebaud
5aed432830
coverity#704558 Unchecked dynamic cast
...
Change-Id: I45ce419c65e0fac28879747787ccf1ebc25e7698
2014-03-07 20:33:55 -06:00
Stephan Bergmann
25cedf1dc7
Introduce com.sun.star.beans.theIntrospection singleton
...
...deprecating com.sun.star.beans.Introspection (single-instance) service.
Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-07 10:33:07 +01:00
Caolán McNamara
f0622f3848
coverity#738782 Uninitialized scalar field
...
Change-Id: Ie34b70887827ad9f38ae7e0d732471c6051ba4d7
2014-03-06 16:35:49 +00:00
Eike Rathke
68ec95b3f8
made ListBox handle more than 64k elements, fdo#61520 related
...
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.
Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
Marcos Paulo de Souza
4d6560f506
fdo#54938: Convert some places to use cppu::supportsService
...
The last cases are non obvious, so it's pratically done
Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547
Reviewed-on: https://gerrit.libreoffice.org/8445
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-03-04 07:30:02 -06:00
Stephan Bergmann
b2371492df
Use cstdlib std::abs instead of stdlib.h abs
...
...because the latter lacks the abs(long) overload in some popular environments,
cf. <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401 > "stdlib.h does not
provide abs(long) overload."
Similarly, stdlib.h lacks the abs(float), abs(double), abs(long double)
overloads compared to cmath there, whose use was apparently intended in
sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx. Rewrote that to use
CPPUNIT_ASSERT_DOUBLES_EQUAL instead, which revealed that the comparisons need
rather large deltas of .1 resp. .2 (which the original code hid with an
implicit conversion to integral type, thus using an effective delta of 1).
Discovered with -Wabsolute-value ("absolute value function 'abs' given an
argument of type 'long' but has parameter of type 'int' which may cause
truncation of value") recently introduced on Clang trunk towards 3.5.
Change-Id: I4c41575ffdccb2944498b662bd3a53fd510cb0c0
2014-03-03 18:36:55 +01:00
Noel Grandin
074a2af8bc
editeng: sal_Bool->bool
...
Change-Id: I26b1fe14023737b85bcf23628e4881c8be79f071
2014-03-03 08:59:37 +02:00
Alexandre Vicenzi
e218663251
fdo#63154 Remove unused solar.h
...
Removed from dbaccess. editeng, filter,
framwork, formula, lotuswordpro, reportdesing, rsc,
uui
Conflicts:
framework/source/uielement/menubarwrapper.cxx
reportdesign/inc/RptDef.hxx
uui/source/iahndl.hxx
Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273
Reviewed-on: https://gerrit.libreoffice.org/8118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-28 15:01:05 -06:00
Noel Grandin
015b80e852
editeng: sal_Bool->bool
...
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978
2014-02-27 12:30:30 +02:00
Noel Grandin
c521f07208
editeng: sal_Bool->bool
...
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27 12:30:30 +02:00
Stephan Bergmann
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
2196955b00
Remove visual noise from reportdesign
...
Change-Id: I2fea3ecefa24cfc0f3cc2a2f4de7c934eba5d6f7
Reviewed-on: https://gerrit.libreoffice.org/8295
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 08:57:59 -06:00
Caolán McNamara
6fbe00f9b6
coverity#983702 Uncaught exception
...
Change-Id: I3a0b4c8fe4208d0945860f6b4e1b31852aef8502
2014-02-25 16:12:23 +00:00
Caolán McNamara
5da1ef56f7
coverity#983700 Uncaught exception
...
Change-Id: Iee09cbebf1fa6f0c0af8dddfd5f8fdbb7cd63df7
2014-02-25 16:12:23 +00:00
Stephan Bergmann
b7259532d8
Remove unnecessary bool2any
...
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24 08:08:00 +01:00
Caolán McNamara
8444cd7802
coverity#704661 Unchecked dynamic_cast
...
Change-Id: I50bdab52c8758a71656f47e3bf053181c7831c46
2014-02-23 15:40:35 +00:00
Caolán McNamara
54ef215fa2
coverity#704657 Dereference after null check
...
Change-Id: Ia274c4f6ab148fd0390f3ff553e4cc4245681ab0
2014-02-23 14:22:44 +00:00
Alexander Wilms
0ce0c369aa
Remove unneccessary comments
...
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-23 03:38:49 +00:00