Commit Graph

327618 Commits

Author SHA1 Message Date
Tor Lillqvist
b2a50c7007 Nah, we still need the dynamic_cast in SAL_STREAM for gcc/libstdc++
Not sure if MSVC would accept also the simpler thing, but anyway, the
dynamic_cast works for it, too.

Change-Id: I2dfa1e70b75bc17d38b5e95be0a0f1dd66767bf1
2013-05-28 09:16:13 +03:00
Tor Lillqvist
00f13ed9dd Fix build of concat-deps on OS X when solver/*/lib does not yet exist
Otherwise the -Wl,-fatal_warnings will hit us.

Change-Id: Ib41a1aa291ebc4605c9e314505338e1b8adb886a
2013-05-28 09:16:13 +03:00
Tor Lillqvist
691b6ea8e1 Make the SAL_STREAM thing compile with clang++ -std=c++11 -stdlib=libc++
Avoid error: dynamic_cast from rvalue to reference type
'::std::ostringstream &'.

Change-Id: If5ba1ee79616e81b12f9db67c61b4f085b30a08e
2013-05-28 09:16:13 +03:00
Noel Grandin
e0fc16f769 fdo#46808, Convert some XMultiServiceFactory to XComponentContext
Change-Id: I8272ecab34711654ed27625a571cf2553ffd7468
2013-05-28 08:10:25 +02:00
Noel Grandin
c380b432e3 remove unnecessary parameter and field
Change-Id: I10311ea88f69566d9e30308c0cff193dd5ddcd11
2013-05-28 08:10:24 +02:00
Noel Grandin
5835d8d271 fdo#46808, Convert some XMultiServiceFactory to XComponentContext
Change-Id: Ia55bb7af6e5d1c76f3cf8001ea53892e1e1bdac0
2013-05-28 08:10:24 +02:00
Noel Grandin
052de9c16b fdo#46808, Convert some XMultiServiceFactory to XComponentContext
Change-Id: I7223d8e2c962ca90eda08119ed73a034d334329d
2013-05-28 08:10:24 +02:00
Noel Grandin
8f3cec9d7a fdo#46808, Convert ui:*AcceleratorConfiguration to new style
The services already existed, they just needed IDL files.

API CHANGE:
   The return type of XUIConfigurationManager#getShortcutManager()
   is now XAcceleratorConfiguration instead of XInterface.
   This should not be a problem because XUIConfigurationManager is
   unpublished and the client code was relying on the service
   returning that type.

Change-Id: I399fe35de3394b02a4166b75eb7ff93b28be8bef
2013-05-28 08:10:23 +02:00
Noel Grandin
aff5c4d76b fdo#46808, Use service constructor
Change-Id: Ia943f806ebce8afebabc76d1f74ad792ded761a9
2013-05-28 08:10:23 +02:00
Noel Grandin
95ec16b513 fdo#46808, Convert frame::LayoutManager service to new sty;e
Change-Id: I46c3950aee336548d6e0acc6a7d1da655c158175
2013-05-28 08:10:23 +02:00
Noel Grandin
1d1825db86 fdo#46808, Convert awt::UnoControlDialog to new style
Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
2013-05-28 08:10:22 +02:00
Tor Lillqvist
61fffd72ac Fix compilation error with older compilers
Change-Id: If9eff90d91c79d942fec59fee4daedccf7c69a83
2013-05-28 08:00:53 +03:00
Markus Mohrhard
a9438f38c0 expression is not a valid cfRule:operator value
We don't need the operator attribute when we have an expression anyway.

Change-Id: I3a9af7d27de7a4aed535ee21528cb350fb91008a
2013-05-28 02:38:49 +02:00
Markus Mohrhard
86079e8823 correctly delete note captions, fdo#64068
This fixes fdo#64068 and correctly without reintroducing the crash with
Undo/Redo.

Change-Id: I9ad48f6dbb7f1587985f8da9eba3886dfd4068de
2013-05-28 02:20:19 +02:00
Andras Timar
2686d737c0 fdo#65039 UI: Oxygen theme has wrong icon for Power regression
Change-Id: I86b927d5c2e6a643beac8b9a151f572c028c18f3
2013-05-27 22:51:18 +02:00
Markus Mohrhard
48f33936d1 restore old behavior for external references, fdo#64229
Change-Id: Iae160607447ff6e1133f9e1e6f9c6a9f1e7bd7ab
2013-05-27 22:00:05 +02:00
Ariel Constenla-Haile
7056e8ef89 Resolves@ #i121926# fix malformed PROPFIND/PROPPATCH request body
(cherry picked from commit 3c83ceae5e4ff5afe20ea76aeaaae6303cdaec2d)

Conflicts:
	ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx

Change-Id: I13dab5fb80235e2ab968a1492c05bf579ba08d40
2013-05-27 20:25:38 +01:00
Ariel Constenla-Haile
3c18e25efd Header clean-up
(cherry picked from commit 9e6159be30751d0ff3af6086de0114cb769873ee)

Change-Id: I1bd046e1aca89d3dd35780338737ca4a6f207bca
2013-05-27 20:25:37 +01:00
Ariel Constenla-Haile
b42211965a Resolves; #i121201# Handle servers not supporting HEAD requests
(cherry picked from commit d7085ea6fe26d2fc2ba384da04e454e78887f1f1)

Change-Id: I4b3d50906468b998a1f4964d0ad1af3d31725332
2013-05-27 20:25:37 +01:00
Ariel Constenla-Haile
a86bc34ddc Resolves: #i121922# Fix wrong condition
(cherry picked from commit 19c47c4496af7db6c8e41cc218d6c8c2fe69db0e)

Change-Id: Ic3febe262cb6723a17e3ea9078137479211fbe59
2013-05-27 20:25:37 +01:00
Noel Power
fa19934a04 remove commented out ( duplicated ) RgbToRgbComponents method
bah, added that, found a name clash, commented it out ( forgot to remove it )

Change-Id: I99b09b7745963afc477524eb6713cfdf71fc7730
2013-05-27 19:56:26 +01:00
Noel Power
0c95336033 remove some methods that are no longer used after rework
Change-Id: I2772dff6297e223caed499e0e7c801970e707700
2013-05-27 19:44:49 +01:00
Noel Power
10ceb0c3a2 buffer ExtCfRuleContext startElement processing
ExtCfRuleContext::onStartElement processing depends on some data now buffered
until CondFormatBuffer::finalizeImport runs. We now need to wait for this
data to be available. This change buffers up the processing that used happen
in ExtCfRuleContext startElement so it is now done as part of
CondFormatBuffer::finalizeImport

Change-Id: Ifbfe12740e6c4bc9791183dba89acb79cbbb6ef6
2013-05-27 19:44:49 +01:00
Noel Power
96b8aa8ed6 buffer conditional formatting finalization so it happens after styles import
Change-Id: If28059578280536141ea966d83e4540939f6e76b
2013-05-27 19:44:49 +01:00
Noel Power
f3611760f3 reorg styles code slightly, process normal (and row ) style in own method
Change-Id: I701d12cf8f672824d7cfca1e995f02040fdd3095
2013-05-27 19:44:49 +01:00
Noel Power
fc861c7088 improve cell style xls[x|m] import performance
This change reorganizes the styles by column ( and by row ranges in that column )
so we can apply ScAttrEntry entries directly via Document.SetAttrEntries(...) this is
what the binary filter does also.

Change-Id: I7c1398c1d900e0a2b6c6ec3746b982ef60e653a0
2013-05-27 19:44:48 +01:00
Markus Mohrhard
72e0e01c4b add initial test case for DIF import
Change-Id: I52634a8d31f580ac5565d615c872a575c6dc81c0
2013-05-27 20:39:54 +02:00
Stephan Bergmann
6b562710cb Let package_ucp::ContentProvider::createPackage throw exceptions on failure
...instead of returning a null XHierarchicalNameAccess.  Otherwise, UCB's
globalTransfer from a vnd.sun.star.package URL that denotes a file that is not a
zip file to a file URL folder (i.e., to extract the zip content) silently
succeeds but just creates an empty file in the target folder.  That, in turn,
causes "unopkg add foo.oxt", where foo.oxt is a file that is not a zip file, to
silently succeed and add an "empty" extension.

This change is somewhat bold in that it changes createPackage from "can return
empty reference" to "never returns empty reference, but can throw
RuntimeException."  Especially, it considers "empty name" as a (silent)
violation of its contract with its caller now.  I hope this does not affect any
legitimate scenarios---at least, it does not break a "make check" here.  (In
turn, the two package_ucp::Content::getPackage overloads change to never return
a null reference, either.  And I changed the parameters of createPackage, seeing
that all call-sites pass in some PackageUri's getPackage()/getParam() pair.)

Change-Id: I0eab5f8059dfedefc7030da38da528ba21ea8d79
2013-05-27 18:15:33 +02:00
Stephan Bergmann
740c7b1bb2 Better debug logging
Change-Id: Ida97a74a8629e0b170d882b38b0eeaa8f53d9bd3
2013-05-27 18:15:32 +02:00
Tor Lillqvist
32565ee39b Bump maximum fuzz factor down to zero
Change-Id: I97d30afe3a24aab1123352da05b066095e5c86bb
2013-05-27 19:02:50 +03:00
Miklos Vajna
992da0d5cf bnc#817956 DOCX import of document background color
See wwSectionManager::SetSegmentToPageDesc(), this has to be applied to
every page style.

Change-Id: Iea2707ae665a55eabda3ed7575cf3658f7af5237
2013-05-27 17:49:12 +02:00
Thomas Arnhold
a0f85534a7 be case-insensitive for open/starsymbol comparison
Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de
Reviewed-on: https://gerrit.libreoffice.org/4015
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27 15:42:33 +00:00
Caolán McNamara
34c2e88458 x86 register vs memory accuracy double pita
with x86 gcc-4.1.2-54.el5 the sd import test fails while
x86-64 passes. Tracked it down eventually to this double
equality test failing on x86. Apparently excess precision
in registers compared with memory.

Change-Id: I61b43b2f0e9c9aded570448a1c5a7c9dbad8986e
2013-05-27 16:30:44 +01:00
Radek Doulik
c47f0903fe Fix bnc#795857 Use correct sizes for EMF+ bitmap rendering
Fix pdf export wrong size issues for embedded EMF+ images.

Change-Id: I998c9535bde32fc9f452d61d7cb7609c95f5528d
(cherry picked from commit 4c676625d4016d428e9becd5512b7cfc8b0c4b24)

Conflicts:
	vcl/inc/vcl/gdimtf.hxx
	vcl/source/gdi/gdimtf.cxx
2013-05-27 17:06:15 +02:00
Joren De Cuyper
e1f1092287 Typo in optsecuritypage.ui
Thanks to Lionel.

Change-Id: Ib37c3cf9d8f53e941fc557dc9d4a4ba9b00e486d
Reviewed-on: https://gerrit.libreoffice.org/4056
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-05-27 14:48:10 +00:00
Andras Timar
ceaa3b6025 Updated core
Project: translations  f3546694e706114bcccd978f444f0800a382dbf9
2013-05-27 14:12:38 +00:00
Tor Lillqvist
f60af9ca6b Use a maximum fuzz factor of 1 for our patches to 3rd-party code
Change-Id: Id4639f1b0eefe5d433c84f48b7a1093fa17a3ba4
2013-05-27 16:39:41 +03:00
Miklos Vajna
aad5113e34 writerfilter: update README
Change-Id: Icd098ab4efcd307c83fe42d2f5815b48d1bff669
2013-05-27 15:38:46 +02:00
Caolán McNamara
8bcb6c33c1 Updated core
Project: help  56fb45d986561dde4a9675a2bd7495b7feb1df32
2013-05-27 13:21:40 +00:00
Manal Alhassoun
bfc0609a4c inscldlg.ui widget
Change-Id: Ia931e330303e9f5baf7ae92a8d69bc460327425d
Reviewed-on: https://gerrit.libreoffice.org/4049
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27 13:15:32 +00:00
Markus Mohrhard
7d01bed2e6 we need a reference to the DifParser.aData, fdo#64920
regression from 6191fa0847

Change-Id: If7fc18e7d0bcbf1075a0ecdb1c0dcf3d207f1bda
2013-05-27 15:09:48 +02:00
Caolán McNamara
376830eb55 Generalize the check for a recode table
I think we can distill this down to a "if the source or target
is a symbol font check for a recode table"

Change-Id: I6c674f10d9f1ab7fbe7274abfafb9082bae88218
2013-05-27 13:59:43 +01:00
Luke Deller
e94c852104 fix fdo#64872 infinite loop saving as doc
When loading from odt, table cells which are covered (due to merging of
cells) are replaced with an empty cell by
SwXMLTableContext::ReplaceWithEmptyCell.  However if there is a sequence
of cells covered from above then their replacements are accidentally
inserted in reverse order, which produces this infinite loop problem when
saving as doc.

The reverse ordering in SwXMLTableContext::ReplaceWithEmptyCell was because
the insert position came from SwXMLTableContext::GetPrevStartNode which was
very careful to skip previous covered cells.  However those cells have
already been replaced with an empty cell so they should not be skipped.

Change-Id: I6a022cd1490afa181dbc3e4b2d6ed4af3077b363
Reviewed-on: https://gerrit.libreoffice.org/4008
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27 12:46:25 +00:00
Sean Young
4c831dd9e5 fdo#64632 If a Symbol font is missing, ensure that conversion is done
ImplDevFontList::ImplFindByFont() will nearly always return a font, so
we do not go through the code path which sets up conversion.

Change-Id: Ice361f183c9f42aa562d4caab1d589417ad3fc9a
Reviewed-on: https://gerrit.libreoffice.org/4037
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27 12:31:19 +00:00
Sean Young
13635ca1ec The MT Extra font mapping is incomplete
Many points are missing. Replace entire table with the mapping provided by
the original creator. Note that point 0xe7 ("Apple Logo") is not in unicode
so no mapping is provided for that.

http://www.dessci.com/en/support/mathtype/tech/encodings/mtextra.htm

Change-Id: I05acd36772ae6432614ff3b284e43b86049bed66
Reviewed-on: https://gerrit.libreoffice.org/4036
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27 12:09:10 +00:00
Herbert Dürr
982462ac5c eliminate type ambiguity for std::accumulate() invocation
else clang/libc++ cannot decide between bool and a reference into a bit-vector
specialization

(cherry picked from commit 6a88a21257124d953637c4b8ead9c9771e15b899)

Change-Id: I694bbad82b1a05ebe86c5c941f3ac85c71f5fc9e
2013-05-27 12:58:21 +01:00
Herbert Dürr
d133d8f0df make sure class MIP is complete before it is used
(cherry picked from commit c8ed66993a98faa4730d507903f110dc80c61445)

Conflicts:
	forms/source/xforms/model.hxx

Change-Id: Iec9e999b1568ad422ea2118c04b770000bdbfd75
2013-05-27 12:57:34 +01:00
Jian Hong Cheng
f9a3a8a41d Fix issue #i120654: Number range variable filed shows in AOO
* sw/source/filter/ww8/ww8par5.cxx
MS Word Binary compatibility

Patch by: Jane Kang,<kangjane2012@gmail.com>
Found by: Yan Ji,<yanji.yj@gmail.com>
Review by: Jian Hong Cheng,<chengjh@apache.org>

(cherry picked from commit 720fc77527377968a45631d1c6a711b4cae02d39)

Change-Id: I428fadd46bbd5b57081e35dcbfd6bb0c10c08282
2013-05-27 12:54:15 +01:00
Markus Mohrhard
d1ea2722b0 range names need to be checked upper case, fdo#64031
Change-Id: I540821fd7058bf0da27d955c9d966a10dd21ec94
2013-05-27 13:39:34 +02:00
Ariel Constenla-Haile
f77388c643 Add an icon for .uno:AutoPilotMenu
(cherry picked from commit c1954d6e72071c12aa4eda412d4370a22f91f787)

Conflicts:
	officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu

Change-Id: I623febfcbdb642fe4b5b0b42e7e89054e3db45de
2013-05-27 12:34:04 +01:00