c94f12a389
nOrigTxtStt is never read
...
Change-Id: I9ace298d66aaaa46cecdeacfc633144715535e50
2014-03-02 20:18:03 +01:00
d0feb9d89d
Rework SwAutoFormat::IsBlanksInString
...
The old code was convoluted and suffered the following issues:
* Relied on OUStrings being zero-terminated, which is not granted
* Systematically missed the end of string, accessing unrelated
memory, in case there was just a single trailing space
Change-Id: I98dd0f94a8f48f40c467a02dfd01c7866266d9d4
2014-03-02 20:18:02 +01:00
e9ac4088d9
Avoid consecutive OUString appends and a temporary
...
Change-Id: Iee8998a4947a253f869fefb7bde316e3d3b4129b
2014-03-02 20:18:02 +01:00
aa5b337bff
Add EditPaM::operator !() and simplify EditSelection::IsInvalid
...
Change-Id: Id47d77e63eff2267f5e4112b88dfb90c3ec95bd8
2014-03-02 20:18:02 +01:00
95412052fa
sal_Bool to bool and some optimizations
...
Change-Id: I6a42b78caaff962368b83def8e291d6b6c50abb1
2014-03-02 20:18:02 +01:00
3ebec5e576
Return value of EditSelection::Adjust is never used
...
Change-Id: I32770f34819cf737beeef4d22a26538d9ac357a5
2014-03-02 20:18:01 +01:00
7cfccf98c1
sal_Bool to bool, with some optimizations
...
Change-Id: Ia1c73cf97e93a999147ce82ebb18767743adf2fc
2014-03-02 20:18:01 +01:00
b39275d483
Use EditSelection::HasRange
...
Change-Id: I6be00dc99e40bb190647cd5007431d4cca750024
2014-03-02 20:18:01 +01:00
7e9df2ba48
Avoid temporaries just used as return value
...
Change-Id: I4b7fc7103cac3acd5561754fc15b7f7b40c041fe
2014-03-02 20:18:00 +01:00
4f27cf97e6
Use existing method instead of hand-writing
...
Change-Id: If28620d1e0c8b719e2d0de41831e52b238113308
2014-03-02 20:18:00 +01:00
c694a34261
EditLine::CalcTextSize - nIndex is updated but never read
...
Change-Id: Iec96535e154e0467fe5e89264782efa30837bff9
2014-03-02 20:18:00 +01:00
3b7d6284e5
Avoid a check and use plain arithmetic
...
Change-Id: Ie475a6f7d523d5aa6c0ef1952adce56caeac347b
2014-03-02 20:18:00 +01:00
a90760a056
Use OUStringBuffer instead of rtl_uString in EditDoc::GetText
...
Change-Id: I292c2b726de3e6c27f05fdf7612fe057ae9f94ad
2014-03-02 20:17:59 +01:00
0ea119318a
Use mutable instead of casting this
...
Change-Id: Ifdf6334af72637b1c18a9ea2bd2be317d5ae8b20
2014-03-02 20:17:59 +01:00
778e65cc2a
Bail out early and avoid temporaries
...
Change-Id: Iee0f72995c59c03189c6e187c7e24f9247ff844d
2014-03-02 20:17:59 +01:00
990a6328d1
D'oh! I forgot something in commit 3e43a891e89aa6eb8eeecd9d3528f2a002371646
...
Change-Id: I2bd3c13eccd94dfb06d2245dd68e97f08c50cbdb
2014-03-02 20:17:58 +01:00
387b9122b0
Do not use heap for two temporaries
...
Change-Id: I49750170fbe68159fc5555ca686344857156c18d
2014-03-02 20:17:58 +01:00
baed26b0c5
sal_uInt16 to size_t
...
Change-Id: If3cbea546716b7476e362e9b19f4656b27ff34a2
2014-03-02 20:17:58 +01:00
f46d23e242
sal_Bool to bool
...
Change-Id: Ie04d9314f66bcda8e1c7939248af79a15fbdaaeb
2014-03-02 20:17:57 +01:00
04deb742f6
Don't use tricks to get normal C++ features
...
* Use "mutable" to allow modification of a flag, maintaining logical constness
* No need to explicitly cast this to the base type inside a base class method
Change-Id: I50c015ba977d93e82331c97259d9f9fb774bb198
2014-03-02 20:17:57 +01:00
0d5652ab10
sal_Bool to bool
...
Change-Id: If63bfcfe4e16dd9232f3ef6fa29fadd0a6d01653
2014-03-02 20:17:57 +01:00
b514300565
pProgress is always NULL
...
Change-Id: I278103075582a0f0a5cde7b749db408c5912f82e
2014-03-02 20:17:56 +01:00
7f7e8673d3
bStopPrt is always false
...
Change-Id: I14559b1360ae9f845e0054c5125f1280d9786dff
2014-03-02 20:17:56 +01:00
2d7ece16a2
sal_Bool to bool
...
Change-Id: Iad75baebdf868cdd2ad13d23299385564277010e
2014-03-02 20:17:56 +01:00
a8155e3d77
sal_Bool to bool
...
Change-Id: Ib1db475feea0f8fdbb724273cc368f41d39e50c8
2014-03-02 20:17:56 +01:00
2e0f89980f
writerfilter: convert sprm:P{TableDepth,FInTable,Cell,Row}
...
With this, source/ooxml no longer depends on the 'NS_sprm' namespace
doctok provides.
Change-Id: I58d5514dea25f1fbc8806863d976f6a24934ea61
2014-03-02 19:53:39 +01:00
92ca6ef11d
curl (bundled): fix logic breakout
...
use --with-nss only on platforms other than Mac OS X and iOS
(see commit 4e8ab2198819551d07f303f80d2bd5f5ae53bc6e)
Change-Id: Ie6cb35ea5f5db2d08f303f70d1559188912ba8e5
Reviewed-on: https://gerrit.libreoffice.org/8418
Tested-by: Michael Stahl <mstahl@redhat.com >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2014-03-02 12:06:46 -06:00
2fdce9d0f7
add missing deps
...
Change-Id: I86a0098b64e02a438c5660ea8b391a9737473aa3
2014-03-02 18:04:19 +01:00
09f27e518b
fix strict namespace list generation
...
The two perl scripts were apparently only generating the same order by
luck. It did not work on all systems.
Change-Id: Ib83ee5c6572d3bae2e2ac1846850bd65303e7d43
2014-03-02 17:56:15 +01:00
54ebae0eae
remove whitespaces
...
Change-Id: I624ca41c3e51ba785e359649c429feb61cc9a647
2014-03-02 17:56:14 +01:00
b7381c5197
make more places aware of OOXML strict relations
...
Change-Id: I292217537eb592cbad9af11f87402baa9f4cc442
2014-03-02 17:56:14 +01:00
54ca9821b2
fix one more relation type for OOXML strict
...
Change-Id: Ia63309271ac225883540ca0453fc5da21844d3ad
2014-03-02 17:56:14 +01:00
3e82e55241
no need to add another layer of macros
...
Change-Id: I49992559a7d10127d55dbf0c7e257c86619fd8d6
2014-03-02 17:56:14 +01:00
37021dfb3f
fdo#72448 fix gradient color/transparency pos. in SVG export
...
Change-Id: If65ffb9ac71eda95d8b5c4b35fd5828795b0469a
2014-03-02 12:25:37 +01:00
bbd51100fa
fdo#59329 Fix docked window border lines
...
This patch completes the missing border lines. This is intended
for versions 4.1 and 4.2 only.
Change-Id: Ib15cb3b01dca4631f643a0036475cf684793d256
2014-03-02 13:24:06 +03:00
09155190d8
Variable not used but remove some wrong characters
...
Change-Id: I2206225309becff134e8f719959d976f71fcde27
2014-03-01 23:17:02 +01:00
d5890e87ab
Merge HTML detection to text detection service
...
Setting the filter name explicitly is not really required,
because TypeDetection::impl_checkResultsAndAddBestFilter
is able to select the correct filter anyway. But it seems that
other detection services also do it, so I followed that way.
Change-Id: I6e73fa79c6867d82f98d63e8d2b7865446f088ef
Reviewed-on: https://gerrit.libreoffice.org/8213
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us >
Tested-by: Kohei Yoshida <libreoffice@kohei.us >
2014-03-01 14:45:45 -06:00
d739b01b9f
Adapt rtl_uriConvertRelToAbs to RFC 3986
...
...which updates RFC 2396, removes the requirement that the base URI's path
starts with a slash, and clarifies how to treat excess "." and ".." segments.
This nicely allows handling of those odd vnd.sun.star.Package URLs as intended
now, so that making <foo> absolute relative to base URL
<vnd.sun.star.Package:Pictures/bar> yields <vnd.sun.star.Package:Pictures/foo>
instead of provoking a MalformedUriException.
Change-Id: Ice84303a57698a2c05d3a45541fe78b67450fa3c
2014-03-01 19:28:15 +01:00
58f033569a
Fix construction of non-ASCII test string
...
Change-Id: I495ba4e2394bf0fd09b4d0f0111f9b8531674733
2014-03-01 19:28:14 +01:00
7211162081
Clean up uses of rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength
...
Change-Id: Ie37614dac882bfe05f8ce595ae6b20326dce872e
2014-03-01 19:28:14 +01:00
2f527738ea
Set the default cell border line width to 0.75 pt in Calc.
...
0.75 pt provides a better interop with Excel documents.
Change-Id: Ic1d2cbbe4e35dc0793a0e35d3836261d91138f7c
2014-03-01 12:57:35 -05:00
d3f96d7458
DomainMapperTableHandler::endTable: fix this comment
...
Change-Id: I0c22123d8b1707092938474891e2469e32a1823d
2014-03-01 17:41:32 +01:00
cd79d4a25d
writerfilter: remove last sprm tokens from ooxml/model.xml
...
Change-Id: I3b18ed95bd0144240a586fefb2b1deb0bcd658c4
2014-03-01 17:30:47 +01:00
f6141d884b
fdo#71043 - Use STACK lint tool to clean code
...
The code is using a pointer without check if it is not null.
Change-Id: Icb2dcf8d41a35514e18a5881f59399951b3e0493
Reviewed-on: https://gerrit.libreoffice.org/6529
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2014-03-01 10:01:25 -06:00
8792ec7b21
Remove visual noise from include
...
Conflicts:
include/framework/preventduplicateinteraction.hxx
include/sfx2/sfxbasecontroller.hxx
include/sfx2/sfxbasemodel.hxx
include/toolkit/awt/vclxtabpagemodel.hxx
include/vcl/field.hxx
include/vcl/settings.hxx
Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2
Reviewed-on: https://gerrit.libreoffice.org/8272
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-03-01 09:51:32 -06:00
dff29fadfe
import date cells from OOXML
...
Change-Id: Id0b9ec034d559d489ca4ee2d1d6aca1bdf1beb9d
2014-03-01 16:36:51 +01:00
6471204afd
remove empty lines after comment removal
...
Change-Id: Iad5cb7303f3797c06a53651b0f0c7e7c2273ef55
2014-03-01 16:23:09 +01:00
e34870c239
support OOXML strict documents in Calc
...
Change-Id: I277d76aeec28e173d913ccc1506464afe4d09c6d
2014-03-01 16:23:09 +01:00
6ba394e611
handle OOXML strict namespaces
...
Change-Id: I198862388426161e3f054a5f128639c59f3c9d24
2014-03-01 16:23:09 +01:00
a143beb3a0
make sure the two namespace lists are sorted the same way
...
Change-Id: I90b3182e10dbbfc8993010dd885509537d2fe537
2014-03-01 16:23:09 +01:00