Stephan Bergmann
d36e60f685
Adapt to Clang <= 3.4
...
Change-Id: If9c9d63d85ce29629e6453f2d69355bd64ac2fc5
2014-02-21 23:59:24 +01:00
Kohei Yoshida
180f593fbf
fdo#74345: Some shared formulas cannot be exported as shared formulas.
...
Excel's shared formula has some restrictions that Calc's doesn't have.
So we need to check each shared formula token to see if we can export
it as shared when saving to Excel. Refer to the "SharedParsedFormula"
section of the [MS-XLS] spec.
Change-Id: I0ffce26700d2773bbd2893743edc6c03682c2ed7
2014-02-21 17:55:47 -05:00
Kohei Yoshida
23d9591c6e
fdo#74345: Minimalistic test to reproduce this.
...
Change-Id: Ibaa25f974ff98a8a601acbab25041b16d3b8dee2
2014-02-21 17:55:47 -05:00
Stephan Bergmann
9377e44cf8
-Werror,-Wunused-function
...
Change-Id: Ic792930c291bae1cf18ffd65548908e910c69c45
2014-02-21 23:47:23 +01:00
Stephan Bergmann
fe7a4bccfd
Adapt vcl to various loplugin warnings on Mac OS X
...
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-21 23:47:23 +01:00
Stephan Bergmann
216bcceee1
Special handling of __builtin_expect in boolean expressions
...
...as found in Mac OS X' assert macro definition,
__builtin_expect(!(e), 0) ? ... : ...
with type
long __builtin_expect(long, long)
The code in literaltoboolconversion.cxx is needed for
assert(false);
Change-Id: I42f87482c56986af74b2ec849db9852f74c7c938
2014-02-21 23:47:23 +01:00
Stephan Bergmann
3316202888
implicitboolconversion: support for Objective C BOOL
...
Change-Id: Id63f42fa8875211af9f41c21f3fa128403f8a880
2014-02-21 23:47:22 +01:00
Stephan Bergmann
fa4afe020d
Handle ImplicitCastExpr w/ invalid loc from Objective C code
...
Change-Id: I82cb8aa53ea5fd86d6ff46af876dd3f55e1123d1
2014-02-21 23:47:22 +01:00
Stephan Bergmann
411fcfff58
ParentBuilder needs support for ObjCMethodDecl
...
Change-Id: I8883649da31eabbc5a0f9780fb953ad58f154e1e
2014-02-21 23:47:22 +01:00
Stephan Bergmann
278409c3f1
Allow building compilerplugins/clang on Mac OS X
...
(at least against a self-built Clang configured --enable-keep-symbols)
Change-Id: I6e38688c78f78aca1864530042159cdcef7a0694
2014-02-21 23:47:21 +01:00
Tomaž Vajngerl
0d2c1e6423
OOXML roundtrip test for w14:glow
...
Change-Id: I80dd71bad02be980229899845c1451df6f34dca5
2014-02-21 23:34:38 +01:00
Tomaž Vajngerl
3554f377ea
ooxml: export w14:glow with subelements from a CharGrabGab
...
Change-Id: I3e60f0532a18eba12f7a63c3e745668f54b8806e
2014-02-21 23:33:05 +01:00
Tomaž Vajngerl
02d8db735b
writerfilter: add more w14:glow attributes into GrabBag
...
Fix and add more attributes into the GrabBag, add attributes for
an element into its own collection.
Change-Id: I8d2e2fa35f4bc447c7e913e5c39223fc01f39d5a
2014-02-21 23:33:04 +01:00
Tomaž Vajngerl
22a5e4db00
writerfilter: fix w14 simple types
...
Change-Id: I5693b7570227e1a337f03febc28f5ea336b4af7f
2014-02-21 23:33:04 +01:00
Miklos Vajna
4b544037c4
writerfilter: convert sprm:P{WAlignFont,TightWrap,OutLvl}
...
Change-Id: Id2090637953d98e899481a2e802815cdc6244e50
2014-02-21 22:23:38 +01:00
Zolnai Tamás
27a03eb3ba
WW export: make line spacing export clearer
...
see also: SvxLineSpacingItem::PutValue
Move para spacing test from import to export and
remove a test case which tests a part of the same thing.
Change-Id: I96da9f6ac7851bd74e34ab4a6d2a2f3499549a87
2014-02-21 22:19:10 +01:00
Zolnai Tamás
d99c0e1481
DOCX export: remove some extra pPr tag
...
StartParagraphProperties and EndParagraphProperties
contains these lines.
Change-Id: I05cceb64cfa8c2b1673d44009ef1914fcf7f3e6d
2014-02-21 22:11:35 +01:00
Zolnai Tamás
12f22bd781
drawingML import: paragraph spacing inside group shape
...
unotext: a conversion was missing during the corresponding
SvxLineSpacingItem was filled with "ParaLineSpacing" UNO property.
Change-Id: I02559ed7e8b46150a88eed2bf20afdf084aec47b
2014-02-21 22:11:35 +01:00
Stephan Bergmann
a14f55e078
loplugin:implicitboolconversion, loplugin:literaltoboolconversion
...
Change-Id: I69bf7b3cace97dc7e1e5c362321b43d38dd36536
2014-02-21 21:56:02 +01:00
Tor Lillqvist
2462aa668f
Minor updates
...
Change-Id: I8f3580f10e8beee4103780be71a08929e9000bf0
2014-02-21 22:38:03 +02:00
Caolán McNamara
e9a049cf1a
fix mac build, c++11isms
...
Change-Id: I91dba6c054511554e90006aa66134b17cca206fe
2014-02-21 20:28:46 +00:00
Tor Lillqvist
6bc639523f
WaE: implicit conversion of literal of type 'const char *' to 'bool'
...
Change-Id: Ia0c05b93bbb5a399257d0e1ab8670aa95be01fd7
2014-02-21 22:24:15 +02:00
Tor Lillqvist
ae993046a9
WaE: unused variables
...
Change-Id: Ia5bdfd7db7ed2769b34e8dbd7e0ed7dbe5499d34
2014-02-21 22:24:15 +02:00
Tor Lillqvist
87dc2bfecf
Include <stdexcept> for std::runtime_error
...
Change-Id: I6ef2036f075c2992b692d9a227db257edc4a6955
2014-02-21 22:24:15 +02:00
Caolán McNamara
47cedf845b
other vclplugs need adapting
...
Change-Id: I83c54b27dc58dfeac72462d8c5eb92a08b5e8e2e
2014-02-21 20:20:23 +00:00
Tor Lillqvist
01f1dae0aa
WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
...
Change-Id: Icc60d9dbbc8be68bd1ac54c93bd2506af6c01c0c
2014-02-21 22:13:42 +02:00
Tor Lillqvist
c42719bf5d
This uses boost_headers
...
Change-Id: I3e587cf07674374c18fa49e0528c0d7f8605f0df
2014-02-21 22:09:49 +02:00
Tor Lillqvist
630ce26a25
WaE: struct/class inconsistency
...
Change-Id: Iedb9873bc36fa5854de56738351d3683e245024d
2014-02-21 22:07:07 +02:00
Tor Lillqvist
691f87b2f1
Surely no need to check for malloc, realloc, calloc and free
...
Change-Id: Ie2176e830d6c759657936b48c8ac6860aacf3d9d
2014-02-21 21:53:41 +02:00
Stephan Bergmann
b2a1384555
loplugin:literaltoboolconversion
...
Change-Id: I5796e8b4c156b13c5cab42bc0012d241efb1c4d9
2014-02-21 19:20:31 +01:00
Caolán McNamara
79b6edcb68
I missed a nullptr c++11ish
...
Change-Id: I048efbb816fc4f4e91eb3a80a16f3f82b52599e0
2014-02-21 17:34:52 +00:00
Caolán McNamara
c8ed599170
restore translatable Auto text
...
Change-Id: I379c48615f2934d451bf12c1b1005cc98e2e7d4f
Reviewed-on: https://gerrit.libreoffice.org/8162
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-21 17:24:56 +00:00
Tobias Lippert
076a7eacca
Bug #63962 Dynamically scan the config directory for icon themes
...
The hard-coded icon themes have been replaced by a dynamic list
which is filled by scanning the config directory
Conflicts:
include/vcl/settings.hxx
vcl/source/app/settings.cxx
vcl/source/window/window.cxx
Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed
Reviewed-on: https://gerrit.libreoffice.org/7935
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-21 17:23:50 +00:00
Miklos Vajna
1ec263e25d
DOCX export: initial support for the DateField form control
...
Before we started to import the date SDT as a form control, we exported
what is now the HelpText property on the control. So as an initial step,
export that back as plain text, without any formatting.
Change-Id: I569e6690b0c580d8073611b48d610f87974145b3
2014-02-21 18:11:00 +01:00
Tobias Lippert
a9cfb745c5
Replace handwritten reference counting with shared_ptr
...
This will help to avoid race conditions because the shared pointers
are thread safe and use atomic increments.
Conflicts:
include/vcl/settings.hxx
vcl/source/app/settings.cxx
Change-Id: Ie3d27d6412167855a0cea1442676b81b733c15e8
2014-02-21 15:38:03 +00:00
Timothy Markle
441ef2e9c6
Remove <!-- --> in <style> in writer export to HTML
...
Comment was used to hide <style> contents from old browsers.
No longer necessary for browsers now.
Change-Id: I1ffe77f9cc05b0c1579be379360a43a227420308
2014-02-21 15:36:08 +00:00
Alexander Wilms
42deae1e9d
Translate German comments and remove superfluous ones as well as visual noise
...
Conflicts:
sc/source/ui/view/select.cxx
sc/source/ui/view/viewdata.cxx
sw/source/core/text/redlnitr.cxx
sw/source/core/text/txtfrm.cxx
sw/source/core/text/txtftn.cxx
sw/source/ui/table/tabledlg.cxx
Change-Id: I23371b913514d656552bc6f7fb4ba554ee6a3694
2014-02-21 15:31:09 +00:00
Caolán McNamara
f6fef3a970
coverity#1130457 Uncaught exception
...
Change-Id: Ie65cdb00ec8823db329d2330ed142f4d841b095a
2014-02-21 15:30:27 +00:00
Caolán McNamara
ea89446d5d
coverity#1130458 Uncaught exception
...
Change-Id: I2fd30daef6df18d0ef25132f9c0e445f613da10f
2014-02-21 15:30:27 +00:00
Caolán McNamara
c7a6e0645a
coverity#1132721 fix exception specs
...
Change-Id: I1c499f8b994d29e265a66f4219d4c3fddb237a89
2014-02-21 15:30:27 +00:00
Caolán McNamara
59fa74396f
add missing modelines
...
Change-Id: I1823890217eb11ba4206b9fd28389c633c7c4f89
2014-02-21 15:30:27 +00:00
Caolán McNamara
6550fa5206
coverity#1132723 Uncaught exception
...
Change-Id: I2b3e85875a0f706a1dfdf0177337aa9fe71a3540
2014-02-21 15:30:26 +00:00
Caolán McNamara
09f9a79b11
[API CHANGE] fix endCDATA to allow throwing css::xml::sax::SAXException
...
coverity#1158397 Uncaught exception
Change-Id: Iabf0b1f0500cb4218d8cb3aff372777471e8f287
2014-02-21 15:30:26 +00:00
Caolán McNamara
c1587b74c1
coverity#1158357 Uncaught exception
...
Change-Id: I7d93f1c1a4e9c4b91c385d6f9e1aaab2fe635327
2014-02-21 15:30:26 +00:00
Caolán McNamara
b9cb27effd
coverity#1158515 Unused pointer value
...
Change-Id: I3c5be18ccd0f79079ed91f0793955b1ebab72586
2014-02-21 15:30:25 +00:00
Caolán McNamara
f19dd9ad20
coverity#706146 Copy into fixed size buffer
...
Change-Id: I1d774cff476a2ce7fe1e4b4ba1e64bc42a6ff27e
2014-02-21 15:30:25 +00:00
Caolán McNamara
7a7ecf164a
coverity#705963 Dereference before null check
...
Change-Id: I6371ef5e838d1e66ea9aeba75f554eea93426139
2014-02-21 15:30:25 +00:00
Caolán McNamara
0e0ac7cc65
coverity#705038 Explicit null dereferenced
...
Change-Id: I63f726764d68b92e2272951c9dde14ef3a60d6df
2014-02-21 15:30:25 +00:00
Caolán McNamara
7af46fb2f0
coverity#706691 Uncaught exception
...
Change-Id: I130f80a45f3d207c34bdc2b4b3cff9536fbe185c
2014-02-21 15:30:24 +00:00
Caolán McNamara
121446a6ff
coverity#737447 Uncaught exception
...
Change-Id: I416d5b7d42a5ea49f40a18aaf4e1041307914c33
2014-02-21 15:30:24 +00:00