Commit graph

359284 commits

Author SHA1 Message Date
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
Miklos Vajna
2a029e5f4e SwXParagraph::Impl::GetTxtNode: fix indenetation
Change-Id: Iac9e2883067b6cf4fdc259110642002b4ef6e48c
2014-08-22 14:13:30 +02:00
Miklos Vajna
8e9c340362 writerfilter: unused namespacealias attribute
Change-Id: I12f59c6d06323d3d9ebcd55ee5fe7e43597a11b4
2014-08-22 14:13:30 +02:00
Stephan Bergmann
982029bd44 Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: Id8796438fd63065a9aefdd4e142b6638a65bbb5f
2014-08-22 14:12:48 +02:00
Bjoern Michaelsen
cf2c056bf0 remove special casing for default theme in vcl
Change-Id: I4d7a37ab9b31fcce7704f07d883d6f7806f066ec
2014-08-22 14:09:16 +02:00
Bjoern Michaelsen
0bcefcabdd remove special casing for obsoleted default theme
Change-Id: I6688251eac8ecb5ea671cae281c2445df773be16
2014-08-22 14:09:15 +02:00
Bjoern Michaelsen
7524f45e0a remove superfluous --with-theme=default option
- currently mapped to --with-theme=galaxy for migration
- warns though

Change-Id: Ib40dabd4c54b6cac0b7f3c6f6183b2e4d1545331
2014-08-22 14:09:15 +02:00
Tor Lillqvist
e6fdd7ad0a The bLastBoxInChain fields are unused
Change-Id: I741733a053c8b0123be8efbcb9fde39f53f6d83c
2014-08-22 14:48:25 +03:00
Tor Lillqvist
db12d9042c bHasUDefProp is unused
Change-Id: I8eae6f1ed791ba92c3b4679d1b9f8041f16678d1
2014-08-22 14:48:25 +03:00
Stephan Bergmann
39a84ef78a The comment apparently pertained to the following line
...cf. 75400111a5 "INTEGRATION: CWS
swqbf64: #i65250# <SwFrm::mnFrmId> now in general available," but is rather
useless nowadays anyway

Change-Id: I1e9d6c289fad021764f7e1b1af0d7b9dca67bf53
2014-08-22 13:46:53 +02:00
Maxim Monastirsky
d15d7b7bba Open the right tab for the More... command
Partially fixed by Caolán in
3ac80237f3.

Remaining issues are the paragraph submenu, and the top
menu for both selection and paragraph. Also fixed for
the drawing text and annotations shells (including the
regression created by the above commit, that the dialog
didn't show at all).

Change-Id: I1ba4c825ad48af23ad5c07c8c5f25380952c0be1
2014-08-22 14:33:28 +03:00
Caolán McNamara
6396e18f4d Related: rhbz#1125588 force existence of argument save area
ELFv2 ABI on ppc64 optimises stack allocation
(http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01149.html
so we're getting no argument save area

This now appears to pass the simple cases and onwards
to the tricky ones

Change-Id: Ie56d148ebea7fcfc023cb7183bc97f09186e66b4
2014-08-22 12:10:42 +01:00
Eike Rathke
75aad687cb resolved fdo#82936 do not clear the 3D flag on refupdate
Change-Id: I2ae1368a2ffc20e988ff3ab66590a9f98902b862
2014-08-22 13:03:52 +02:00
Caolán McNamara
8a4a1d285a pAvailGrammarSvcs can be reset to 0 on error
e.g. java grammar checker installed and java
disabled at runtime

Change-Id: I84b0e5eeb3ef9c30e153cb5fb65e35270023cd34
2014-08-22 11:59:27 +01:00
Stephan Bergmann
3584d4b47c Avoid invalid downcasts
Change-Id: Iea1688213cc0ebb8fcb3d3e3c862fd31275b9b38
2014-08-22 11:55:42 +02:00
Matúš Kukan
2a7119021e bnc#880448: Improved handling of placeholder shapes
If subTitle placeholder is not found, try body instead of title.
And use body text styles instead of title, for subTitle.

Also improve PPTShape::findPlaceholder to find placeholder
with just nSecondSubType type without the same index.

Change-Id: I470e7268088eb989fb934007dfcf704f67d8cb1d
2014-08-22 11:35:58 +02:00
Caolán McNamara
c70f22b9a5 QueryBox STR_QUERY_DELETE -> MessageDialog + string
Change-Id: I570fe82f3207e8b40a0e4727c6641fdf59113978
2014-08-22 09:33:44 +01:00
Caolán McNamara
f10e4157ce QueryBox QB_CONNECT -> MessageDialog + string
Change-Id: I593527c365ad6925229a3dd7d9e1c589fc4e34a5
2014-08-22 09:20:01 +01:00
Caolán McNamara
d2fa1d55db QueryBox DLG_SPECIAL_FORCED -> MessageDialog + string
Change-Id: I461bdb31e7a088a2aa5200614479c8578e717b23
2014-08-22 09:01:26 +01:00
Caolán McNamara
b13936abe9 QueryBox MSG_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN -> MessageDialog + string
Change-Id: I9dcbc271dac9a2395bf2a7adb160c965627a0277
2014-08-22 08:54:32 +01:00
Caolán McNamara
822adae78f callcatcher: update unused code
Change-Id: If79676a1b160ac37faecad6070a9fb2ba3cc128f
2014-08-22 08:47:25 +01:00
Stephan Bergmann
c319ccfc37 Revert "Simplify ImplRepository::impl_getLocationForModel return type"
This reverts commit 72305ed49d, which was bogus,
cf. the comment in ImplRepository::getDocumentBasicManager about recursive
calls.
2014-08-22 09:10:40 +02:00
Stephan Bergmann
73b2ea1dfa Remove BasicManagerCleaner
Change-Id: I55eccc6367cf3255af05c075631945f47417d682
2014-08-22 09:06:55 +02:00
Stephan Bergmann
72305ed49d Simplify ImplRepository::impl_getLocationForModel return type
Change-Id: I937f96457347195ed18ddcdc75b1106840f0522e
2014-08-22 09:03:27 +02:00
Stephan Bergmann
8c5834d5cb Remove trivial typedef, to make code more obvious
Change-Id: I70017a5c6f9403520ee79e9d0864352eb1c8e100
2014-08-22 08:59:01 +02:00
Stephan Bergmann
8a08ddd737 No need to own SfxBasicManagerHolder by pointer in SfxObjectShell_Impl
Change-Id: I55da464ef1d3381fb51949a349f844dbd7da49eb
2014-08-22 08:50:56 +02:00
Eike Rathke
10b6bda51c init formula options once, fdo#82183
Change-Id: I1db4816f4693e35024c6dc6c70585d7b72e68c32
2014-08-22 04:31:32 +02:00
Eike Rathke
9344af955b nitpick on comment form
Change-Id: I023f79187aaf6eb943a50516dace2aa229c5a87b
2014-08-22 02:59:57 +02:00