Commit Graph

354219 Commits

Author SHA1 Message Date
Caolán McNamara
15e030839b coverity#1000843 Uncaught exception
Change-Id: Iad3368c1345b0c9674c069ff7981d3c40f7f7139
2014-05-24 13:03:48 +01:00
Caolán McNamara
2448ed6361 coverity#1000844 Uncaught exception
Change-Id: I2e322d4861da05e04dfe19fa15f9bc281e1ef0d8
2014-05-24 13:03:47 +01:00
Caolán McNamara
83878c413d coverity#1000845 Uncaught exception
Change-Id: I968baef18f9a14301d69a5eaad07ceb8b9633062
2014-05-24 13:03:47 +01:00
Caolán McNamara
2235d53bde coverity#1000846 Uncaught exception
Change-Id: I4e92ad97e7b3567c028d63ac0936fa9cdef12e24
2014-05-24 13:03:47 +01:00
Caolán McNamara
eb410d6ddd coverity#1027647 Unchecked dynamic_cast
Change-Id: I89a4cf7a8146205bc5c70e8e34111ff54afc5cf3
2014-05-24 13:03:47 +01:00
Caolán McNamara
8e304f80bb coverity#1027650 Unchecked dynamic_cast
Change-Id: Ic1973463e4c6d85bbfacc077f58f7d1fe16de73a
2014-05-24 13:03:46 +01:00
Markus Mohrhard
10c14f13a7 improve the bar and text positioning
Keep a bit of space to the border and move the text a bit away from the
chart area. This makes it look much better in my opinion.

Change-Id: I1eee505e8361cbc0e3ca859d74a96af880451198
2014-05-24 13:07:46 +02:00
Markus Mohrhard
e41c33b376 make sure that OpenGL charts are rendered after import
Change-Id: I3701a7593d7394abc39532a87b9aa50a3c92d457
2014-05-24 12:36:48 +02:00
Julien Nabet
2ed32f7afa cppcheck: Prefer prefix ++/-- operators
Change-Id: I290ccba1487e59ea6f86bfb0382671ca4ed50831
2014-05-24 11:32:43 +02:00
weigao
fed8631d31 modify the camera position to show the whole scene
Change-Id: I0d197295046a478d59f4260f2931fbaec9a17a33
2014-05-24 10:48:44 +02:00
Markus Mohrhard
08c1c40605 the destructor alreadz clears the vector
Change-Id: I085e3463251a7d73be9724ae56bd6aa3fcf50a34
2014-05-24 10:48:44 +02:00
weigao
2d3d63a3da fix the calling of polygon API
Change-Id: I14d7e8594dae86830ca05aeb28633feac0a258cc
2014-05-24 10:48:44 +02:00
weigao
7c603d4a23 fix the polygon normal
Change-Id: I89f27b409cf04f98f90bdc61396a8c58ec91d7f7
2014-05-24 10:48:44 +02:00
weigao
f09e321001 fix polygon render
Change-Id: Id808ce630f6b3a15a31fdcfac99b332ed5f7f29f
2014-05-24 10:48:44 +02:00
Markus Mohrhard
f3c47df816 adapt code to the text mapping fix
Change-Id: I8fd22529a0749f9bf1bff75534dca61f2f65312b
2014-05-24 10:48:43 +02:00
Markus Mohrhard
2c75e66968 map strings correctly to 3d objects
Change-Id: I21b62a869b89c23ddba75eb8c33c30a73160098b
2014-05-24 10:48:43 +02:00
Markus Mohrhard
609d16263f GetTexBoundRect does not really return teh bounding rectangle
Change-Id: I66c996dadab51debc39a50c5e93e8c6a76842ceb
2014-05-24 10:48:43 +02:00
Markus Mohrhard
6612025658 add ostream operator<< for glm::vec3
Change-Id: Ic3ce4a647936f3f1c62c2dc3cf37f687d8fbccc1
2014-05-24 10:48:43 +02:00
Markus Mohrhard
53fb2cd453 improve text rendering
Change-Id: Idf2b0129f9d72739e934c65ccf40acf0b3000a5a
2014-05-24 10:48:43 +02:00
Markus Mohrhard
d9b9f50242 avoid the creation of empty text
Change-Id: If1be3f50ed4ceac40b513b341f411fc2d2533f7f
2014-05-24 10:48:43 +02:00
Chris Sherlock
e1f161e8c2 vcl: remove unnecessary headers from clipping.cxx
Change-Id: I00a1424ca44dd5d7a4acb629e604616b85621096
2014-05-24 17:12:18 +10:00
Chris Sherlock
365f645df6 vcl: remove newlines from stacking.cxx
Change-Id: I005005f716cfe89bd59f157be80a985e2964c47c
2014-05-24 16:59:27 +10:00
Chris Sherlock
b6d6e6593d fdo#39468 translate German comment to English in clipping.cxx
Change-Id: Ic82eede229e4eaab8922de92fd750b1564578ed7
2014-05-24 16:55:55 +10:00
Chris Sherlock
4968f83c77 vcl: move included header from end of window.cxx to the start
Change-Id: I7fd3e8965e4bf236a29225472d30d06e59a039fd
2014-05-24 16:46:44 +10:00
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