1642 Commits

Author SHA1 Message Date
Kohei Yoshida
80df527758 Avoid exposing aText; encapsulate it.
Change-Id: I7f6ba0735830b55e35b7e352a5e31fdda47a8dfb
2013-10-08 15:44:34 -04:00
Kohei Yoshida
f4bda54cda Re-implement interning in order to return both string arrays.
One is for the cased string and the other one for the non-cased one.

Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
2013-10-08 15:44:33 -04:00
Marcos Paulo de Souza
7235d23267 fdo#54938: Adapt supportsService implementations to cppu::supportsService
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316
Reviewed-on: https://gerrit.libreoffice.org/6035
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-07 17:01:33 +00:00
Kohei Yoshida
3ff650d565 Rename StringPool to SharedStringPool because that's what it is.
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
2013-10-04 19:15:26 -04:00
Kohei Yoshida
f6ec667273 Add methods to extract string IDs from edit text object.
Note that a single edit text object may have multiple string ID's in case
it consists of multiple paragraphs.

Change-Id: Ie90541de38a639c30a010817dada389e9445d08c
2013-10-04 19:15:24 -04:00
Kohei Yoshida
279ae51161 Add method to normalize strings in EditTextObject.
Change-Id: I1adb57279db0afeb8387599ec11984380e5a2e4a
2013-10-04 19:15:21 -04:00
Jan Holesovsky
ad7b757a25 'ist' -> 'is' here and there.
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-04 20:27:30 +02:00
Philipp Riemer
35607cbcee bWeiter -> bContinue
Change-Id: Ia0bba3c1610dce5d364fb584f04e0b66cc41fb20
Reviewed-on: https://gerrit.libreoffice.org/6077
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-02 15:14:09 +00:00
Stephan Bergmann
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
Stephan Bergmann
e1f6731187 -Werror,-Wunused-const-variable
Change-Id: I8e382aaa44144693d99c0442942e25f3b5a9b297
2013-10-02 16:49:34 +02:00
Stephan Bergmann
590359618a -Werror,-Wunused-const-variable
Change-Id: I0daea62642ea19e500287681070ebfd071d08da6
2013-10-02 16:49:33 +02:00
Caolán McNamara
165aca6a01 Resolves: rhbz#1013480 crash in EditLineList::operator[]
avoid crashing anyway, though unknown how to end up in
this scenario

Change-Id: Ib602c73478e5c4772cfef73f70c67ad22877a39f
2013-10-01 15:16:57 +01:00
Noel Grandin
9c15d1ad18 in editeng module, convert remains of String to OUString
Change-Id: I634e1fc2b63461d94a9e7d27c809d559740da7c0
2013-10-01 10:08:37 +02:00
Noel Grandin
fd8f8bdaad convert last bits of include/editeng/svxacorr.hxx from String to OUString
now that Caolon has fixed the bugs in the auto-correct

Change-Id: I06c31c22974fd23c6e6c14f1b3d0b6411712753f
2013-10-01 10:08:36 +02:00
Caolán McNamara
64b720dce8 Related: fdo#38838 remove UniString::SearchAscii
Change-Id: Icb7850aaabe59f96ea26a665a8d25617b2741d68
2013-09-30 11:04:22 +01:00
Caolán McNamara
b3a8056a49 Related: fdo#38838 remove UniString::SearchBackward
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-27 11:16:11 +02:00
Caolán McNamara
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Laurent Balland-Poirier
2f4d7eacab fdo#54686 Treat hard blank as soft blank in number
AutoCorrect option "Add non-breaking space in French..." insert
non-breaking space (hard blank) and avoid recognition of percent
number and time number. This patch treats hard blanks as soft blank
in number format recognition

Rev.#1: change #define to const variable. Same change in svxaccor
Rev.#2: improvements

Change-Id: I30c2c36778cb53a0238a0829043dad4d709f97d2
Reviewed-on: https://gerrit.libreoffice.org/6015
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-09-23 20:34:46 +00:00
Ivan Timofeev
6536270e14 remove unused members from OutlinerView
Change-Id: Iac32c42afef80e01af70479e5b2f9de4e1dfab26
2013-09-22 20:01:15 +04:00
Michael Stahl
8230c26e3d gbuild: add gb_Library_use_restarget
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
2013-09-22 11:08:28 +02:00
Eike Rathke
a641bbff59 map autocorrection files with LanguageTag key
... as several tags (i.e. renamed) may map to the same LangID.

Change-Id: I8202b18ea0dc8034522017be59bb104b3d06c0f4
2013-09-21 15:30:00 +02:00
Caolán McNamara
163975fd41 convert SvxAutoCorrect::DoAutoCorrect to OUString
which makes autocorrect in the editengine work again

Change-Id: I97d56448e4abd6e563479ffee706b86cb04199ec
2013-09-18 15:06:21 +01:00
Caolán McNamara
5b6dcac8dc comparision of STRING_NOTFOUND to OUString::indexOf
Change-Id: I5ad12b594143a3e9ab2399836d30e48deb656639
2013-09-18 15:06:20 +01:00
Caolán McNamara
9bb1b4c5a1 don't access string out of bounds
Change-Id: I1cee53bc864efaa4ae3b4462111cad4dc80e82be
2013-09-18 15:06:20 +01:00
Caolán McNamara
7f76c90a98 silence annoying warning
Change-Id: I90c77df2ef8424ece5b8b37097d62bd5e8955616
2013-09-17 14:47:43 +01:00
Caolán McNamara
98214397cd don't access string out of bounds
Change-Id: I304b74270f73b9f94568edf2613e2581459cc4f9
2013-09-17 14:47:09 +01:00
Caolán McNamara
7fff7c6aab unfold this god-awful mess, logic unchanged
Change-Id: Ib76617e3c500268dfe423b9947100f6ce7f0eaec
2013-09-17 14:47:08 +01:00
Noel Grandin
90830788b1 convert the SvxAutoCorrect::FindIn* methods from String to OUString
Change-Id: Ida2f39b75f73137a4164d95d7f1e9a6cd34a322f
2013-09-17 09:06:12 +02:00
Noel Grandin
cb4e009c45 convert GetText/PutText in SvxAutoCorrect from String to OUString
Change-Id: Id3d2122d949a7ae940e908ee7c82e6f105b68f40
2013-09-17 09:06:08 +02:00
Noel Grandin
d63c3f0cf8 convert some more methods in SvxAutoCorrect to OUString
Change-Id: I843784dbc63501cd533c19f7ed5151fbe8e48d83
2013-09-17 09:06:04 +02:00
Noel Grandin
8b6f54fe37 convert fields in SvxAutoCorrect from String to OUString
Change-Id: I2b62c782ad538fe12fb3104bcb687c26291e3a0b
2013-09-17 09:06:01 +02:00
Noel Grandin
d559f1693a convert the auto-correction methods in SvxAutoCorrect to OUString
Change-Id: I725d59ad2a4ac7b372cad4d599af1554c4c4b463
2013-09-17 09:05:57 +02:00
Zolnai Tamás
922e4ba299 Use the shorter GetScaledWidth() method
Change-Id: Id3ad483d3830310b8d13c86e407ff88d9a709464
2013-09-15 18:45:57 +02:00
Caolán McNamara
8b3cbc7115 Related: fdo#38838 remove UniString::ToLowerAscii
Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
2013-09-13 15:24:45 +01:00
Caolán McNamara
d908422f57 Related: fdo#38838 remove XubString alias
Change-Id: I29efbe2bee94c0059f5a2e3dc4d163375e439e1a
2013-09-12 13:09:03 +01:00
Tor Lillqvist
3bd07839d6 WaE: C4701: potentially uninitialized local variable 'pGraphic' used
Change-Id: If726ed1d8b7db0c4bbf27fc9456e5eedd9e28924
2013-09-12 13:41:01 +03:00
Thomas Arnhold
4f702470a2 Related: fdo#38838 Remove String::SearchChar()
Change-Id: Ide40e0ef91aec04c2ae274aaf2a957dd5064854c
Reviewed-on: https://gerrit.libreoffice.org/5894
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11 11:31:06 +00:00
Tomaž Vajngerl
80503eb9b5 Prevent crash: pNode->GetWrongList() can return NULL
Change-Id: If3363271f72dae7581ac41542f890eaebed38e6c
2013-09-11 13:10:59 +02:00
Ricardo Montania
80e5e65c93 String cleanup
Conflicts:
	cui/source/tabpages/backgrnd.cxx
	editeng/source/items/frmitems.cxx
	editeng/source/items/numitem.cxx
	include/editeng/brushitem.hxx
	include/svx/xoutbmp.hxx
	sc/source/filter/html/htmlexp.cxx
	sc/source/filter/html/htmlexp2.cxx
	svx/source/core/extedit.cxx
	svx/source/core/graphichelper.cxx
	svx/source/sidebar/nbdtmg.cxx
	sw/source/ui/shells/txtnum.cxx

Change-Id: I1f548a01574a18e3f3a402ee491358fa36b349e7
Reviewed-on: https://gerrit.libreoffice.org/5907
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-11 09:34:18 +00:00
Caolán McNamara
08163c1cb3 single arg String::Erase erases to end of string
Change-Id: Ifc77b9d0b83a784ec4e4659b83fe8356e54e279f
2013-09-11 10:14:51 +01:00
Noel Grandin
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
Noel Grandin
5926f48a45 convert some XubString to OUString in editeng
Change-Id: I49b9a4e148510d68807fbb720a8c32d542853f8b
2013-09-11 09:45:39 +02:00
Noel Grandin
3b8283a87c whack unused define REDUCEDSVXFONT
Change-Id: Id7be6b903a6acd526fa2cecd18347f40b9b4457d
2013-09-11 09:45:39 +02:00
Noel Grandin
be5b8202f8 convert various bits in editeng from String to OUString
Change-Id: If8b0da1e6b6e3f1f0a0f4946c7741fd5aec66aa6
2013-09-11 09:45:39 +02:00
Noel Grandin
d169dd2679 convert editeng/source/editeng/*.cxx from String to OUString
Change-Id: I4063b427f050de0a179e6436fb647614bacd704c
2013-09-11 09:45:38 +02:00
Noel Grandin
b782e6e4d1 convert ContentNode in editeng/source/editeng/editdoc.hxx to OUString
Change-Id: Ifea43a3c38c141bc0586af2f95f27db95a12ffbb
2013-09-11 09:45:38 +02:00
Noel Grandin
c608782dc3 convert editeng/source/misc/*.cxx from String to OUString
Change-Id: I9ed5ec9430abcf8d3794e7baa6532e0f8449046d
2013-09-11 09:45:38 +02:00
Noel Grandin
6322b703ec convert editeng/source/items/*.cxx from String to OUString
Change-Id: I981311701ce6f7f4571c098c9f48e51288a1608a
2013-09-11 09:45:38 +02:00
Noel Grandin
eaef61939b convert editeng/source/uno/*.cxx from String to OUString
Change-Id: If709d2ce0aea90133b2b243bb9ecb77d64ca065b
2013-09-11 09:45:37 +02:00
Noel Grandin
94be56921f convert editeng/source/editeng/editdoc.hxx from String to OUString
Change-Id: Ic329f4c218a6ee49b3e223b38a092fe368c5f0fa
2013-09-11 09:45:37 +02:00