1642 Commits

Author SHA1 Message Date
Noel Grandin
3659c4ebd1 convert editeng/source/editeng/editobj2.hxx from String to OUString
Change-Id: I12c71720c467d9afca5802b01db55401746f54bd
2013-09-11 09:45:37 +02:00
Noel Grandin
d5e11f5ffb convert editeng/source/editeng/editundo.hxx from String to OUString
Change-Id: Ie00d45230491776c441efd4f2c464a002129db43
2013-09-11 09:45:36 +02:00
Noel Grandin
a1c51f07c4 convert editeng/source/editeng/eehtml.hxx from String to OUString
Change-Id: I66475e324d4ce1ea3e349122eb55f67609a3905b
2013-09-11 09:45:36 +02:00
Noel Grandin
bc16bbb2e2 convert editeng/source/editeng/eeobj.hxx from String to OUString
Change-Id: Ie311cec1af5461d00ac7a620c7bda5cd00f03f55
2013-09-11 09:45:36 +02:00
Noel Grandin
832e5dc89a covnert editeng/source/editeng/impedit.hxx from String to OUString
Change-Id: I68ce6c002085b7c5abfd31c284ab2afa0bd233ad
2013-09-11 09:45:36 +02:00
Noel Grandin
b7c58f5532 covnert editeng/source/editeng/textconv.hxx from String to OUString
Change-Id: Icae973338acf98c07b2073641801a4843d4e0315
2013-09-11 09:45:35 +02:00
Noel Grandin
201f05e1b8 convert include/editeng/AccessibleEditableTextPara.hxx to OUString
Change-Id: I0416bb85985fe9620f7c0aa03def8896b811c9bd
2013-09-11 09:45:35 +02:00
Noel Grandin
da36b3dafb convert include/editeng/AccessibleStringWrap.hxx from String to OUString
Change-Id: I31c91ee196351abcd884240052359fac8aff6e1d
2013-09-11 09:45:35 +02:00
Noel Grandin
cfb4463d2a convert include/editeng/brushitem.hxx from String to OUString
and convert String* to OUString, no need to hold a pointer
to a ref-counted value type.

Change-Id: I79c62979ee8ec0d5e6d2efc50609ad5595571a7d
2013-09-11 09:45:34 +02:00
Noel Grandin
a2ea07f0b9 convert include/editeng/editdata.hxx from String to OUString
Change-Id: I5bdb26880448ce0f71bf1b6639fcf2db3e472a50
2013-09-11 09:45:34 +02:00
Noel Grandin
b929c66384 convert include/editeng/editeng.hxx from String to OUString
Change-Id: I92f69364667abec1b7a31080ce48fc55c4042165
2013-09-11 09:45:34 +02:00
Noel Grandin
d178cb406b convert include/editeng/editobj.hxx from String to OUString
Change-Id: I076ae20fb21accf8ff7e7fad096534e97ba7dab4
2013-09-11 09:45:33 +02:00
Noel Grandin
40abee2080 convert include/editeng/editview.hxx from String to OUString
Change-Id: I1d21fd48dfaa8cfe4a2807cd6e50e05db4c24e28
2013-09-11 09:45:33 +02:00
Noel Grandin
e7c7f96b41 convert include/editeng/numitem.hxx from String to OUString
Change-Id: If353e9ee792d58cb7ae3a20072c7208e8f2e6ef6
2013-09-11 09:45:32 +02:00
Noel Grandin
c049ec8589 convert include/editeng/outliner.hxx from String to OUString
Change-Id: I53a9f334845e163625ed245859bdeb030ae61baa
2013-09-11 09:45:32 +02:00
Noel Grandin
b0f07a9648 convert include/editeng/paperinf.hxx from String to OUString
Change-Id: I6b358d82c30bdb079c5adb26d8fbcc20684ad5b5
2013-09-11 09:45:31 +02:00
Noel Grandin
0f9976f9ce convert include/editeng/splwrap.hxx from String to OUString
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
2013-09-11 09:45:31 +02:00
Noel Grandin
76fa859ac1 convert SvxAutoCorrectLanguageLists from String to OUString
Change-Id: Ib10ec6b9ab8d3a6538a5e6cafa349774d123531c
2013-09-11 09:45:31 +02:00
Noel Grandin
7b3f9c7375 convert SvxAutocorrWord from String to OUString
Change-Id: If06144ebd511653bc7bcf51b2a408e5e1732cb83
2013-09-11 09:45:30 +02:00
Noel Grandin
11986b61b2 convert SvxAutocorrWord from String to OUString
Change-Id: I4f70ebb03d5028db77ab3d86eb884462c92ec9dc
2013-09-11 09:45:30 +02:00
Noel Grandin
ac85b6cff1 convert SvxAutoCorrDoc from String to OUString
Also:
- simplify the return type of the GetPrevPara method, there is no
  need return an OUString by pointer
- simply the ppPara parameter of the ChgAutoCorrWord method,
  passing a pointer to a pointer to a value type is unnecessary.

Change-Id: I4a8c44fdab1cf68af88c34003827d1c20704f839
2013-09-11 09:45:30 +02:00
Noel Grandin
bde5457dd6 convert SvStringsISortDtor from OUString* to OUString
There is no point in storing pointers to a reference counted value
type.
It complicates memory management without gaining us anything.

Change-Id: I756dfad740de3203d88ba48d0ebdfb8671b41cfb
2013-09-11 09:45:29 +02:00
Noel Grandin
19c8de15df convert SvStringsISortDtor class from String to OUString
Change-Id: Iad22ba07dd3dfbd5162fa4e16ebb5f44c5eb7811
2013-09-11 09:45:29 +02:00
Noel Grandin
987356e22f convert include/editeng/svxfont.hxx from String to OUString
Change-Id: Ibee55393373d4b8bc9e17effc2f2bdf862c17cc9
2013-09-11 09:45:29 +02:00
Noel Grandin
af40ffdcef convert include/editeng/svxrtf.hxx from String to OUString
Change-Id: I4251db20727a987a36bbdb48e423aed95d3b9011
2013-09-11 09:45:28 +02:00
Caolán McNamara
02740cbe0a Related: fdo#38838 drop String::EmptyString now as well
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08 20:44:26 +01:00
Caolán McNamara
7fd6d43c1d Related: fdo#38838 String::GetBufferAccess is now no more
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08 20:44:25 +01:00
Markus Mohrhard
8d36b558be inheriting from a standard container is a bad idea
Change-Id: I3346d38c720158ba37456c689e7d7f83bef3079c
2013-09-07 12:55:44 +02:00
Markus Mohrhard
871cc47c5e use a faster standard algorithm to workaround performance problem, fdo#68089
We have here an O(n^2) algorithm. At least using std::find_if here
improves the inner loop and fixes the problem with the bug document.

Change-Id: I88dea9434df6c669f4897927a721ad1518d7ca5e
2013-09-06 11:10:09 +02:00
Thomas Arnhold
9a0d753b84 String to OUString
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166
Reviewed-on: https://gerrit.libreoffice.org/5790
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 09:57:11 +00:00
Eike Rathke
a67763c10c was convertIsoStringToLanguage(), use convertToLocaleWithFallback()
Change-Id: I57df767ba5bfbd7b0f9cc7420de0ddbd2fa64685
2013-09-03 20:35:42 +02:00
Ivan Timofeev
0373742662 fix string conversion
regression from 710f41b7aec8e7d35a0da8be332aa289f98942af

Change-Id: I7c5e41294e072eceb036a24397fbb899a568587c
2013-09-03 10:29:24 +04:00
Caolán McNamara
ed0f0fa730 XubString->OUString
Change-Id: I5424a148c7173409e6e56f9483fcc769696707bc
2013-09-02 12:22:34 +01:00
Kohei Yoshida
b796e26863 Fix a crash when inserting a multi-line content into cell.
Change-Id: Idf2b6ca6873860a9bb3d2dae646b0383435e58c9
2013-09-01 14:48:50 -04:00
Kohei Yoshida
309c766d99 Separate misspelled ranges when entering a new cell value.
And store them at appropriate locations.

Change-Id: Iaf38c0cd01e9b3dc9dc98f7ccc1951d572a422e9
2013-09-01 14:48:50 -04:00
Kohei Yoshida
547f4fec93 First step toward showing mis-spelled words without modifying cells.
There are still tons of problems to fix.

Change-Id: Icae6e3d2c9b8b2266724d8d068abbab8acae96da
2013-09-01 14:48:48 -04:00
Caolán McNamara
9cbafe9085 XubString->OUString
Change-Id: I6db7b9e86ea6d17b5ba0a883136e0e4dbdd9e0b3
2013-08-29 10:26:53 +01:00
Julien Nabet
0c7e465670 cppcheck: Reduce scope
Change-Id: Ic93c6306cc90a8c7ed77c0aa7d5a898ee911b75f
2013-08-28 23:55:47 +02:00
Michael Stahl
4b798d89a5 fdo#68648: SvxNumRule: serialize the aFmtsSet flags too
The constructor of SvxNumRule initializes aFmts[i] with a format but
always sets aFmtsSet[i] to false, so SvxNumRule::Store()
and SvxNumRule::SvxNumRule(SvStream &rStream) need to be able
to round-trip that combination to prevent spurious numberings.

It is unlikely that this class is serialized in the table auto-format
files but i haven't checked; this change does not change the size of the
serialization so shouldn't cause trouble anyway.

(regression from a95cce27295f9cd255fa72eaded00972e3efb69b)

Change-Id: I589ea108ac069624aaa7b26cdc3bfe8182b15851
2013-08-28 23:30:35 +02:00
Kohei Yoshida
1e3c5948c3 Expose misspelled range container outside edit engine.
Change-Id: I04c87c5299559932733c88a317808241fd1755d4
2013-08-28 16:13:53 -04:00
Kohei Yoshida
ea59b6f5b9 const correct-ness.
Change-Id: If5c203844d245f370ac6fdb52c779561fb5f165f
2013-08-28 16:13:53 -04:00
Kohei Yoshida
97001b1e48 Use smart pointers for these.
Change-Id: I1a1e38dd36b2144a3e6b96886a56a11a023c47fe
2013-08-28 16:13:52 -04:00
Kohei Yoshida
6a4dd39379 Rename SectionAttribute to Section.
It fits better this way.

Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
2013-08-28 14:48:11 -04:00
Kohei Yoshida
53bb6c9871 String to OUString.
Change-Id: I35ac8e9480a7540e049dc251a1470a27f0c2eafd
2013-08-28 14:48:06 -04:00
Kohei Yoshida
6446ab4f23 No need to fully qualify these.
Change-Id: Ib5177530b7af15a5574245f53acfecd0ccce4b50
2013-08-28 14:48:02 -04:00
Kohei Yoshida
f4d60d44c3 sal_Bool to bool.
Change-Id: I3eef26d4ad07a93e044bf8dddddf2d922849435d
2013-08-28 13:38:53 -04:00
Kohei Yoshida
923d4435cc Fix incorrect logic in section attribute array construction.
And a new test case to catch it.

Change-Id: Ie51ddf185f70c656e7d838fc7016b5726efbdf3f
2013-08-28 11:17:46 -04:00
Kohei Yoshida
a4772f2ba4 Organize methods that update invalidated ranges for online spell checker.
Change-Id: Iaf9295e33e4771f39a085f6ee3cb88ebbf662ff0
2013-08-28 08:56:59 -04:00
Kohei Yoshida
2a58a45b82 sal_Bool to bool.
Change-Id: Ie6515c6025c3f199797850cc0941f1efa729cdca
2013-08-28 08:56:59 -04:00
Kohei Yoshida
fda6174113 IsInValid() => IsValid() and adjust its call sites.
Change-Id: Ic2c6f574632092073eb30c1a52d43a1524b12aaf
2013-08-28 08:56:59 -04:00