Commit graph

533 commits

Author SHA1 Message Date
Lionel Elie Mamane
3d46635bf1 Debug unhandled exception
Change-Id: I65661ffe5c006529f8ba1f3652a4d997d46c3da2
2012-07-24 19:22:36 +02:00
Stephan Bergmann
c2617e960e fdo#52399: Do not needlessly set DefaultContext of global ServiceManager
...the new cppuhelper/source/defaultbootstrap.cxx now forbids this nonsense with
a PropertyVetoException.  It looks like the code in propbrw.cxx had always been
confused about what to do exactly (using xOwnContext as delegate in the call to
createComponentContext should just be enough) and the useless re-setting of the
global ServiceManager's DefaultContext happened to work by accident.

Change-Id: I80a87fe9b0948d9aa6dc9e2e63497097044a4959
2012-07-24 17:36:09 +02:00
Stephan Bergmann
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Lionel Elie Mamane
8dd6a23b6b fdo#43556 round pos&dim of report controls & sections to nearest 10^-4m
Change-Id: I3fa331d246160935f4feed21de69f9ec0c2e9994
2012-07-04 17:50:18 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Thomas Arnhold
892bb81d17 hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02 17:46:25 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Thomas Arnhold
92da6de0c5 hrc cleanup: Remove commented out code
Change-Id: Id859d1e039d9012c100c16d49d2de0560cac2a66
2012-06-27 13:32:33 +02:00
Takeshi Abe
dbd9db69bb removed unused forward declarations of class
Change-Id: Ibb3918b95c2518fd83f566bb726273dbf90cf8c8
2012-06-23 02:48:28 +09:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.

Also there are many commented out lines removed.

Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Takeshi Abe
bf729a27bd removed useless InsertFunctions.hxx
Change-Id: If3a6dcd2216cbac63b43fb393af37206e8730a20
2012-06-21 00:05:07 +09:00
Tim Hardeck
6484ccb4ed move zoomitem from svx to sfx2
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2.
This patch does base on Caolán McNamara's patch he sent to the mailing list.

Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15 13:38:56 +02:00
Jan Holesovsky
6d78c490b0 Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-12 16:31:43 +02:00
Thomas Arnhold
13887f4848 Remove superfluous include comments
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Michael Meeks
c326e8c687 targetted revert of minor cppcheck cleanups
Change-Id: I2ec1bc3fd5dd5d38c2b3b9600265943083873515
2012-05-31 13:09:04 +01:00
Michael Meeks
a0bbb2a1af targetted SAL_N_ELEMENTS reversion.
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
2012-05-31 13:09:03 +01:00
Caolán McNamara
5dcf536b69 merge the 5 ConstAsciiString duplicate classes together
a) merge them together and move it into comphelper
b) turn it into a POD rather than having vast amounts
of destructors registered into the cxa_atexit chain

Change-Id: I04d3b9d7804f8e233013c916df9d617a0f84f96a
2012-05-17 14:03:26 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Caolán McNamara
9b71aa0de1 convert GetUndoActionComment family to rtl::OUString
Change-Id: I36ccf62ee2e2769bcf1aef6d26d96bce6c7078f0
2012-05-15 12:05:47 +01:00
Caolán McNamara
c182a75241 convert GetComment family to rtl::OUString
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14 14:34:09 +01:00
Takeshi Abe
e3bc45b807 removed unused defines
Change-Id: Ida50737f540459bd0e709c49414c3a7f4d042a47
2012-05-13 08:51:39 +09:00
Caolán McNamara
5f1d65fe21 WaE: msvc2008 C4928 copy-ctor confusion
Change-Id: Id086aedc27977b4ca81299a00a340a65284118b8
2012-05-10 10:18:32 +01:00
Caolán McNamara
41e055112e String::CreateFromInt32->rtl::OUString::valueOf 2012-04-11 12:06:23 +01:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Matteo Casalin
6ac9544454 Cleanup some unnecessary #include 2012-04-03 20:49:08 +02:00
Markus Mohrhard
278c53c933 restructure the code a bit more 2012-03-22 00:24:27 +01:00
Markus Mohrhard
ac5455a688 prevent call to virtual method in destructor, fdo#47589 2012-03-22 00:24:27 +01:00
Markus Mohrhard
1ab961d98a Make sure one base class does not use another one after destruction
see 706ac4779d and fdo#47589
2012-03-22 00:24:27 +01:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Caolán McNamara
f150208ca8 these Links either shouldn't be links, or shouldn't exist 2012-03-08 12:02:36 +00:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Winfried Donkers
836d986462 fdo#44611 writer: paragraph background color picker with split button 2012-02-21 14:50:04 +00:00
Matteo Casalin
761b6b706e Remove unnecessary header files 2012-02-17 18:57:45 +01:00
Takeshi Abe
2b1758a2dc Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) 2012-02-10 23:01:07 +09:00
Matteo Casalin
648f6ac7c5 Do not forward declare Splitter or include its header file if unneeded 2012-01-30 22:42:26 +01:00
Caolán McNamara
5ac8641b12 these OnInvalidateClipboard don't have to be LINKs 2012-01-13 09:05:59 +00:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Michael Stahl
23dd856d3c Merge branch 'feature/gbuild_extensions'
Conflicts:
	extensions/source/ole/servreg.cxx
	extensions/source/plugin/util/makefile.mk
	postprocess/packcomponents/makefile.mk
	postprocess/prj/build.lst
	tail_build/prj/build.lst
2012-01-06 21:09:13 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Olivier Hallot
e224197bda Fix for fdo43460 Part XXVIII getLength() to isEmpty() 2012-01-04 13:16:37 +01:00
Peter Foley
fd66491759 Merge remote-tracking branch 'origin/master' into feature/gbuild_extensions
Conflicts:
	Module_tail_build.mk
	Repository.mk
	extensions/util/makefile.pmk
	postprocess/prj/build.lst
	svx/AllLangResTarget_svx.mk
2011-12-24 09:44:24 -05:00
Takeshi Abe
c9a54f532e catch exception by constant reference 2011-12-24 01:55:56 +09:00
Matúš Kukan
c44cc4d131 reportdesign: remove unnecessary includes from svx 2011-12-20 19:33:07 +01:00