Commit Graph

354045 Commits

Author SHA1 Message Date
Chris Sherlock
474f484925 vcl: odd conditional whitespacing removed
Change-Id: Id650bd53d8ff9bb9575dd8a6c9fdd7cd94fd8b82
2014-05-24 16:44:29 +10:00
Chris Sherlock
9acc48f904 vcl: remove comments about old tasks in Window::ImplCallActivateListeners()
Change-Id: I61cf227712c6cd9c9c817a451d6b2c5ccb57368b
2014-05-24 16:42:46 +10:00
Chris Sherlock
adb7236edc vcl: remove commented out code from Window::HasFocus()
Change-Id: Ic3b1340cf6ba19d43d31570f9643ae0451e1fbac
2014-05-24 16:37:49 +10:00
Chris Sherlock
468335ccf0 vcl: remove commented out code from Window::HasChildPathFocus()
Change-Id: I349f6a09ee1ee7bc66c8dd3790761cc0418948eb
2014-05-24 16:36:23 +10:00
Chris Sherlock
6438738f84 typo in comment
Change-Id: I119d0e5e2ea80ac37a2f806e5a3b196742d4aa76
2014-05-24 16:34:05 +10:00
Chris Sherlock
b26477e706 fdo#39468 translate German comment to English in vcl/source/window/window.cxx
Change-Id: I273eee24a110f1980948b4d330ad6492a089c74b
2014-05-24 16:30:10 +10:00
Chris Sherlock
7915c39589 vcl: remove name, email address and date from comment
Change-Id: I4f4b4a9551210329fd324371ecb814fdc6855146
2014-05-24 16:24:07 +10:00
Chris Sherlock
b5fb6b53c6 vcl: remove unnecessary commented out code in window.cxx
Change-Id: Icd8f53baf5fb9b3a311561da430b6dc9212c8295
2014-05-24 16:22:47 +10:00
Chris Sherlock
cfbd338c6a vcl: move functions from window.cxx to stacking.cxx
Change-Id: I397c7b446d9a93916cd6489ee68178bdde3a45cf
2014-05-24 16:16:44 +10:00
Chris Sherlock
f0d74afc78 vcl: rearrange function location in window.cxx
Change-Id: I37db5776a3cb28de2c4fd7938566f7f3b2e2b8b2
2014-05-24 16:02:17 +10:00
Chris Sherlock
18a68697ee vcl: tabify WindowImpl
Change-Id: Id348b2d2d4003777172df1c921e7ea6db5c11762
2014-05-24 16:02:16 +10:00
Chris Sherlock
94261e6382 vcl: remove unnecessary headers from window.cxx
Change-Id: I80d9d456dc9cf99bf9bfa05571d42774f43ce577
2014-05-24 16:02:14 +10:00
Chris Sherlock
91c8afc065 vcl: remove unnecessary headers in clipping.cxx
Change-Id: I9b654b9ce51509bb84c7ac22c0e008e47adf1921
2014-05-24 16:02:13 +10:00
Luboš Luňák
5510f56350 discard more header/footer stuff when discarding headers/footers (bnc#875718)
782adba4d4 discards unneeded headers/footers,
but only the text, not e.g. frames or fields. The test document therefore
ends up with a frame with a page number inside the body text, because the text
in the footer it should be anchored to was discarded. This commit fixes
this by discarding more (although probably the whole header/footer
shouldn't even be parsed to begin with).

The test from b349d2483e actually checked
for this incorrect frame, so change that (the whole test is suspicious, as
the end result is quite far away from what the original doc looks like).

Change-Id: I2e7192e00237db1f030d0524c5667fe92c9e496b
2014-05-24 00:41:49 +02:00
Stephan Bergmann
57b1bac23b loplugin:saloverride
Change-Id: Ie85ffc561de858eedafa062a89e0a9983aa20182
2014-05-23 23:47:07 +02:00
Stephan Bergmann
0086754e8d For now, work around sporadic SwNoTxtFrm::Modify failures
...that appear sporadically in the wild but are decently reproducible at least
on OS X when changing the DoUpdateModifiedOLE timeout in the SwDoc ctor
(sw/source/core/doc/docnew.cxx) from 1000 to 100 when running
CppunitTest_writerperfect_writer, caused by a bad static cast from an SwOLENode
to an SwGrfNode at

SwNoTxtFrm::Modify
SwModify::ModifyBroadcast
SwModify::NotifyClients
SwCntntNode::Modify
SwClient::ModifyNotification
SwDoc::DoUpdateModifiedOLE
SwDoc::LinkStubDoUpdateModifiedOLE
Link::Call
Timer::Timeout
Timer::ImplTimerCallbackProc
SalTimer::CallCallback
-[TimerCallbackCaller timerElapsed:]
[...]
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
AquaSalInstance::AnyInput
Application::AnyInput
SwLayAction::CheckIdleEnd
SwLayAction::_FormatFlyCntnt
SwObjectFormatter::_FormatObj
SwObjectFormatterLayFrm::DoFormatObj
SwObjectFormatter::_FormatObjsAtFrm
SwObjectFormatterLayFrm::DoFormatObjs
SwObjectFormatter::FormatObjsAtFrm
SwLayAction::InternalAction
SwLayAction::Action
SwViewShell::ImplEndAction
SwViewShell::EndAction
SwCrsrShell::EndAction
SwRootFrm::EndAllAction
UnoActionContext::~UnoActionContext
UnoActionContext::~UnoActionContext
SwXTextDocument::unlockControllers
writerperfect::test::WpftImportTestBase::load
[...]

Change-Id: I8903cf6890c3cf526768939dca2438fa2d978310
2014-05-23 23:32:45 +02:00
Julien Nabet
06afd4067f Resolves: fdo#79139 Crash in SwDropCapCache::CalcFontSize
Minimum of nMaxFontHeight must be at least 1

Change-Id: I35462fc069c7026958e597c2e0605345ed009c91
2014-05-23 22:55:41 +02:00
Caolán McNamara
b36ccf5843 get stoc to build again
Change-Id: Ie4f04f8d5daf4af66057ec1ead4372c2ef0e7056
2014-05-23 21:37:47 +01:00
Oliver-Rainer Wittmann
597ae8dd9c Resolves: #i124966# keep picture format information
- <GfxLink> instance - also for the reading of preview picture data

in order to avoid trouble on save in case that the preview data equals the
picture data

(cherry picked from commit d6af1b601bb8fe2569d17e01505f67e1becc9366)

Conflicts:
	svx/source/svdraw/svdograf.cxx

Change-Id: Ifecb07b4d5d33d593502fccd6f21644893027d2d
2014-05-23 21:32:32 +01:00
Oliver-Rainer Wittmann
05e07167e4 Resolves: #i124946# only apply new embedded stream name...
for a graphic, if is already has one.

- needed correction for the fix made for issue #i114361#

(cherry picked from commit 23a4bd91ceb89e5e0a2413f80fc987db106a0bc9)

Conflicts:
	sw/inc/ndgrf.hxx
	sw/source/core/graphic/ndgrf.cxx
	sw/source/filter/xml/xmltexte.cxx

Change-Id: Ia9771932ae5b380ccae9b0a3cbb79d41f5d9bdb8
2014-05-23 21:32:31 +01:00
Julien Nabet
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Zolnai Tamás
3191d7d130 collada2gltf: one more URL usage fix
This one caused empty images and so textures were
missing.

Change-Id: Ia1e93270b7f5ec560b39a41d207e84171bb2434a
2014-05-23 22:08:33 +02:00
Zolnai Tamás
4359ec6b0b avmedia: remove unused code related to fast-forward
One part of that was removed by:
55d52165df
e.g. setRate()

Change-Id: Ia5def0150029c1597cd505bbaf740a42819a7c73
2014-05-23 22:08:33 +02:00
Zolnai Tamás
4ec3554a80 avmedia: avoid segmentation fault during destruction of media window
mpEvents is not initialized in the destructor any more:
b5529c8c45

Plus use scoped_ptr to stop memory leak.

Change-Id: Idaaa274e39c1ac34270ae5b0acdd237ee5aec1c3
2014-05-23 22:08:25 +02:00
Zolnai Tamás
dd1f8ac357 CustomAnimationCreateDialog: select previously set misc animation
Regression from 9695f38ca4.

Change-Id: I8777fd8fa3e31c67b6645044d262fd4c5f645634
2014-05-23 22:07:54 +02:00
Caolán McNamara
eaa3f8e160 drop unused template
Change-Id: I3668d9b5cff71aae1598f87f09ab82bf66ace71e
2014-05-23 20:38:14 +01:00
Herbert Dürr
5456a01fef Related: #i124191# small cleanup for salframeview.mm
clean up some minor warts while the behaviour remains unchanged.

(cherry picked from commit 8ba6a0be8a0ac9075b2faa68bf71245f4aff0d16)

Conflicts:
	vcl/osx/salframeview.mm

Change-Id: I613bf0f40429db6516f82e79438e86bffb7f71cb
2014-05-23 20:38:13 +01:00
Oliver-Rainer Wittmann
12dd68e3d2 Resolves: #i124717# do not mark *.svm graphic files as *.bmp graphic files
(cherry picked from commit a5cfb91f3dc4b38055fb920f65101cc45d52f8de)

Conflicts:
	svtools/source/filter/filter.cxx

Change-Id: I43f62a453bfa17254cebc07bde95f07f16a329c2
2014-05-23 20:38:13 +01:00
Oliver-Rainer Wittmann
192abfb36b Resolves: #i114361# provide and accept changed URL...
of embedded graphic file during save (ODF export)

(cherry picked from commit a90c007908eb3f66e28a9ea525729065db652b6f)

Conflicts:
	sw/inc/ndgrf.hxx
	sw/source/core/graphic/ndgrf.cxx
	sw/source/core/unocore/unoframe.cxx
	sw/source/filter/xml/xmltexte.cxx
	xmloff/source/draw/shapeexport2.cxx

Change-Id: I9d4a02af2561467fe1a66f036b55d6dcf2429986
2014-05-23 20:38:13 +01:00
Tsutomu Uchino
e0eb5fa849 Resolves: #i124204# make fields empty on the auto text dialog...
when parent node is selected

(cherry picked from commit 3e285da1115b83bfd168567d561615fb3ee3e6c9)

Conflicts:
	sw/source/ui/misc/glossary.cxx

Change-Id: I9ef8b28e55a27d4b48432b50678e1a8bc19e0935
2014-05-23 20:38:12 +01:00
Caolán McNamara
90b4c3a888 coverity#1103737 Uncaught exception
Change-Id: I53aab00dfad0310a7846fdf7185c50036329343c
2014-05-23 20:37:36 +01:00
Caolán McNamara
6878f0debf coverity#1209381 Unchecked dynamic_cast
Change-Id: Idab888e866fa08e184b51b8209a4154062d61041
2014-05-23 20:37:36 +01:00
Caolán McNamara
3d39e41e1f coverity#1209494 Explicit null dereferenced
Change-Id: I9e51f2af30f1e0a38079d76db93bac4fe65d13b2
2014-05-23 20:37:35 +01:00
Caolán McNamara
4dc0263505 coverity#1209950 Uncaught exception
Change-Id: I92da2ae224bab6d4781463c096a35ecaec6fecc8
2014-05-23 20:37:35 +01:00
Caolán McNamara
b695519ab9 coverity#1210006 Uncaught exception
Change-Id: I9db3763ed1217e5560d092e689101dddd8027efa
2014-05-23 20:37:35 +01:00
Caolán McNamara
7f88a26e17 coverity#1210018 Uncaught exception
Change-Id: I3033f3d84c5c7835c4f1f3809ff343abe8958fef
2014-05-23 20:37:35 +01:00
Caolán McNamara
ae08fe4327 coverity#1212683 Logically dead code
Change-Id: I5830c17a98c7dc193abdb5854c63aaba59e5e014
2014-05-23 20:37:34 +01:00
Caolán McNamara
783859e861 coverity#1213088 Dereference after null check
Change-Id: I86ddf93e18594e9199dbcddca3ad32a58d5987dd
2014-05-23 20:37:34 +01:00
Caolán McNamara
57223dbe8f coverity#1213120 Unchecked dynamic_cast
Change-Id: I170e392fa883936f835f60ec4798548701f2a3d8
2014-05-23 20:37:34 +01:00
Caolán McNamara
b982a0cc7c coverity#1213149 Missing break in switch
Change-Id: I4978c8d36052119637acdda8121a511936a81cea
2014-05-23 20:37:34 +01:00
Caolán McNamara
5ff1c499d4 coverity#1213245 Dereference null return value
Change-Id: I53dc316ff15ef23a79774d4894aa0940622e1311
2014-05-23 20:37:33 +01:00
Caolán McNamara
40c77417d1 coverity#1213283 Resource leak
Change-Id: I5002f3e935edcc9f09603a5b535e2b339ebed402
2014-05-23 20:37:33 +01:00
Caolán McNamara
ecbc0a3cc7 coverity#1213450 Uncaught exception
Change-Id: I577b699d0d6b63d81565b0e2e6f2e0a96e87078c
2014-05-23 20:37:33 +01:00
Caolán McNamara
40507db2c2 coverity#1213513 Uncaught exception
Change-Id: I04a05773891d680100ee1551eac21e203477935b
2014-05-23 20:37:33 +01:00
Caolán McNamara
c6f72b6a7c coverity#1215320 Uncaught exception
Change-Id: Icbc9f370573eda2a79c04825b00db77d1bf1924f
2014-05-23 20:37:32 +01:00
Ulrich Kitzinger
6eaad9e41a Resolves: fdo#58187 Expand and Collapse should be virtual
regression from ac7acb0ab1

Change-Id: I773871f08f43a8abadfc5ef9b641db722deb7d20
2014-05-23 20:37:32 +01:00
Tor Lillqvist
4cb41493ed Add SAL_INFO tracing for CoreText calls
Change-Id: Ie60e0b64a2d9d8a045cb3c59fc781d6f9b2808a0
2014-05-23 19:59:36 +03:00
Tor Lillqvist
b8624e120e Output record types symbolically in SAL_INFO
Change-Id: I57665f39f9921a11e855d0574f836ef52078660b
2014-05-23 19:59:36 +03:00
Tor Lillqvist
388e2d5224 Use CG_TRACE consistently
Change-Id: Icff6aa906b0c470afdc4c632896fa5087eeeffb0
2014-05-23 19:59:35 +03:00
Luboš Luňák
8100131214 force posted events before timer timeouts in KDE4 event loop (bnc#467278)
In this particular case, basctl::Shell::onDocumentCreated() and pretty much
everything in basctl/ it seems operate on the current window. The "OnNew"
event that triggers this comes from a timeout generated who knows where
for whatever reason. However, the code "knows" what the current window
is by having basctl::Shell::SetCurWindow() react on events about the current
window changing ... which come from posted events.

So, unless it's defined somewhere that an ordering here must exist, this
is inherently racy. At least generic and Gtk event loops appear to always
deliver the posted event first, so force the same ordering in the KDE
event loop handling.

Change-Id: Ia098f6b45e6b5a5133a12a9172eb09069e6362f9
2014-05-23 18:56:05 +02:00