Commit Graph

375379 Commits

Author SHA1 Message Date
Noel Grandin
397a0afd3b convert B2VectorOrientation to scoped enum
Change-Id: Id7e444bc896ae5d52e5a0bd1b471679c4945afa4
2015-06-04 08:30:24 +02:00
Noel Grandin
94d92d00fa convert basegfx::FillRule to scoped enum
and drop unused NONZERO_WINDING_NUMBER value

Change-Id: If2a8f01934796eaf9a343113387b775fd169ccb9
2015-06-04 08:30:24 +02:00
Noel Grandin
d4917e9970 convert basebmp::Format to scoped enum
Change-Id: I6eb213d6dcf387936967271fba9e2de3879ef479
2015-06-04 08:30:24 +02:00
Noel Grandin
ab377324bb convert DrawMode to scoped enum
Change-Id: Ie4a7705cc3d042d08178e562a2c2ffaf0be3810f
2015-06-04 08:30:24 +02:00
Noel Grandin
52e4ba4b98 convert MediaState to scoped enum
Change-Id: Idf14f7d344be6c690cdd721cd5f7eb7c328b590c
2015-06-04 08:30:23 +02:00
Tomaž Vajngerl
758916a88d fix status bar flickering (zoom slider fo example)
Change-Id: I3fb71868a9f8f56c76353f3a2d84fdb078c8f8fb
2015-06-04 12:18:36 +09:00
Caolán McNamara
8ae25bbc09 Resolves: tdf#90435 secondary pool set to that of temp docs drawing layers
overwriting the original one, and when the temp doc goes away then its drawing
layer goes away autoamtically settings the secondary pools of the other pools
it is a secondary of back to 0

(see also tdf#87245)

Change-Id: Ie6dd8d615f81cf4d4776eaeac1cc2507b2abaa37
2015-06-03 22:05:30 +01:00
Jan Holesovsky
816941f139 OS X: Default to the 'breeze' icon theme.
As agreed in the Design team meeting today.

Change-Id: I660462fb7b56eb3c8f883f8540cf88801e48165c
2015-06-03 19:45:23 +02:00
Miklos Vajna
d611b2e0b2 sw: add SwDBManager::RevokeDataSource()
And call it from the SwDoc dtor, so that embedded data source
definitions registered on opening are deregistered on close.

Change-Id: I40309389d44dcbc225f6f2ef98bb20579e12d650
2015-06-03 19:29:07 +02:00
Miklos Vajna
b79017f49a sw: move name of the embedded data source def from SwDBData to SwDBManager
The problem is that SwDBData just describes the current data source,
and when changing that, the embedded name doesn't change, so they should
be separate.

Change-Id: I2dd7e0a97b9f7d6a3a74a5752467515a0a09171a
2015-06-03 19:29:06 +02:00
Markus Mohrhard
1096ca46a2 more style fixes
Change-Id: Iadf157f3d2673047e2d81c74847b16d12478ca65
2015-06-03 17:44:59 +02:00
Markus Mohrhard
5ebc2673cc that is not a TODO anymore, we actually block OpenGL in RDP connections
Change-Id: I782e93e6106b3940e7e83c615072beebca1c0965
2015-06-03 17:44:58 +02:00
Markus Mohrhard
4d1faeec45 fix comment
Change-Id: I1d6fc43447c3c98e21d1d0752aa621c9ab2a92a7
2015-06-03 17:44:58 +02:00
Markus Mohrhard
2d06511010 document that these are references to mozilla bugs
Change-Id: Ie84924ee77805ce4b4f6d5a7e77213ce2d51877f
2015-06-03 17:44:58 +02:00
Markus Mohrhard
b19ec43a42 more style clean-up
Change-Id: I46727514629103d8a97140483eca26135929a688
2015-06-03 17:44:58 +02:00
Markus Mohrhard
20b867347c adapt coding style
We will not update with a new version from mozilla.

Change-Id: Icf9571e1efecee18a19760b2eb3041e3d9e6f108
2015-06-03 17:44:57 +02:00
Markus Mohrhard
03aa4f88cf document that it is a reference to a mozilla bug
Change-Id: Ic57a0785db05908ffd9faef30544646d2e70ee5a
2015-06-03 17:44:57 +02:00
Krisztian Pinter
682d5eab30 calc mapmode: Refactor DrawDocumentBackground to use logic units
Change-Id: I316e51bac78981263bfbee55ea5b684a40b44afa
2015-06-03 17:41:08 +02:00
Caolán McNamara
9eb16c85d6 don't crash on layout of ooo55381-1.sxw
The pLay here is getting joined and thus deleted in a stack of
FormatLayoutTabs so set it as unjoinable for the duration that
we expect pLay to remain valid

Change-Id: Iedfaf710022ad19c0f415cee84f70c74dd7dbd96
2015-06-03 16:16:07 +01:00
Caolán McNamara
768a2d61c3 coverity#1302605 Resource leak in object
Change-Id: I574714c2d587ac22fcc812ffe8217f151ac40cb6
2015-06-03 16:16:06 +01:00
Philippe Jung
1191ed8584 tdf#87822 Impress: hide common task toolbar in master view
When Master Slide or Master Notes are active,
hides the Common task toolbar as it it not usefull.

Change-Id: Ice07661bf203c029d733614e1eceb5ef3d0661f9
Reviewed-on: https://gerrit.libreoffice.org/16060
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-03 15:05:13 +00:00
Caolán McNamara
77df4faa47 fix crash on export of ooo39845-7.sxw to .docx
only bump m_nFieldsInHyperlink if the field isn't erased
from the stack

Change-Id: Idb75d087f6fa3ce3cd399623d8ace1e7f3899b5c
2015-06-03 15:50:24 +01:00
Eike Rathke
8fbb45c978 reflect requirement of one abbreviated DateAcceptancePattern in documentation
Change-Id: I2593606f3c82eeb9e04be469c20ffb4132cc4f2c
2015-06-03 15:48:48 +02:00
Eike Rathke
6df46d63e4 ensure that at least one abbreviated DateAcceptancePattern is present
Change-Id: I30619fc9f894dda89cd1c84153abcb21214a5fbc
2015-06-03 15:48:48 +02:00
Eike Rathke
c681c4ca95 add missing DateAcceptancePattern for abbreviated date input
Change-Id: I5ac712604204c4cbbce4d1ec3a591fb9f158c6f8
2015-06-03 15:48:47 +02:00
Eike Rathke
657524656f Revert "make saxparser deps order-only"
This reverts commit 49d8bc1dcc.

If saxparser changed, specifically if
i18npool/source/localedata/LocaleNode.cxx was modified, we actually want
all .cxx regenerated from locale data and not silently skip all.

Conflicts:
	i18npool/CustomTarget_localedata.mk

Change-Id: I3a1b0ed0dab12148ee34653cdfac593001d2ecf7
2015-06-03 15:48:47 +02:00
Miklos Vajna
cf7439c551 SwDBManager: store of embedded data source definition is implemented
Since commit 290cc96e98 (SwDBManager:
refer embedded data source from doc settings, 2015-06-02).

Change-Id: Iaf261d31ad00541b40e2fa8c35d60bd6768dbbcd
2015-06-03 15:37:56 +02:00
Katarina Behrens
793db97a7c Build time option --disable-extension-update
to disable the possibility to update installed extensions

Change-Id: Ifdee0f3b13ee3e2bcb288c8ded98cb9805a6e55a
2015-06-03 15:22:11 +02:00
Miklos Vajna
c61065b262 SwAddressListDialog::LoadHdl_Impl: simplify
Change-Id: If716a706f109145c8a6b7fda4b59d2fd7b820f20
2015-06-03 14:48:42 +02:00
Tomaž Vajngerl
f16d82ea8f make it possible to force enable double buffering for all widgets
Change-Id: Ia0c8e9d8a22abaa2c06aea2a0f790dc34903ac37
2015-06-03 20:42:27 +09:00
Tomaž Vajngerl
2e4380a077 forgot to change the Invalidate to InvalidateEntry in treelistbox
Change-Id: Ifa70abbecb6899d0e665039cecc2d9036ffc4b92
2015-06-03 20:42:27 +09:00
Tomaž Vajngerl
5ae10ae4df graphicfilter: store the funky animated GIF in a PNG as a GIF
MS had a really bad idea to store an animated GIF inside a PNG for
some reason. This situation was handled correctly in LO but we
still pretended that this was a PNG file, which was causing
confusion for some users that wanted to extract the image from
the document. With this change we extract the animated GIF from
the PNG and store just the GIF in the document.

Change-Id: I4c70d118e8decd7aa1b108b6b1d725301904a35b
2015-06-03 20:42:27 +09:00
Tomaž Vajngerl
f5e68baec6 ruler: convert pCtrlItems to use vector of unique_ptr
Change-Id: Icc6cf55c26d605fd068edf575613cde745385dd2
2015-06-03 20:42:27 +09:00
Tomaž Vajngerl
f64588a923 tdf#91677 fix flickering ruler
Change-Id: Ia14be98fbfd46871b2ac9bd42a07951d86722a8a
2015-06-03 20:42:27 +09:00
Eike Rathke
cd5d3c4054 tdf#91199 add Venetian [vec-IT] locale data
Corrected the usual pitfalls; added DateAcceptancePattern and
ScientificFormatskey3 engineering format.

Change-Id: Icecb2e84b6c454378fb5e6d478e1113317e9f3bc
2015-06-03 13:23:24 +02:00
Eike Rathke
43e4382a4c tdf#91199 add Venetian [vec-IT] to language list
Change-Id: Ide2837739a32142c39e933bda5761d620dcf2a35
2015-06-03 13:23:24 +02:00
Julien Nabet
3807946b55 tdf#91726: AutoFormat: Crash when using an existing name
Add a test to check if name already exists

Change-Id: Ie23de04c0b747f58ab61a6e498bf212bf38b346a
Reviewed-on: https://gerrit.libreoffice.org/16000
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-03 11:05:13 +00:00
Caolán McNamara
5f36b19544 intermittent CppunitTest_sc_macros_test failure
void OutputDevice::acquire() const: Assertion `mnRefCnt>0' failed"

Window gets destroyed between postWindowResizeEvent and processWindowResizeEvent

Change-Id: I3452a23ad8c3b6d863a56b73166520ef103dad1b
2015-06-03 11:29:43 +01:00
Caolán McNamara
9d0c6308be fix crash on export of ooo34469-1.sxw to docx
Change-Id: I94a11bd24ccbc550c9fa555b1a0b5493ccd9f904
2015-06-03 10:47:58 +01:00
Tor Lillqvist
c0b70ec34d Avoid various desktop GUI elements when used from LibreOfficeKit
Change-Id: Id283d185ab38427ce6887ead4e414055522e655c
2015-06-03 12:16:50 +03:00
Jan Holesovsky
5f39d1078f lok: Avoid instantiation of the slide sorter bar
Change-Id: Ia21bea54d1d6bd34256cb45ed704c6f7785fc2fc
2015-06-03 12:16:50 +03:00
Stephan Bergmann
6ce92bc266 loplugin:saloverride
Change-Id: I1d3cd2ff9a2c579d23b97a6ab8e9cf2baadf0439
2015-06-03 11:09:54 +02:00
Stephan Bergmann
a69d89435d Missing boost_headers
Change-Id: Ic85b888ee89d0b49410d26be55333e31ffc07c0b
2015-06-03 11:09:01 +02:00
Stephan Bergmann
e0308504b2 -fsanitize=nonnull-attribute in memcpy call
Change-Id: Ifbba19693ce0182a5d367b1621ade4780f152add
2015-06-03 10:51:32 +02:00
Stephan Bergmann
9ec9ef471d external/neon: -fsanitize=shift
Change-Id: I82255efc3a4fbcb07b6f747af6ef81124a5fb96f
2015-06-03 10:51:32 +02:00
Michael Meeks
5ccc46b0fe Skeletal SfxControllerItem / bindings unit test.
Change-Id: I0fdda736243c3e4a74f2faedf6fa5ea49453fe8c
Reviewed-on: https://gerrit.libreoffice.org/16040
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-03 08:45:30 +00:00
Stephan Bergmann
d60719015e Use variable-length array idiom for SfxType::aAttrib
...to avoid false -fsanitize=array-bounds warnings.  All instances of SfxType
are created (in idl) as instances of SfxTypeN with properly sized nAttrib
arrays.

Change-Id: Iad9faa467affed656750df6bb8579d85829e97ca
2015-06-03 10:14:20 +02:00
Miklos Vajna
8d2fe8d7e5 SwView::SearchAndWrap: fix WrapAround search in fly frames
First, SttDoc() / EndDoc() is the implementation of Ctrl-Home, i.e. it
goes to the start of the current text (like a fly frame), not to the
start of the whole document. When wrapping around, we want the later.

Second, if the normal search have two passes, first searching in the
body text, then searching in the special sections, then the wrap-around
search should do the same.

Change-Id: I0b7466c80476f6fb45174be19215a5d68374d047
2015-06-03 09:20:14 +02:00
Noel Grandin
83f25d3c6e reduce sleep when connecting to soffice from Java
500ms is an eternity on modern machines

Change-Id: I7f16935e9b09c734d05d2430dc0efb3be44617b8
Reviewed-on: https://gerrit.libreoffice.org/16038
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-06-03 06:45:31 +00:00
Stephan Bergmann
bf93b3d1a4 -fsanitize=float-divide-by-zero
...happens at least during CppunitTest_sd_tiledrendering that
aCurrTextSize.Height() is zero:

 SdrTextObj::ImpAutoFitText(SdrOutliner&, Size const&, bool) svx/source/svdraw/svdotext.cxx:1312:49
 SdrTextObj::ImpAutoFitText(SdrOutliner&) const svx/source/svdraw/svdotext.cxx:1290:5
 SdrTextObj::BegTextEdit(SdrOutliner&) svx/source/svdraw/svdotxed.cxx:103:9
 SdrObjEditView::SdrBeginTextEdit(SdrObject*, SdrPageView*, vcl::Window*, bool, SdrOutliner*, OutlinerView*, bool, bool, bool) svx/source/svdraw/svdedxv.cxx:635:12
 sd::View::SdrBeginTextEdit(SdrObject*, SdrPageView*, vcl::Window*, bool, SdrOutliner*, OutlinerView*, bool, bool, bool) sd/source/ui/view/sdview.cxx:704:20
 sd::Outliner::EnterEditMode(bool) sd/source/ui/view/Outliner.cxx:1299:9
 sd::Outliner::PrepareSearchAndReplace() sd/source/ui/view/Outliner.cxx:1181:9
 sd::Outliner::ProvideNextTextObject() sd/source/ui/view/Outliner.cxx:973:29
 sd::Outliner::SearchAndReplaceOnce() sd/source/ui/view/Outliner.cxx:674:17
 sd::Outliner::StartSearchAndReplace(SvxSearchItem const*) sd/source/ui/view/Outliner.cxx:496:28
 sd::FuSearch::SearchAndReplace(SvxSearchItem const*) sd/source/ui/func/fusearch.cxx:132:33
 sd::DrawDocShell::Execute(SfxRequest&) sd/source/ui/docshell/docshel3.cxx:222:21
 SfxStubDrawDocShellExecute(SfxShell*, SfxRequest&) workdir/SdiTarget/sd/sdi/sdslots.hxx:17034:1
 SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) include/sfx2/shell.hxx:210:35
 SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) sfx2/source/control/dispatch.cxx:257:13
 SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest&, SfxCallMode) sfx2/source/control/dispatch.cxx:847:9
 SfxDispatcher::Execute(unsigned short, SfxCallMode, SfxItemSet*, SfxItemSet*, unsigned short) sfx2/source/control/dispatch.cxx:916:9
 SfxDispatchController_Impl::dispatch(com::sun::util::URL const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&, com::sun::uno::Reference<com::sun::frame::XDispatchResultListener> const&) sfx2/source/control/unoctitm.cxx:823:37
 SfxOfficeDispatch::dispatch(com::sun::util::URL const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) sfx2/source/control/unoctitm.cxx:359:9
 non-virtual thunk to SfxOfficeDispatch::dispatch(com::sun::util::URL const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) sfx2/source/control/unoctitm.cxx:343:34
 comphelper::dispatchCommand(rtl::OUString const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) comphelper/source/misc/dispatchcommand.cxx:57:5
 lcl_search(rtl::OUString const&) sd/qa/unit/tiledrendering/tiledrendering.cxx:338:5
 SdTiledRenderingTest::testSearch() sd/qa/unit/tiledrendering/tiledrendering.cxx:361:5
 ...

Change-Id: I38ab71c5f4024b2d7270a4f6c2aeb4ef502d08f5
2015-06-03 08:11:06 +02:00