6f5c6cf490
mark WeakReference with SAL_WARN_UNUSED
...
Change-Id: I9d56cdecba8066058a0c6f128720534fcf6f6e34
2015-11-20 11:48:48 +02:00
048a32d903
use unique_ptr for pImpl in tools/
...
Change-Id: I7ac7eca32a67524f6c87696c16b16128e6d8518b
2015-11-17 13:21:49 +02:00
61f168d987
Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)
...
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-17 10:36:13 +01:00
f115b0cf1b
underscores are reserved
...
Change-Id: Iee60389ccc9e348db6ed00e48e32b1e86f17b530
2015-11-13 18:01:04 +01:00
2af4da0ea9
improve compile time SSE2 detection, fix broken android build
...
Prereq. to enable runtime SSE2 detection is that the compiler
supports it in the first place. MSVS and GCC use different
compiler flags for this so use __LO_SSE2_AVAILABLE__ to make this
build platform independent.
emmintrin.h is unavailable on ARM Android so include this and
compile the SSE2 specific code only when we are sure we can build
SSE2 code (__LO_SSE2_AVAILABLE__ is defined).
Change-Id: I212c4e0b99a314d087b9def822a81325b25f3469
2015-11-13 16:37:29 +01:00
726ce582ab
remove SSE detection code (but keep SSE2)
...
For corner case CPUs out there that support SSE and not SSE2 it
makes more sense to use the "fallback" code path instead of
writing a SSE only version. For this reason detecting SSE is not
relevant anymore - so removing it.
Change-Id: I3f1425af2cb5cdf9fba699e2996014598a15b5c1
2015-11-13 14:56:13 +01:00
154bcd887d
tools: runtime SSE/SSE2 detection
...
Change-Id: I29330061e2986ec2ae899c2f3a63d0eadd9cc194
2015-11-13 14:10:10 +01:00
fa91dd31f3
5th step to remove tools/rtti.hxx
...
tools/rtti.hxx removed
completed the interface of some Sdr.* Items
and removed pseudo items
Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a
Reviewed-on: https://gerrit.libreoffice.org/19837
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
2015-11-11 10:49:30 +00:00
1c4f33b5d8
loplugin:nullptr (automatic rewrite)
...
Change-Id: Ia5acfb564f913d52cd25b5d64d06b5280b94cb72
2015-11-10 10:31:54 +01:00
13d9272675
(Poly)Polygons: sal_uIntPtr to sal_uInt32/sdt::size_t/enum
...
Change-Id: I167d656f419ddbeb72960b8510fb8084605d4d5c
2015-11-05 20:32:47 +01:00
e35ef25029
class PolyOptimizeData is never instantiated
...
Change-Id: I136b3b1d572e4401d89d50f543150d71dbe44d16
2015-11-05 20:32:47 +01:00
6f1c202547
tools: re-order members of SvRefBase to work around clang 3.5 bug
...
http://fpaste.org/285206/ has minimized reproducer
Change-Id: I898dfe0c3246a4ee2b093559530db5446d31e8bc
Reviewed-on: https://gerrit.libreoffice.org/19692
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-11-04 14:17:33 +00:00
430875de5c
boost->std in include/tools
...
Change-Id: I387340162d791bca2e589a2bad0575030138bd89
Reviewed-on: https://gerrit.libreoffice.org/19772
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-11-04 09:41:59 +00:00
c7e8f21a53
loplugin:unusedmethods
...
Change-Id: Id3b5cd75d4357336ed592ef11a3f34d209f8e95f
Reviewed-on: https://gerrit.libreoffice.org/19636
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-30 05:58:41 +00:00
a3de32acc0
Rename (private) Date::init and reuse it
...
Change-Id: I3123876860cf6cce1e16c8f516f3d08fa7e15d83
2015-10-28 14:08:34 +01:00
7e89e28274
sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streams
...
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27 13:59:09 +01:00
834cbda1ec
move SvRefMemberList into idl
...
since it's only usage is there
Change-Id: I882ddd3e08ab37cf7b3cca8121463598ea3d3bc4
2015-10-27 11:25:34 +02:00
644487a115
loplugin:unusedmethods
...
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861
Reviewed-on: https://gerrit.libreoffice.org/19231
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-27 08:20:43 +00:00
fd9d9976bf
fix includes that are not stand-alone
...
includes should be able to be included on their own
fix some of the ones that do not respect
that rule.
Change-Id: Id161224a1978461d3cea43252f232f18888a4f61
Reviewed-on: https://gerrit.libreoffice.org/19612
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2015-10-26 21:04:30 +00:00
c06e2fcc2c
com::sun::star->css in include/sot to include/typelib
...
Change-Id: I9cd92b53370a6b6018d2f7c648890f9c014a27de
2015-10-23 10:48:50 +02:00
382eb1a23c
remove untyped Link<>
...
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b
Reviewed-on: https://gerrit.libreoffice.org/19491
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-21 07:44:43 +00:00
c8479bdc5b
convert DBG_ASSERTWARNING to SAL_WARN_IF
...
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes
much more sense.
Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19 13:08:29 +02:00
39e63bfac5
convert remaing DBG_WARNING to SAL_INFO
...
and drop the macro
Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19 13:08:29 +02:00
94b64bca66
These warnings are covered by --enable-werror anyway
...
...so remove these remnants from a time when developers got away with ignoring
warnings and tools/solar.h was considered the center of the universe
Change-Id: I526c6b44fafb98e8400f2ab122dbb7e2bfbb3480
2015-10-13 15:35:01 +02:00
b36963c0a6
Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
...
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
bff4c13475
Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
...
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12 17:52:26 +02:00
f76b3dd039
Move SolarMutex down from tools to comphelper/ to make life easier.
...
Change-Id: I7dd21f30daa27e5de2848eb16aee9a610dd629d5
Reviewed-on: https://gerrit.libreoffice.org/19271
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
2015-10-09 14:51:44 +00:00
bd0e0dc7bd
Stream operator<<() for DateTime to help debugging.
...
Change-Id: I49810682dc02f4220fca786fcd17a5a0f9abda5a
2015-10-08 15:35:39 +02:00
89d39bc100
tdf#94559: 4th step to remove rtti.hxx
...
replaced use of PTR_CAST, IS_TYPE, ISA in
idl, editeng, sc, sd, sw, sfx2, sot, starmath
Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653
Reviewed-on: https://gerrit.libreoffice.org/19132
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
2015-10-06 07:29:37 +00:00
8ea85c264f
Add isSchemeEqualTo(), isAnyKnownWebDAVScheme() to INetURLObject
...
...which will be used when rebasing
<https://gerrit.libreoffice.org/#/c/17189 >
"tdf#82744: fix WebDAV lock/unlock behaviour - part 3" on top of
d3de490437df4c9093f32e97fc185066d64c0f46
"Add vnd.sun.star.webdavs URL scheme."
Change-Id: I19bd715d755a6f070b95ce897d8a1bbb4910d537
Reviewed-on: https://gerrit.libreoffice.org/18151
Reviewed-by: Jan Holesovsky <kendy@collabora.com >
Tested-by: Jan Holesovsky <kendy@collabora.com >
2015-10-05 11:11:24 +00:00
85f93697de
tdf#94559: third step to remove rtti.hxx
...
replaced use of PTR_CAST, IS_TYPE, ISA in
oox, reportdesign, svl, svtools, svx, tools
Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e
Reviewed-on: https://gerrit.libreoffice.org/19002
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
2015-10-01 08:32:26 +00:00
638b6d7e0b
Fix typos
...
Change-Id: I8e9c6c72c89411d8de04e5edd9317cd54f7c472a
Reviewed-on: https://gerrit.libreoffice.org/18958
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-09-30 11:03:34 +00:00
34180700b2
loplugin:removeunusedmethods, remove unused stuff
...
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
a12c083cad
Some follow-up #include clean-up
...
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3
2015-09-18 07:51:35 +02:00
9ce08dcc2e
writeHeaderFieldBody is only called with bInitialSpace = false
...
Change-Id: Ib7fe0bee6339bfad0f63794fec3dfb3f24333ff4
2015-09-17 22:22:34 +02:00
7a2a02163b
Make various INetMIME members local to inetmime.cxx
...
(and remove those that are then identified as unused)
Change-Id: I5be9d306705837b995b91a13922bc1fb9fed4902
2015-09-17 22:22:33 +02:00
266805f6a4
Make createPreferredCharsetList local to inetmime.cxx
...
Change-Id: Idce9983135d7856b74b1cc548aed668fc9910f46
2015-09-17 22:22:33 +02:00
f4fb4c531d
Make INetMIMEEncodedWordOutputSink local to inetmime.cxx
...
Change-Id: I779bde650b7fc21af93b573a55fab5b6fff03790
2015-09-17 22:22:32 +02:00
984780243c
HEADER_FIELD_TEXT is the only used HeaderFieldType
...
Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7
2015-09-17 22:19:23 +02:00
50ea351929
INetMIMEOutputSink line length limit is unused
...
Change-Id: Ib9da396d0669bfd89dbbff17821b8303f20d61aa
2015-09-17 16:57:37 +02:00
ade5624f31
All INetMIMEOutputSink instances use same fixed ctor arg values
...
Change-Id: I49126732be307b80270843c147d9cce4b3fdd2a3
2015-09-17 16:57:37 +02:00
54ddc13bd2
Fold INetMIMEStringOutputSink into INetMIMEOutputSink base
...
Change-Id: I675e656b57fca90e42be2d924c102a995168984d
2015-09-17 16:57:36 +02:00
717de02367
INetMIMEOutputSink ctor args are always given explicitly
...
Change-Id: Iacb01ac77ef4419f7428ecb397e91ab8d666a8f3
2015-09-17 16:57:35 +02:00
f7dc03f666
Remove unused HARD_LINE_LENGTH_LIMIT
...
Change-Id: Iae65de5a71f8a0b8ad80138ae310db9a84736878
2015-09-17 16:57:35 +02:00
149384846b
No need for user-prov. INetContentTypeParameter ctor, use list-initialization
...
Change-Id: Ie116def9e5e90a59a82c3e8a4821eecd68eee64c
2015-09-17 16:57:35 +02:00
63e7b7afa7
Don't violate unordered container hash+pred requirements
...
"Two values k1 and k2 of type Key are considered equivalent if the container's
key equality predicate returns true when passed those values. If k1 and k2 are
equivalent, the container's hash function shall return the same value for both."
[unord.req]
But for INetContentTypeParameterList, all inserted keys are already lower-case
by construction, and all queries happen to be done with (literal) lower-case
keys, so just document the requirement here that insertion and query needs to be
done with lower-case keys.
Change-Id: Ic46845b7bb0376e995e7736b57fa80c777d1c263
2015-09-17 14:47:14 +02:00
1a9293242b
Remove unused INetMIMEMessage parts
...
Change-Id: Ica7d3e7e52ccdfe833ac10567c6f5f7bb7085dee
2015-09-10 23:04:35 +02:00
9371a5f0a0
More INetMIMEMessageStream clean up
...
Change-Id: Ibb2b93261e2d8ef370ac106766e39685a03a6ef3
2015-09-10 23:04:35 +02:00
82285ab5c9
Merge INetMessageIStream into INetMIMEMessageStream
...
Change-Id: Ic3d9cd117b3f911a7cb1317fc9d1d2e9d8f1ff42
2015-09-10 23:04:35 +02:00
4464e5dbca
No need for INetMIMEMessageStream encoding
...
...in the only use case in ODatabaseForm
Change-Id: I0282a9f60b05f279a11dcf1990e68b7e017ea3aa
2015-09-10 23:04:34 +02:00