Commit Graph

352982 Commits

Author SHA1 Message Date
Takeshi Abe
decfecc3d2 Avoid possible memory leaks in case of exceptions
Change-Id: Ib74c40bb4ac11edf97b6843e983a911308fa4b98
2014-05-14 15:09:55 +09:00
Kohei Yoshida
146f6e7e68 fdo#76710: Adjust sheet position of conditional format entries.
When inserting or deleting sheets.

Change-Id: Ibf898350e22f092ec38b75ad98957832a5580e6a
2014-05-13 22:47:37 -04:00
Kohei Yoshida
dff4725f0d fdo#76710: Write test for this.
Change-Id: Ia0338d2839f0f319881948c208a74bee950da4af
2014-05-13 22:47:37 -04:00
Julien Nabet
a362f15f85 Typo: shoud -> should
Change-Id: I44f4fb9682a56af6654e1f7462dc37557d60e735
2014-05-13 23:26:20 +02:00
Julien Nabet
036a660a86 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
2014-05-13 23:20:26 +02:00
Caolán McNamara
e1f0d79083 Sub Title -> Subtitle
Change-Id: I1a0bcf7548699845752ac3cf49232655c2fb4fc0
2014-05-13 20:31:18 +01:00
Caolán McNamara
c1c152f0e4 coverity#1213522 Uncaught exception
and a gadzillion more

refactor to avoid slicing catch and rethrow

Change-Id: I5c05d1c151b81ff481eff8cd7544db9838143c71
2014-05-13 20:31:17 +01:00
Miklos Vajna
fe1ddbe3f2 sw: fix indentation in rtfattributeoutput
Change-Id: I9e9ac03a6e9eafc1aee787a95368a4b397d7375f
2014-05-13 21:04:48 +02:00
Miklos Vajna
4ab3a43b6c coverity#704862 Unchecked dynamic_cast
Change-Id: I97ae71335fb3a2658ca1c4a48c9092cdb4ee3733
2014-05-13 21:04:48 +02:00
Miklos Vajna
b735fe1d67 unused XFillStyleItem ctor
Change-Id: I28497670242a98fba0f5f507a6f634a6fe59c20e
2014-05-13 21:04:48 +02:00
Thomas Arnhold
894bddec06 coverity#735464 Logically dead code
Dead since initial import.

Change-Id: Ia9193aa2b90e9ea0e6960605d21a3c34468fc0f7
Reviewed-on: https://gerrit.libreoffice.org/9301
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-13 18:08:15 +00:00
Noel Grandin
7339ab25ee fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
this is a continuation of the above bug, removing SAL_INFO's
that only mark function entry.

Change-Id: Idb0f72481415594e3f8b7a11ad6e4b8835f6fca0
Reviewed-on: https://gerrit.libreoffice.org/9343
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-13 18:04:58 +00:00
Kohei Yoshida
286760359b fdo#78471: Don't forget to record the ID of the last record for BIFF5.
Shared formula import code depends on this.

Change-Id: Iecb009252c56673df33e0d681de825911154903a
2014-05-13 14:04:20 -04:00
Kohei Yoshida
14e2186544 fdo#78471: Write test for import of shared formulas from BIFF5.
Change-Id: I77fee109adf1c0decc6eb96cf2292f89fde1aceb
2014-05-13 14:04:20 -04:00
Matúš Kukan
054738256c loplugin:unreffun
Change-Id: Ifd544db272652e1e9c45093291ab7f8ae3dd53a0
2014-05-13 20:02:58 +02:00
Matúš Kukan
95bb3305ca loplugin:literaltoboolconversion
Change-Id: I7457e47866bd327cfc32a0b2d43ebd04c3c68dbc
2014-05-13 20:02:57 +02:00
Stephan Bergmann
fcf455d4ef Consolidate CreateTempName_Impl and lcl_createName
Change-Id: I4dbb917a6d9343f797859a2f24fa1d92b26a51eb
2014-05-13 19:27:01 +02:00
Stephan Bergmann
b7e05063cb Remove nonsensical code
...introduced with 2d8c990f87 "INTEGRATION:
CWS reportdesign01: #i79214# new method to allow to start not with zero."

Change-Id: Id141b2913ceb47c0c54f4449bdcdf5130c6f355b
2014-05-13 19:27:00 +02:00
Stephan Bergmann
a699927c56 Elide utl::TempFile_Impl
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
2014-05-13 19:27:00 +02:00
Stephan Bergmann
404e4d613e utl::TempFile::CreateTempName pParent is unused
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
2014-05-13 19:27:00 +02:00
Kohei Yoshida
a93bb27aa4 fdo#78402: Adjust references of validity entries as appropriate.
Change-Id: I7fd62153c7267a3d606b86d74bebecf6b8d75250
2014-05-13 12:37:14 -04:00
Kohei Yoshida
49bf3a1f5f fdo#78402: Write test for this.
Also discovered that when the "precision as shown" option is set, the validity
list would only show the first item from the list.  Turn that option on in the
test.

Change-Id: I9aaeeb3358709d965f51e406668c72cb94541cdb
2014-05-13 12:37:14 -04:00
Thomas Arnhold
47104bef17 upgrade to libpng-1.5.18
Change-Id: I500645d655fc7e7c850b09e47bece26e74197eb7
Reviewed-on: https://gerrit.libreoffice.org/9344
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-13 16:22:02 +00:00
Matúš Kukan
12ddc6d01b add externals for libmerged too
Change-Id: I6801745e25d31e951ed9d0dcf1e2d93aa55905e4
2014-05-13 17:17:52 +02:00
David Tardon
106d9b392b update libxmlsec config.* to support ppc64le
Change-Id: I4b31729481b7fd538483db5b6e39e1d80e03b3b6
2014-05-13 16:52:02 +02:00
Matúš Kukan
0bd49edc1f Use collada2gltf to open .dae files and convert them to .json.
Change-Id: Idb70da1db2516eeb6d518b39eb732a7e7d0a14ab
2014-05-13 16:34:49 +02:00
Zolnai Tamás
d575917016 Introduce Collada2gltf external library
Change-Id: I157f175ee6ea719e98ba45133f53cb4d2c3045bb
2014-05-13 16:34:49 +02:00
Zolnai Tamás
aa5fe7958d Introduce OpenCollada external library
Change-Id: I08a806b9319f7cb55be3b38a3bb9370799f6752b
2014-05-13 16:34:49 +02:00
Miklos Vajna
701f3dcb8d fdo#78657 writerfilter: tokenize a:hlinkClick
This is just the tokenizer part, though all the heavy-lifing in
model.xml should be now done.

Change-Id: I42a13637a29411d4ee8925d7f06336584d69f25a
2014-05-13 16:25:23 +02:00
Matúš Kukan
0727c09e24 BrowseBoxCheckInvariants appears to be unused [loplugin:unreffun]
Change-Id: Ie6c546ee085b20bd3eb39cdfb7b38394c0a35b67
2014-05-13 16:01:43 +02:00
Eike Rathke
9d48e8fdf4 sal_Int32 ComboBox::InsertEntryWithImage()
Change-Id: Iaa1ddc931b71fcdf08d571c7e3573a936d378709
2014-05-13 15:08:04 +02:00
Caolán McNamara
9959534635 convert copy table page to .ui
Change-Id: Id537486dcaf0d3c6ab850a9fb50cef3d995ad51f
2014-05-13 13:39:26 +01:00
Caolán McNamara
2fa751ba13 Updated core
Project: help  43d91a4743d30b2e4c194d991c865b7c4be7616c
2014-05-13 12:37:45 +00:00
Stephan Bergmann
1d72a0262c Related fdo#60338: Create missing temp file dir with user's original umask
For one, that is consistent with how ensuredir (in the same .cxx) has always
worked, and for another saves us from trouble with umask, cf.
034d4c1119 "Related fdo#60338: Setting umask for
osl::Directory::open is useless."

Change-Id: Ic3fb5bb29ca3031d257067a514cb9f5bccfbfe4f
2014-05-13 14:33:16 +02:00
Stephan Bergmann
034d4c1119 Related fdo#60338: Setting umask for osl::Directory::open is useless
Maybe 39c58e4162 "INTEGRATION: CWS
olefix: #i46469# use correct umask on unix" had intended to put it around the
osl::Directory::create call instead, but given the trouble of calling umask(3)
in a MT program at all, it is probably better to keep creating any missing
directories with the user's original umask anyway.

Change-Id: Idfddfdab05373a3c395daba635fddcc054f3f215
2014-05-13 14:30:53 +02:00
Jean-Pierre Ledure
e6c21ee479 Access2Base new release - V1.1.0
Access2Base library can be run to access a database defined in any form stored
in any AOO/LibO document. Now CurrentDb method may be associated with a form
object, not only with the root class.The OpenDatabase method allows any
AOO/LibO document to get access to tables stored in any database.
RunSQL, OpenSQL, database functions have been extended to be run from
a database object, not only as a command. The CopyObject (new) action copies
query definitions and/or table definitions and data.
Creation of table and fields without SQL with the CreateTableDef, CreateField
and Append methods. The Description property of a TableDef is writable.
New GetHiddenAttribute and SetHiddenAttribute actions hide or show any
AOO/LibO or Base object. SelectObject scope has been extended accordingly.
Addition of the SelStart, SelLength and SelText properties for text controls.

Change-Id: I163f3bcb0f63dc346e1bd23729356ebe556c6592
Reviewed-on: https://gerrit.libreoffice.org/9303
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-13 12:30:00 +00:00
Stephan Bergmann
533237fec4 Related fdo#60338: Restrictive open mode flags for tempfile w/o calling umask
Change-Id: Ia83cbe4c9352eb2a2cf317dd1fc5771ddc12c993
2014-05-13 14:16:10 +02:00
Chris Sherlock
82fa84e983 vcl: clipping functions moved from window.cxx to clipping.cxx
Change-Id: Iaaabbe2002b14540bdf4a51269909b44bf5d8880
2014-05-13 21:30:47 +10:00
Chris Sherlock
aa23a83999 vcl: move window order and stack functions into stacking.cxx
Change-Id: I96eabf2507f2d365d589a436a30087adb9738f90
2014-05-13 21:30:46 +10:00
Tor Lillqvist
70c355dc46 Work around another seeminly random mis-optimization by Apple's Clang with -Oz
If it wasn't for the desperate need to minimize code size for LO-based
iOS apps, I definitely wouldn't use -Oz in gb_COMPILERDEFAULTOPTFLAGS
(in solenv/gbuild/platform/IOS_ARM_GCC.mk).

Change-Id: Icb231b5f30b32afe1c0f3b43e5744bf0e41e96df
2014-05-13 14:25:24 +03:00
Thomas Arnhold
375a6c7a90 i#64348 basic: fix CDec() crash if string is empty
This time without memory leak.

Change-Id: If4474004124b7497b8451030a13db36887ead737
2014-05-13 13:24:59 +02:00
Thomas Arnhold
3beaccc09d Revert "i#64348 basic: fix CDec() crash if string is empty"
This reverts commit 375b01bf74.
2014-05-13 13:22:04 +02:00
Stephan Bergmann
f492e45dd2 Convert sal/osl/unx/tempfile.c to C++
...for easier future maintenance

Change-Id: I501076882daa7f36f414f9fa62f790eb85ac3259
2014-05-13 13:13:35 +02:00
Stephan Bergmann
d62b6d845c Related fdo#60338: do not call umask(3) in a MT program
...and it is unclear what this call was supposed to help for; if a user
deliberately sets its umask too strong, then better live with the consequences
than to silently "fix" it.

Change-Id: I0d84a7d1bd6f007794a65e1f7cc4ea09ebd9d4af
2014-05-13 12:41:02 +02:00
Stephan Bergmann
229e85acd2 elated fdo#60338: #error on umask(3) calls in currently unused code
(as dnssd_clientstub.c is only used on Windows), should we ever want to use it.

Change-Id: I5d9082ae69c505e4d60bbe8e60fdeaaf963a4614
2014-05-13 12:26:42 +02:00
Eike Rathke
d0787149cf remove SvtLanguageTable::AddLanguageTag from this list
... I'm about to use.

Change-Id: I4f665e14d0d2161085760a6b31f642e0a8a8345b
2014-05-13 12:03:53 +02:00
Eike Rathke
213e429cfb Revert "remove unused code -SvtLanguageTable::AddLanguageTag"
This reverts commit d812b78431.

I added that code in preparation of changes I'm doing.
2014-05-13 12:02:42 +02:00
Noel Grandin
d812b78431 remove unused code -SvtLanguageTable::AddLanguageTag
Change-Id: Ibb0dda4b48c711e72574c3f5aec9e3d1186d1526
2014-05-13 12:00:28 +02:00
Noel Grandin
8acc97fb46 remove dead code in SW
Change-Id: Ifda459ea8863d923b211ca3022355b5941a74bfe
2014-05-13 12:00:27 +02:00
Noel Grandin
2f5e8b9767 remove dead code SwAccessibleField
which seems to be dead since the IA2 integration

Change-Id: I3a6c70f27ef0cb2ac23776ad00394a73a99bb7e8
2014-05-13 12:00:27 +02:00