3edb4611b2
editeng: sal_Bool->bool
...
Change-Id: I71ea2f0e48a6252832180872945b96a120f21907
2014-04-15 09:02:32 +02:00
f767d4580e
callcatcher: update unused code
...
OAuth2Handler is from libcmis
Change-Id: Ia1986d6df7ab45580c66b4e536c5882af41f357f
2014-04-10 09:50:54 +01:00
b4fd20fc6b
Clean up function declarations and some unused functions
...
Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
2014-04-09 14:42:51 +02:00
3d330f20ef
Resolves: coverity#705447 Self assignment
...
in every other !bAbsorb branch we set the StartPara to the EndPara
Change-Id: I4fc877e9d63f823679acf9c4b1550d5e877819be
2014-04-04 13:57:46 +01:00
214751e3cc
cleanup up the EditEngine::GetAttribs call
...
It was using a bool parameter, but passing various constants
through it.
Make the constants into an enum, and use the enum in the GetAttribs
call.
Change-Id: I3010397dfe83b24db3946b9dea2fb37f4393abdd
2014-04-04 13:44:16 +02:00
0523304875
svl: sal_Bool->bool
...
Change-Id: I6938314a08d061d2b07d9129742d74a989bd1385
2014-04-03 09:17:52 +02:00
95c45ef7b8
Avoid possible resource leaks by boost::scoped_array
...
Change-Id: Iffc9d1ca971610bad9b3dd2bd9a6cd00f02ff39b
2014-03-30 03:40:26 +09:00
1db5a63365
typo: selektion -> selection
2014-03-29 19:16:31 +01:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
447e910c19
editeng: simplify deprecated XTypeProvider.getImplementationId
...
Change-Id: I4135695eccb486e5df180f98a247755ba85a9454
2014-03-10 17:39:54 +01:00
ded5965ce8
editeng: sal_Bool->bool
...
Change-Id: I51b4ae54c2c440d38879439f74d4fea39d243004
2014-03-03 08:59:38 +02:00
82ce4dd607
editeng: sal_Bool->bool
...
Change-Id: Icfda5e8e774b9b5a6c3d99b636e4ce772b93139d
2014-03-03 08:59:38 +02:00
ec960fd3de
editeng: sal_Bool->bool
...
Change-Id: I767aa3d25f6d18e8a6e23b4d3f8d038d581ac292
2014-03-03 08:59:38 +02:00
0f60ab5ebf
editeng: sal_Bool->bool
...
Change-Id: I4fc276e320294d57eb667b6db8e5eff078bc28b3
2014-03-03 08:59:37 +02:00
0786a72308
editeng: sal_Bool->bool
...
this had to be done in conjunction with changing
include/svx/unoshtxt.hxx
because there are two virtual methods "bool IsValid" in two different
base classes and some subclasses are overriding both base-class
methods at once.
Change-Id: Ib43fc5000b443057caaa513b4efeaa6fd16e4260
2014-03-03 08:59:36 +02:00
710178094d
Remove visual noise from editeng
...
Change-Id: Id7582119a5628cb7f54347678580ce7e47f6d703
Reviewed-on: https://gerrit.libreoffice.org/8255
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2014-02-27 07:26:53 -06:00
b46f93a3c5
editeng: sal_Bool->bool
...
Change-Id: Ic59e48341f69b8c6e6fe77b05eeebac56a2c53e7
2014-02-27 12:30:30 +02:00
ef16d954c2
editeng: sal_Bool->bool
...
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-27 12:30:25 +02:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
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
db0222881b
editeng: sal_Bool->bool
...
Change-Id: Ie2c8bf805461d61de2dfa2658160fd612959932c
2014-02-21 12:19:25 +02:00
d9fd1d5310
remove unused return value from method
...
Change-Id: If8ad6d01e92bb6df429acca03df0b40a4e2b7f1d
2014-02-21 12:19:20 +02:00
12f1faf7bf
svl: sal_Bool -> bool
...
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
811e6f6745
coverity#738003 Uncaught exception
...
Change-Id: Iddb64e592ae47dd5f22430778b8018fc8c9880c5
2014-02-13 21:04:53 +00:00
1c71cef7f8
coverity#707769 Uninitialized pointer field
...
Change-Id: I449173ea1c4418cc2cc978862fe465e33e7b4338
2014-02-13 14:56:25 +00:00
a79f1097ee
sal_Bool->bool
...
Change-Id: Ie477a46fae2b8c4deb55435f3769ba74037dd259
2014-02-12 09:01:08 +02:00
3cbfcee36d
xub_StrLen and tools/string.hxx final straw
...
Thre is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases
Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
Reviewed-on: https://gerrit.libreoffice.org/7787
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2014-02-03 07:44:28 +00:00
93ef9a43a5
fdo#54938 Convert bridges, editeng and others to cppu::supportsService
...
Change-Id: I7ff5189473c3e0831c2f1e95264d1a04f3b716a9
Reviewed-on: https://gerrit.libreoffice.org/7761
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 17:38:09 +00:00
6bdd60462f
bool improvements
...
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
2014-01-28 20:24:39 +01:00
887bc4dd3e
cp#1000025: Import casemaps from pptx.
...
Note: This only imports it and it may not be
even possible to export (even to othe formats).
Change-Id: I8e104f1bc3a95c42ac932b6ab58365dc113fb2e0
2014-01-27 16:23:44 +05:30
747ba6295d
bool improvements
...
Change-Id: I2a0980a603822ffdf74a38ba0b41ba27a6830861
2014-01-22 11:39:21 +01:00
3257e9a47a
bool improvements
...
Change-Id: Ia212b8f80da70de7796f0d8ba817c8d3da693080
2014-01-22 08:22:32 +01:00
a62c2a5fa5
Don't hold css::uno::Type instances by pointer
...
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the
arrays of such need to be initialized dynamically anyway, also change their name
members to proper OUStrings while at it. Plus some const clean-up.
Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-12 08:26:40 +01:00
123e2c3e93
Revert "Don't hold css::uno::Type instances by pointer"
...
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now:
Ach, old GCC doesn't like plain string literals to initialize members
of OUString type...
Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11 15:38:30 +01:00
90f91088d2
Don't hold css::uno::Type instances by pointer
...
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the
arrays of such need to be initialized dynamically anyway, also change their name
members to proper OUStrings while at it. Plus some const clean-up.
Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11 15:16:51 +01:00
7b9c61c7f2
editeng: fix more 32-bit Time breakage
...
SfxDateTimeItem and SvxExtTimeField need to use 64-bit integer to store
Time as well. These classes also have binary serialization
Load()/Save() methods but they are unlikely to be used in a persistent
way, just for the clipboard.
The problem is easy to reproduce in Impress: Insert->Field->Time(fixed)
(regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a)
Change-Id: I5946c5b94dd5a509805b6dc40461bbd910caffc4
2013-12-10 15:28:53 +01:00
1f1fa03f4f
rewrite new SvxEditSourceHelper::GetAttributeRun replacement in new style
...
Change-Id: I906e99afb58dcee3e47a545f575aab71b7edc0e9
2013-11-26 15:27:17 +00:00
c23ab5eaed
Integrate branch of IAccessible2
...
WaE: Reorder initializations to prevent compiler warnings.
(cherry picked from commit c05431aa92fa2c7c7258418a6ecd651b5c26d982)
WaE: unname unused variable to prevent compiler warnings.
(cherry picked from commit 2259256a390c4b6f83cfb5dbe4a65df5032aee47)
Conflicts:
editeng/source/accessibility/AccessibleEditableTextPara.cxx
ad61537527a74670af266feb9e4d26d2d654daf7
66044902b8d94fc15d4c30270e6cc419fb7d3565
Change-Id: I3ec9798f2c7d854824722c0cf44b62128b4f4cb4
2013-11-26 15:27:17 +00:00
73342dbb82
remove unnecessary RTL_CONSTASCII_STRINGPARAM
...
A final pass through the code, converting code to use the new
OUString and OString methods that can detect string literals.
Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22 08:07:19 +02:00
2c35fff7ec
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
...
This is largely unnecessary when working with OUString
Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-19 10:29:30 +02:00
c400d41b93
Some clean-up
...
Change-Id: I87cc4a6840090076007d268ae19eb2cfd3408e7c
2013-10-23 12:23:00 +02:00
8f6d2eef50
fdo#54938: Kill ServiceInfoHelper::supportsService and use cppu's instead.
...
Change-Id: I1c2d95e4c3fb6242dcb4cdb88cf9733471a3412b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2013-10-23 11:05:43 +02:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
d3ca36915e
More SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around std::auto_ptr
...
...as needed by Clang trunk towards 3.4.
Change-Id: Ibbfe9cb0ec03e0aed939d769feee9e046af4741f
2013-10-02 16:49:49 +02:00
98de5b40c8
Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
...
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
91bacda04a
fix windows build after my OUString change
...
std::max on windows doesn't like mixing int and sal_Int32
Change-Id: I0ad74f72d48a4bc7fea2d7d8a57e3d2f0b7d7bca
2013-09-11 10:24:49 +02:00
eaef61939b
convert editeng/source/uno/*.cxx from String to OUString
...
Change-Id: If709d2ce0aea90133b2b243bb9ecb77d64ca065b
2013-09-11 09:45:37 +02:00
a2ea07f0b9
convert include/editeng/editdata.hxx from String to OUString
...
Change-Id: I5bdb26880448ce0f71bf1b6639fcf2db3e472a50
2013-09-11 09:45:34 +02:00
c049ec8589
convert include/editeng/outliner.hxx from String to OUString
...
Change-Id: I53a9f334845e163625ed245859bdeb030ae61baa
2013-09-11 09:45:32 +02:00
02740cbe0a
Related: fdo#38838 drop String::EmptyString now as well
...
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08 20:44:26 +01:00