Commit graph

359311 commits

Author SHA1 Message Date
Jean-Pierre Ledure
fbbd7045a8 Access2Base - Removal of Property Set constructions
The workaround to bug https://www.libreoffice.org/bugzilla/show_bug.cgi?id=60752 has been removed.
Bug corrected in LO 4.0.2
End of support of Access2Base under LO 4.0.0 and 4.0.1

Change-Id: Ide5046ce4a44096bca42eaf14c4dc96c59958e16
2014-08-23 12:42:57 +02:00
Jean-Pierre Ledure
9e8b930b13 Dispose() method for all objects
An implicit (Terminate_Class) and an explicit (Dispose) method have been created
to stimulate better memory management.

Change-Id: I240e5117db6bf0d1fcf268e3ddf6d67e0bc1b8eb
2014-08-23 12:16:53 +02:00
Miklos Vajna
552f139d2a writerfilter: remove mce token generator
Commit af7d4a5ebf (n#820503: initial MCE
support in writerfilter ooxml tokenizer, 2013-07-03) added these, but in
fact only the namespace-alias part was necessary. Now that oox provides
the list of namespaces to be registered, it can be removed completely.

Change-Id: If8f1b0c07602a0170c63b53d806a5b466d485747
2014-08-23 11:46:13 +02:00
Julien Nabet
a4f411ba62 Resolves fdo#82985 Make generic autocorr files (German/Spanish/Italian)
I applied a part of the fdo#79276 fix

Change-Id: I4716c06bfd25efe45a19295e0f5fd7cd1b8b0568
2014-08-23 11:11:01 +02:00
Julien Nabet
3d34eb4612 Resolves: fdo#82747 Crash on opening wikipedia ODT Book
Test if there's indeed a subnode before testing its type

Change-Id: I1bb32652ceb82b0818a8d2cd8d71b46dd96ef2aa
Reviewed-on: https://gerrit.libreoffice.org/11050
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 23:21:03 -05:00
Thomas Arnhold
9aede3befb fdo#80534 bad default value (0) for the number of rows
Change-Id: I39604cf13d1e5714f701dd663ab37a8aed924fa2
2014-08-23 06:14:41 +02:00
Thomas Arnhold
f4246fab77 fdo#56456 fdo#75578 fdo#63271 fdo#75805 Improve hyperlink dialog
Changes made:

* Rename "Back" to "Reset" like in other dialogs (eg. Writer - Format - Character).
* Apply-Button, which reflects the old behavior of the dialog, and doesn't
  close it automatically.
* Added an OK-Button, which applies the changes made and automatically closes the
  dialog.

With this both use cases should be handled:

* Inserting one single URI with simple close.
* Modifying multiple URIs without closing the dialog.

Hopefully all users are happy with this ;)

Change-Id: I1881dee083945cd165fbb8f8444395c1b04a0607
Reviewed-on: https://gerrit.libreoffice.org/10946
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 21:33:06 -05:00
Olivier Hallot
c8a3b2d14c HIG-ify Cond. format manager + Help button
* Add help button to Conditional format manager
* HIG-ify with frame

Change-Id: I54a77a8e33a9bbbc1dd9b64cb4997a21c2e1a318
Reviewed-on: https://gerrit.libreoffice.org/11079
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 21:31:40 -05:00
Olivier Hallot
a022847126 HIG-ify conditional format dialog + help button
* Add help button to contitional format dialog
* HIG-ify with frames

Change-Id: Iea34bc7b6b14f26d8eb29557610baa7160238c5d
Reviewed-on: https://gerrit.libreoffice.org/11078
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 21:31:26 -05:00
Olivier Hallot
6814967742 Restore help button in Pivot Table Dialog
Change-Id: I9602fbb7edd7c7370a806cc0a61b3743a13229de
Reviewed-on: https://gerrit.libreoffice.org/11080
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 21:28:15 -05:00
Kohei Yoshida
10851dff98 Split FillAsTable into Binary and Xml variants in the same manner.
And remove BIFF-only records from the Xml variant.

Change-Id: Ia18cc079d9a9249fbbe0c328b14b719fba8d6bbf
2014-08-22 21:56:00 -04:00
Kohei Yoshida
44e68c897e Split FillAsHeader into FillAsHeaderBinary and FillAsHeaderXml.
To reduce complexity in each method, and remove records that are
specific to binary export form the Xml variant.

Change-Id: I6c66054b99dd8cded5767610f2390952b59caf23
2014-08-22 21:56:00 -04:00
Kohei Yoshida
16f9011c9c Make header (workbook) export and worksheet export clearer.
Change-Id: I9540fa32ca6a4ce041e15b272a049fcdf267fb0c
2014-08-22 21:55:59 -04:00
Eike Rathke
d40700d58e treat datetime as handled
Change-Id: Idc94174662eee5a75a6b467e47cbf9027e3ba224
2014-08-22 23:45:22 +02:00
Eike Rathke
0f4a999e02 current date/time hotkey inserts also if cell is in input or edit mode
Change-Id: Ib3caed607a5ca1b5ce82de0472223c7bdc8f7f54
2014-08-22 23:45:21 +02:00
Eike Rathke
e45001fad0 InsertCurrentTime: don't fiddle with the cell while editing
Change-Id: Ia12b10a44b7d90344a009753ddae801b7d58dddf
2014-08-22 23:45:21 +02:00
Matúš Kukan
4e31977bcd WaE: unused parameter
Change-Id: Ie3e6e2f0a498f0871e8b757cd7ab73fa4eba0060
2014-08-22 23:43:27 +02:00
Marcos Paulo de Souza
7e2b9fa213 Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.

Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22 16:33:18 -05:00
Matúš Kukan
7afacb97a7 Use anonymous namespace for these. (mostly EnumWrapper)
Change-Id: Ice90e519bbd32a12de59d696a6dfedaaf45bd45e
2014-08-22 23:04:14 +02:00
Caolán McNamara
af73a28e85 if _CALL_ELF -> if defined(_CALL_ELF) && _CALL_ELF == 2
Change-Id: I34e9a98586b795a3fa31ae775aee7898b36e65d4
2014-08-22 21:09:55 +01:00
Eike Rathke
234fba5b45 convert OSL_FAIL to SAL_WARN
Change-Id: I001f29dca5f2a01d70115bb309c99c64c4a65efb
2014-08-22 19:50:52 +02:00
Eike Rathke
935147ce9c convert OSL_... to SAL_WARN
Change-Id: I073b6f985c4a67f56319e03790b2bceee2f957ff
2014-08-22 19:50:52 +02:00
Eike Rathke
ce5980fe17 add formula.ui
Change-Id: I0e2b38ab8e7fae483539e02e93d25d2532bd70ef
2014-08-22 19:50:52 +02:00
Stephan Bergmann
130fc2f995 Avoid undef member function call with this == nullptr
(in which case SwFrm::FindPageFrm, sw/source/core/layout/findfrm.cxx, happened
to return nullptr, so all used to go well; but still...)

Change-Id: Ib513d9a157d0135ca234930bbcbeeacf814bb80e
2014-08-22 18:38:15 +02:00
Miklos Vajna
e85bf96baa CppunitTest_sw_ooxmlfieldexport: enable on Windows
Change-Id: I768bce2398098195f4e5c7d7683f2c8b22f23cc0
2014-08-22 18:07:54 +02:00
Olivier Hallot
c18a01a9fb Updated core
Project: help  ba90edc72a3eedc95f2a2bd2c6923b860cc3e4d8

Fix fdo#80338 Help pages for Data Statistics

This is a text to get a mimnimum help for Calc Data Statistics.
It can be improved with better english and better maths.

Change-Id: I3771ed89c560df1e4e23835f5a15d8cfc47282cd
Reviewed-on: https://gerrit.libreoffice.org/11051
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-22 11:05:55 -05:00
Tor Lillqvist
4eaf127447 Don't add a bogus C:/cygwin64/lib/x86 (or similar) directory to ILIB
If we don't know of any separate DirectX SDK library, don't use the
$DIRECTXSDK_LIB variable which is bogus at that point.

Thanks to Nicholas Ferguson for noticing.

Change-Id: I333478da7757694ca9236fd485e93bbd88305278
2014-08-22 18:57:08 +03:00
Stephan Bergmann
4970d562b6 Prevent downcast to SwTxtFrm when already in ~SwFrm superclass dtor
...as done in SwAnchoredObject::FindAnchorCharFrm
(sw/source/core/layout/anchoredobject.cxx) during CppunitTest_sw_ooxmlexport5:

SwAnchoredObject::FindAnchorCharFrm
SwAnchoredObject::GetAnchorFrmContainingAnchPos
SwAnchoredObject::FindPageFrmOfAnchor
lcl_NotifyBackgroundOfObj
SwDrawContact::DisconnectFromLayout
SwDrawContact::DisconnectObjFromLayout
SwFrm::Destroy
SwFrm::~SwFrm
SwCntntFrm::~SwCntntFrm
SwTxtFrm::~SwTxtFrm
SwTxtFrm::~SwTxtFrm
SwLayoutFrm::Destroy
SwLayoutFrm::~SwLayoutFrm
SwCellFrm::~SwCellFrm
SwCellFrm::~SwCellFrm
SwLayoutFrm::Destroy
SwLayoutFrm::~SwLayoutFrm
SwRowFrm::~SwRowFrm
SwRowFrm::~SwRowFrm
SwLayoutFrm::Destroy
SwLayoutFrm::~SwLayoutFrm
SwTabFrm::~SwTabFrm
SwTabFrm::~SwTabFrm
SwFlyFrm::DeleteCnt
SwFlyFrm::~SwFlyFrm
SwFlyFreeFrm::~SwFlyFreeFrm
SwFlyAtCntFrm::~SwFlyAtCntFrm
SwFlyAtCntFrm::~SwFlyAtCntFrm
SwLayoutFrm::Destroy
SwLayoutFrm::~SwLayoutFrm
SwBodyFrm::~SwBodyFrm
SwBodyFrm::~SwBodyFrm
SwLayoutFrm::Destroy
SwLayoutFrm::~SwLayoutFrm
SwFtnBossFrm::~SwFtnBossFrm
SwPageFrm::~SwPageFrm
SwPageFrm::~SwPageFrm
SwLayoutFrm::Destroy
SwRootFrm::~SwRootFrm
SwRootFrm::~SwRootFrm
boost::checked_delete<SwRootFrm>
boost::detail::sp_counted_impl_p<SwRootFrm>::dispose
boost::detail::sp_counted_base::release
boost::detail::shared_count::~shared_count
boost::shared_ptr<SwRootFrm>::~shared_ptr
SwViewShell::~SwViewShell
SwCrsrShell::~SwCrsrShell
SwEditShell::~SwEditShell
SwFEShell::~SwFEShell
SwWrtShell::~SwWrtShell
SwWrtShell::~SwWrtShell
SwView::~SwView
SwView::~SwView
SfxViewFrame::ReleaseObjectShell_Impl
SfxViewFrame::~SfxViewFrame
SfxViewFrame::~SfxViewFrame
SfxViewFrame::Close
SfxFrame::DoClose_Impl
SfxBaseController::dispose
(anonymous namespace)::Frame::setComponent
(anonymous namespace)::Frame::close
SfxFrame::DoClose
SfxViewFrame::Notify
SfxBroadcaster::Broadcast
SfxModelListener_Impl::notifyClosing
SfxBaseModel::close
SwXTextDocument::close
SfxBaseModel::dispose
SwXTextDocument::dispose
SwModelTestBase::tearDown
...

Change-Id: I4c00fa8eebf0346a2bad81a9e362cd901555bbf0
2014-08-22 17:37:15 +02:00
Stephan Bergmann
3f89eccf7e Do not cripple intermediate values to sal_uInt16
Change-Id: I5d39bebbd55cc3170ff52459731fad333a2e92f9
2014-08-22 17:30:03 +02:00
Michael Meeks
8d66975877 fdo#79761 - avoid re-canonicalising each font name on clone repeatedly.
Change-Id: I5b32787943ab3f824249359e9924eae25ba5783b
2014-08-22 16:22:14 +01:00
Michael Meeks
46ac7d60dd font lookup - cleanup GetEnglishSearchName function signature.
Change-Id: I6e3ca358d88e0285fe6e07b0617f3078a5edb857
2014-08-22 16:22:13 +01:00
Michael Meeks
e2adbfc33c vcl: factor out font name lookup for future re-use.
Change-Id: I35f80610862528d7525fa61135604468271ca37a
2014-08-22 16:22:13 +01:00
Michael Meeks
dd1c49d172 Simplify autocorrect loading - removing redundant parameter.
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
2014-08-22 16:22:12 +01:00
Stephan Bergmann
720ee90929 Point and Rectangle coordinates are long, not sal_Int32
Change-Id: I0f97d12f55e506af699976bf81f4dcf956195aab
2014-08-22 17:17:52 +02:00
Stephan Bergmann
53ce805b43 Avoid unnecessary invalid downcasts
...to SwFmtFtnAtTxtEnd instead of SwFmtEndAtTxtEnd, both derived from
SwFmtFtnEndAtTxtEnd

Change-Id: I4b909f136268058bedeacd6b47d3f4cd88522ad5
2014-08-22 17:01:51 +02:00
Miklos Vajna
9767f9becc Use comphelper::SequenceAsVector
Change-Id: I115b17da8cc246bf1b2502ed53ef00edad70a21d
2014-08-22 16:37:30 +02:00
Olivier R
23712bcb7d Updated core
Project: dictionaries  080424980483bcc29a3556cf1a681c45cd5c50fc
2014-08-22 09:19:31 -05:00
Caolán McNamara
b3213401a2 pasted in reverse
Change-Id: I6a3f8c9bffd2dbac90c73e472f99dd97b9977127
2014-08-22 15:16:10 +01:00
Caolán McNamara
6ab1951ea2 Resolves: rhbz#1125588 ppc64le passes testtools
*bzzt*, <lightning arcs, faint smell of ozone>, it's alive!

Change-Id: I0b42f4e2603e6d76200d63ab2e26bbb856ae1173
2014-08-22 15:08:56 +01:00
Stephan Bergmann
e426e448ce Consistency around SfxStringItem in svx/inc/sxonitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1 "Remove unused ctors" and
68969cc61a "Consistency around SdrMetricItem."

Change-Id: I694c42a53cb9041b51ef876416f0f61963b89f86
2014-08-22 15:40:43 +02:00
Jean-Pierre Ledure
1cbd9f7fbe Access2Base - Remove _This in Form and SubForm objects
The construction in Basic
	Set a._This = a
is useful to export the address of an object to Subs or Functions.
It increases however the risk of memory leaks.
Avoid when avoidable.

Change-Id: I81bf01badf00687526a358eda117a55b12f5d72b
2014-08-22 15:34:58 +02:00
Caolán McNamara
82ddade714 QueryBox RID_QB_SPELL_CONTINUE -> MessageDialog + string
Change-Id: Ie08970cefccdb1339e162bb5f4d3318efc6c61a5
2014-08-22 14:23:57 +01:00
Caolán McNamara
302cb1d031 QueryBox DLG_CHANGE_AUTH_ENTRY -> MessageDialog + string
Change-Id: I836381f710e4f36b977284f6996bb135fc328049
2014-08-22 14:23:56 +01:00
Noel Grandin
5660bc11b0 vcl: convert a couple of macros to static functions
Change-Id: I037dd97049aecff023f0ffb8dfdbb772dbde7ae0
Reviewed-on: https://gerrit.libreoffice.org/11069
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-22 08:17:07 -05:00
Caolán McNamara
ee6fcdd18b Related: rhbz#1125588 ppc64le fix simple struct returning
Change-Id: I1e253922fdb606648eff9865f1125a24e35b0d9a
2014-08-22 13:53:19 +01:00
Stephan Bergmann
9a6d1c6e16 Consistency around SdrYesNoItem in svx/sxmspitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1 "Remove unused ctors" and
68969cc61a "Consistency around SdrMetricItem."

Change-Id: If7a3c3834f63bd0b358da4d05e9510c3f695c5d0
2014-08-22 14:46:16 +02:00
Caolán McNamara
970ad502e3 Related: rhbz#1125588 ppc64le has new struct passing rules
http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01145.html
http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01147.html

now we just fail instead of crash

Change-Id: I329c676337885bcf4fdfdcdb5912d75424862126
2014-08-22 13:34:50 +01:00
Tor Lillqvist
d931eb2a93 WaE: Unreferenced function declarations
Change-Id: I86087bac83de9756a1645fef6f0d74306f8d010d
2014-08-22 15:28:05 +03:00
Stephan Bergmann
0073c78eaf Rectangle coordinates are long, not sal_Int32
Change-Id: I2f4bd53bbf94ea439e774ea85e61adcdb920c497
2014-08-22 14:21:05 +02:00
Miklos Vajna
7c02c7b021 DOCX import: list styles don't support automatic updates
The problem was the following: setPropertyValue("IsAutoUpdate") on the
style failed -> a number of styles was not imported in
StyleSheetTable::ApplyStyleSheets() due to the exception, then when we
tried to use one of the not imported styles, we also got an exception in
DomainMapper_Impl::finishParagraph(), which resulted in not calling
DomainMapperTableManager::handle(), so multiple cells of the same table
wanted the same range for cell contents, and that resulted in a crash.

Regression from cf33af732e (handle
w:gridBefore by faking cells (fdo#38414), 2014-04-23), but that commit
just made the previously hidden problem visible.

Change-Id: I788cb6b4a2c7b7efbfa48297c658bb26450bf583
2014-08-22 14:13:31 +02:00