Noel Grandin
c3e3f46657
sfx2: sal_Bool->bool
...
Change-Id: I375a72c34e46778385a9fdc24c9ebd0f0a3f3c9b
2014-03-18 11:27:39 +02:00
Noel Grandin
7e8af4b249
basct: prefer passing OUString by reference
...
Change-Id: Ide803f793e829767fad89ab2aef776ef24fedb37
2014-03-17 13:30:51 +02:00
Matteo Casalin
684baef506
sal_Bool to bool
...
Change-Id: Ib19ecab287396dc6d6cf4a77dcf7072c5c4c84f8
2014-03-16 09:39:12 +01:00
Stephan Bergmann
98666e8625
No need for a virtual OPropertyContainer::getTypes
...
(and rename to getBaseTypes for clarity)
Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
2014-03-14 17:57:24 +01:00
Stephan Bergmann
d47ca30f1c
No need for implGetBounds to be SAL_CALL
...
Change-Id: I4eb1f998de57a4ceeb7990c6e4a964ce0d07ea88
2014-03-11 15:35:52 +01:00
Noel Grandin
6c97bc4717
svx: sal_Bool->bool
...
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-11 08:18:24 +02:00
Stephan Bergmann
d2aba93a97
basctl: simplify deprecated XTypeProvider.getImplementationId
...
Change-Id: I422ec5b0ad485d1f74191d4bf713367aeb7a0a3d
2014-03-10 17:39:52 +01: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
Chris Sherlock
381f8a5673
sal_Bool -> bool in mostly vcl module
...
Conflicts:
include/vcl/settings.hxx
svtools/source/table/tablecontrol_impl.cxx
sw/source/core/frmedt/fecopy.cxx
vcl/inc/canvasbitmap.hxx
vcl/inc/headless/svpframe.hxx
vcl/inc/unx/salframe.h
vcl/inc/win/salframe.h
vcl/inc/win/salprn.h
vcl/inc/win/salvd.h
vcl/osx/DragSource.cxx
vcl/osx/DragSource.hxx
vcl/osx/DropTarget.cxx
vcl/osx/DropTarget.hxx
vcl/osx/OSXTransferable.cxx
vcl/osx/OSXTransferable.hxx
vcl/osx/clipboard.cxx
vcl/osx/clipboard.hxx
vcl/osx/salprn.cxx
vcl/qa/cppunit/canvasbitmaptest.cxx
vcl/source/components/fontident.cxx
vcl/source/control/edit.cxx
vcl/source/control/spinfld.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/virdev.cxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/window/dockwin.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/kde/UnxFilePicker.cxx
vcl/unx/kde/UnxFilePicker.hxx
vcl/unx/kde4/KDE4FilePicker.cxx
vcl/unx/kde4/KDE4FilePicker.hxx
vcl/unx/kde4/KDESalFrame.hxx
Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0
Reviewed-on: https://gerrit.libreoffice.org/8219
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-28 03:19:47 -06: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
2fbd9825bc
Remove visual noise from basctl
...
Change-Id: I3e6a238a0bafbb70a7c22bde1f2258b8014ed2d2
Reviewed-on: https://gerrit.libreoffice.org/8232
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 17:01:07 +00:00
Norbert Thiebaud
295bc8703f
basic: remove use of sal_uIntptr in favor of more appropriate type
...
Change-Id: Ie878f43c7245838519fe7477b039827b079dde63
Reviewed-on: https://gerrit.libreoffice.org/8214
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-25 00:26:43 +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
Stephan Bergmann
e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Matúš Kukan
dbfc495a9a
Add config option used when we try to link one huge object file.
...
In theory, it should not be used, we use it now to mark duplicated
symbols from sdi slots as weak. See idl/source/objects/types.cxx.
Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
2014-02-21 07:52:24 +01:00
Tobias Lippert
a18a1a4545
Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
...
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.
Conflicts:
sc/source/ui/dbgui/pvlaydlg.cxx
Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
Takeshi Abe
bbe3bec949
Drop unused #include
...
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-14 18:44:05 +09:00
Noel Grandin
15535e32dd
convert SvStream::operator>> methods to ReadXXX methods
...
First, I updated the clang rewriter to do the conversion.
Then I lightly hand-tweaked the output for the few places where
the rewriter messed up, mostly when dealing with calls on "this".
Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9
Reviewed-on: https://gerrit.libreoffice.org/7879
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 15:31:40 +00:00
Alexandre Vicenzi
064c628842
fdo#63154 Remove unused solar.h ref in vcl, basctl, desktop..
...
Change-Id: Ic0187495d8f7f64ddf9d3c202ec41201c9ac3a8c
Reviewed-on: https://gerrit.libreoffice.org/8001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-12 07:23:09 +00:00
Stephan Bergmann
af619501b7
-Werror,-Wunused-function
...
Change-Id: I0b3399478c00e7e6db8973e9e4811f3f75c5a3db
2014-02-11 14:03:35 +01:00
Caolán McNamara
281bdaaa0b
convert manage languages dialog to .ui
...
Change-Id: I1a50f8715040e64758cf18bee8ca6ac1d04652c8
2014-02-11 12:11:44 +00:00
Caolán McNamara
2b12a5b87b
the return of callcatcher
...
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-10 11:21:03 +00:00
Caolán McNamara
6683634c7c
coverity#1169816 Division or modulo by zero
...
Change-Id: Ibd07c0d3766467f2b11b0a9fb18ca089ddcb1cb2
2014-02-09 17:13:42 +00:00
Stephan Bergmann
bf28399df0
auto_ptr -> heap_ptr
...
Change-Id: I401505ee15f71e8655570233b953951aa22ad668
2014-02-07 18:43:31 +01:00
Stephan Bergmann
aef614d093
auto_ptr -> scoped_ptr
...
Change-Id: I19fbc4f6e0fb0d53a72759e5faf9c86c595e8e17
2014-02-07 18:43:31 +01:00
Stephan Bergmann
bd20500cf3
Simplify access to theCoreReflection singleton
...
Change-Id: I9901991a320b87895230a92095c9c7d3109380a6
2014-02-07 12:03:03 +01:00
Herbert Dürr
a5090ccf75
Related: #i123862# use O*String's isEmpty() method...
...
to check for emptiness in modules starting with 'b'
Patch-by: j.nitschke@ok.de
Review-by: hdu@apache.org
(cherry picked from commit 87204b0f4062ef8fc8f138ad15f4378da609d4e2)
Conflicts:
basctl/source/basicide/baside2.cxx
basctl/source/basicide/bastype2.cxx
basctl/source/basicide/localizationmgr.cxx
basctl/source/dlged/dlgedobj.cxx
basic/source/basmgr/basmgr.cxx
basic/source/basmgr/vbahelper.cxx
basic/source/classes/sbunoobj.cxx
basic/source/comp/sbcomp.cxx
basic/source/runtime/iosys.cxx
basic/source/runtime/methods.cxx
basic/source/runtime/methods1.cxx
basic/source/runtime/step2.cxx
basic/source/uno/namecont.cxx
basic/source/uno/scriptcont.cxx
binaryurp/source/bridge.cxx
binaryurp/source/bridgefactory.cxx
binaryurp/source/reader.cxx
binaryurp/source/unmarshal.cxx
bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
bridges/source/cpp_uno/shared/vtablefactory.cxx
bridges/source/jni_uno/jni_data.cxx
Change-Id: I37bd84e0a1d6426759dba81854faf32c88147fe1
2014-02-04 12:47:59 +00:00
Michael Meeks
882645231b
uiconfig: remove obsolete helpid's and clean trailing whitespace.
...
Change-Id: Ic94ed52bbe0e5c612258fa56a970d61de0972eb3
2014-02-03 18:12:18 +01:00
Michael Meeks
0f7542a7a7
fdo#74455 - hide direct printing button and replace with new print dialog.
...
Change-Id: I7ae80079f4bd5fed1234753b521a680498ec43e1
2014-02-03 18:05:56 +01:00
Alexandre Vicenzi
32b8c5c4a9
fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.
...
Change-Id: I60128dbb5bf83f25eea847fe655d7126c9077414
Reviewed-on: https://gerrit.libreoffice.org/7756
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-02 18:53:03 +00:00
Caolán McNamara
6b44c30bcb
coverity#736985 Uncaught exception
...
Change-Id: I58f2bc50a87ed07340caa148b4ade07062d730fc
2014-01-27 14:38:39 +00:00
Caolán McNamara
d76dc580a2
coverity#982152 Unchecked return value
...
Change-Id: I58fd11e38fa0b8ba7efeff8861aeec17742999c3
2014-01-27 14:38:39 +00:00
Caolán McNamara
fdc28850c6
coverity#735667 Unchecked dynamic_cast
...
Change-Id: I747b6bcfb1e57fd3f21250b274f2f179e1982d7c
2014-01-27 14:38:37 +00:00
Caolán McNamara
01c28e33bf
coverity#1130421 Improper use of negative value
...
Change-Id: Iefdd854cb0348b187b95f4a89d52482381c73dfc
2014-01-27 14:38:37 +00:00
Tsutomu Uchino
4f03eb00fc
Related: #i50481# improve Select All command in Basic IDE
...
see also fdo#37211 i.e. commit 4bc2724240b11ce4dfb7adafbe1f1c260fa44030
(cherry picked from commit f841659faf09fec69c962959b9da032fa0bc2b16)
Conflicts:
basctl/source/basicide/baside2.cxx
basctl/source/basicide/baside2b.cxx
basctl/source/basicide/baside3.cxx
Change-Id: Id679b1e16b87ec8d81fb78039318728320b9d5bc
2014-01-22 10:31:27 +00:00
Norbert Thiebaud
2ee5758e4e
coverity#735600 : Division by zero
...
Change-Id: I67c2af62144872c4ad0ac7e17be5bb9a5883ba69
2014-01-19 15:44:21 -06:00
Norbert Thiebaud
838d0cd4f3
coverity#1000814 coverity#1000815 : Unintended sign extension
...
Change-Id: Ia9e40dba5ef2beca2ebc6cc40672d6804d430af0
2014-01-19 15:42:23 -06:00
Norbert Thiebaud
b4ed680ebe
coverity#735599 : Division by zero
...
Change-Id: I1a69224793eb39d88894e1090672bdb641c88a02
2014-01-19 15:36:06 -06:00
Norbert Thiebaud
3c2f3f4854
coverity#735598 : Division by zero
...
Change-Id: I288b46a933d8a301823deed8fccae9764b74e840
2014-01-19 15:22:19 -06:00
Stephan Bergmann
602c87b425
Window::PreNotify should return bool
...
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
Stephan Bergmann
5c3eca5e84
bool improvements
...
Change-Id: Ia5ab74b8a8b367ea92f29eb6269ef0ede47f09bb
2014-01-17 18:45:13 +01:00
Stephan Bergmann
04683f1488
Window::Notify should return bool
...
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
Stephan Bergmann
ad1390b8c2
Remove use of deprecated css::document::XEventBroadcaster/Listener
...
Change-Id: I178ae590fec87f53e90db5aa6e560cd146c0676b
2014-01-17 11:38:18 +01:00
Stephan Bergmann
62951cdd17
Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.
Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
Stephan Bergmann
7c1415e06f
Remove unused bForBrowsing parameter
...
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
2014-01-14 11:21:10 +01:00
Stephan Bergmann
0d0fd7b4fb
PrepareClose should probably return bool
...
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
2014-01-14 09:31:58 +01:00
Stephan Bergmann
01f3186c4b
SvTreeListBox::ExpandingHdl should return bool
...
Change-Id: I39a854910299ab2e7c64beabda381bb9f0bd2891
2014-01-13 18:08:07 +01:00
Caolán McNamara
1b7a5c634a
disentangle CalcSize
...
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
2014-01-13 09:50:11 +00:00
Stephan Bergmann
d1043892df
SfxPoolItem::operator ==, != should return bool
...
...and SfxEnumItemInterface::HasBoolValue, too.
Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10 17:11:51 +01:00
Caolán McNamara
ea89ba42e2
convert module and dialog tabpages to .ui
...
Change-Id: I2954a734b44be22d4d7ffae17480dde1c0ac64e7
2014-01-06 11:46:14 +00:00