summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-07-10use SimpleReferenceObject in sdr::overlay::OverlayManagerNoel Grandin
to replace hand-rolled version Change-Id: I3f47bf686ac07bba03acacace817767f2845af4f
2014-07-09bnc#883684: Make chart objects exempt from automatic unloading.Kohei Yoshida
The Memory option page contains "Number of objects" setting which controls how many OLE objects can be loaded at any given time. When the number of total OLE objects exceeds this number the oldest ones get unloaded. Note that the total number is across all open documents, not per document. Technically, chart objects are OLE objects, but unlike other OLE objects that are embedded Calc, Writer, Draw documents, chart objects normally "belong" to the host document. It therefore makes no sense to subject chart objects to this automatic unloading. In the future we may want to apply this exemption to other types of OLE objects, like formula objects for example.. Or maybe this setting can be removed altogether... Change-Id: I7dd92550880efb4db8fc843cf1c915c712166da4
2014-07-09Scope reduction.Kohei Yoshida
Change-Id: Ibc9314320c7b22f676978bb8b8157844a12c9bf8
2014-07-09Let's not derive from std::vector.Kohei Yoshida
Change-Id: I512d97d36c344df097cc5a1ac90aa9d3d219c1e9
2014-07-09simplify loopDavid Tardon
Change-Id: I26c1456ca805c6f3ecfa5bd4876e7ae345f087e7
2014-07-09fdo#81004 this looks like a mis-merge to meDavid Tardon
Change-Id: I2d30774a8a89002b6c2d8487bfce15eb13c82e0d
2014-07-09drop unused helpidsCaolán McNamara
Change-Id: I385fcf216645a79d5c6cdadd31a37be20938371a
2014-07-09tweak conversion a bitCaolán McNamara
a) rework to remove the need for a ::Resize impl b) move the explicit pixel size into relative APP_FONT size c) lock down the target combobox size so it doesn't jump around Change-Id: Iad995453c178234d1ad0f794b5193920dcd275fe
2014-07-09RID_SVXDLG_IMAP conversion to .uiSzymon Kłos
Change-Id: I6d0ecb693177436a47d1115cdab6d5ec20254f4f Reviewed-on: https://gerrit.libreoffice.org/10105 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-08Resolves: #i125211# corrected breaking metafiles with gradient actionsArmin Le Grand
(cherry picked from commit 87637364387e5fd87d3b880ce230caa053ec555d) Conflicts: svx/source/svdraw/svdfmtf.cxx Change-Id: I853f3499121c8708a7de9d04ff2856037061c6ed
2014-07-08don't terminate via unhandled exception on loading ooo89328-1.sxcCaolán McNamara
Change-Id: If266fa0ebaf2c3c0cd54238879a858098066c03d
2014-07-08use SimpleReferenceObject in svx moduleNoel Grandin
to replace hand-rolled version Change-Id: I084a21161ae44991199fbd2b12d61dcb7d592408
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-07clang scan-build: Dereference of null pointerCaolán McNamara
Change-Id: I7d47d4465bca247d52899239b3d2112790eca579
2014-07-06fix assert for empty string case on loading ooo119654-1.odtCaolán McNamara
Change-Id: I97cbb6ff0f320d9315310cbc06c52c3c4f958a64
2014-07-04coverity#704499-501 Division by zeroNorbert Thiebaud
Change-Id: I5f082f10cb6822707a279d5b38ef2936ad2e5c41
2014-07-04coverity#704033 Uncheck return valueNorbert Thiebaud
Change-Id: I7c119d41d2419f1181f6fe30d501e5142d2586ec
2014-07-04coverity#704032 Uncheck return valueNorbert Thiebaud
Change-Id: Ibb37a059f740580f1d02ed58172451ad5efdd8d5
2014-07-04Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I04a0a2c296206f155ee4916b15b853a7f10c2c2a
2014-07-04Drop unused #includesTakeshi Abe
Change-Id: Ief545db58a0dbb26ba293aa71debc816a8925b6c
2014-07-03Generally better to have DLLPUBLIC class with some DLLPRIVATE membersStephan Bergmann
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3. Change-Id: I5ffb27f0bc965aede03e6d1e849cd68ef6e16e2a
2014-07-03fix regression in paper format previewCaolán McNamara
regression from 7d9bb549d498d6beed2c4050c402d09643febdfa Change-Id: Iede5abe9fddfff48bd73d69f4b48e178aa2342d3
2014-07-03coverity#706094 Unintended sign extensionCaolán McNamara
and coverity#706093 Unintended sign extension coverity#706092 Unintended sign extension coverity#706091 Unintended sign extension Change-Id: I64ec74ad8eecdb47a6245086ea6e01716a02cd32
2014-07-03use assert when followed by derefCaolán McNamara
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-03Resolves: #i125189# corrected used transparency and handling...Armin Le Grand
to values used in the fallback SvxBrushItem (cherry picked from commit 63f53dbd6cac4fcd7fe568af62f29ae19768085f) Conflicts: sw/source/core/layout/paintfrm.cxx Change-Id: Ifa339c76e8f55a2b4550f1252e6ab3e4dee57080
2014-07-03comphelper: sal_Bool -> boolStephan Bergmann
Change-Id: I7d7ae1f5ddff0cf7d11a407b190256f37a71d48a
2014-07-03Avoid null this pointers in member function callsStephan Bergmann
Change-Id: Iada6d8fcd261ddfb02b4dbc2f628ef0738c4ea01
2014-07-03Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I7878d425cea773338799fb784c25039e6b923e47
2014-07-03Mark as constTakeshi Abe
Change-Id: Id0b0f77d88f593975dec4e024ca6ef5c45946128
2014-07-02Do not leave unreachable TableColumnUndo/TableRowUndo in case of exceptionsTakeshi Abe
... which might be a memory leak otherwise. Change-Id: I5e911ba815c3df519365236043fccc7ff21c60b4 Reviewed-on: https://gerrit.libreoffice.org/9979 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-01TyposJulien Nabet
Change-Id: I7c3f115520d8c6a1fba997aeedddf96c01780e7e
2014-07-01Activate the "suspicious cast to sal_Bool" parts of loplugin:salboolStephan Bergmann
Change-Id: I78a368ef2899b2462251b45a327fc7b1f31fe764
2014-07-01coverity#735881 Dereference after null checkCaolán McNamara
Change-Id: I2fd45dd0ab1e0bedca7e827886949beb3f494cad
2014-07-01coverity#735883 Unchecked dynamic_castCaolán McNamara
Change-Id: I4dec526d78dfaa1d894ab1be205e58e1224fbf72
2014-07-01New loplugin:stringconcatStephan Bergmann
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01Related: fdo#80713 make 'Gif image', etc. translatableCaolán McNamara
Change-Id: I47d15623bd12b4b63a8d3701aaf1bebbba5ca7c5
2014-07-01Resolves: fdo#42747 limits need to multiplied by num of decimal placesCaolán McNamara
NumericFormatter limits need to multiplied by num of decimal places because the arg is a long so to retain decimal places its got to be raised up by the num of places Change-Id: Idbc49a9b1dde5fe176e5170d3be605a998050da5
2014-07-01loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I864d5e3fbb7f8f8278c45b721be70f805c6a6713
2014-07-01getSvxBrushItemFromSourceSet: add fix for JunitTest_sw_complexMiklos Vajna
Change-Id: I826cd15923ecb2088161e4cf9650b2f388fd84b5
2014-07-01getSvxBrushItemFromSourceSet: let XFILL_NONE result in COL_AUTOMiklos Vajna
I'm not completely sure about this, but without this, automatic color is translated back as rgba(114, 159, 207, 255), which sounds even worse. Change-Id: I9f96f26b3797d9e289119a4795d2535b6d72262e
2014-07-01Related: #i124638# Second step of DrawingLayer FillAttributes...Armin Le Grand
for Writer objects, now added support for Paragraph and PageStyle (including Header and Footer) for direct attributes and style attributes (cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b) Conflicts: cui/source/factory/dlgfact.cxx cui/source/factory/dlgfact.hxx cui/source/inc/bbdlg.hxx cui/source/inc/cuires.hrc cui/source/tabpages/bbdlg.cxx cui/source/tabpages/bbdlg.src cui/source/tabpages/page.cxx cui/source/tabpages/tparea.cxx include/svx/pagectrl.hxx include/svx/svxdlg.hxx include/svx/svxids.hrc include/xmloff/PageMasterStyleMap.hxx include/xmloff/prstylei.hxx include/xmloff/txtprmap.hxx svx/Package_inc.mk svx/inc/svx/hdft.hxx svx/source/dialog/hdft.cxx svx/source/dialog/pagectrl.cxx svx/source/tbxctrls/tbxcolorupdate.cxx svx/source/unodraw/unobrushitemhelper.cxx sw/Library_sw.mk sw/inc/fillattributes.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/ndtxt.hxx sw/inc/node.hxx sw/inc/swunohelper.hxx sw/inc/unobrushitemhelper.hxx sw/inc/unoprnms.hxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/visiturl.cxx sw/source/core/docnode/node.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/rolbck.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/fillattributes.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/rolbck.cxx sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/chrdlg/paradlg.src sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/uibase/app/docst.cxx sw/source/uibase/app/docstyle.cxx sw/source/uibase/frmdlg/colex.cxx sw/source/uibase/shells/basesh.cxx sw/source/uibase/shells/textsh1.cxx sw/source/uibase/uiview/viewstat.cxx sw/source/uibase/utlui/uitool.cxx xmloff/inc/PageMasterImportContext.hxx xmloff/inc/xmloff/XMLShapeStyleContext.hxx xmloff/source/draw/XMLShapeStyleContext.cxx xmloff/source/draw/sdpropls.hxx xmloff/source/style/PageMasterExportPropMapper.cxx xmloff/source/style/PageMasterImportContext.cxx xmloff/source/style/PageMasterPropHdlFactory.cxx xmloff/source/style/PageMasterStyleMap.cxx xmloff/source/style/prstylei.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx xmloff/source/text/txtstyli.cxx Conflicts: svx/source/dialog/hdft.cxx sw/source/core/doc/visiturl.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/unocore/unostyle.cxx Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-30Changed BColor to Color in TextFooPrimitive2D classesmatteocam
Change-Id: I4f29ec307f7f86e0a43d661785f90601e24a16ce (cherry picked from commit 530db75780c0c7711e1e334e6968cd357bf3d5a0)
2014-06-30Removed assertion in EditCharAttribBackgroundColormatteocam
Change-Id: Ic9b41eed686ca8bf07c8e3e1555fc6953093a2d4 (cherry picked from commit e68c18f1afe93eba5e79829510df16a78d66c95e)
2014-06-30Associated CharBackColor to EE_CHAR_BKGCOLORmatteocam
Change-Id: I3ce7b235aed71a51ccfa154227be16b3b2265d2a (cherry picked from commit 48647d731c3f85ce2ed9b3f89d73f805976118f5)
2014-06-30Added Text Fill Color in TextDecoratedPrimitive2Dmatteocam
Change-Id: I8c3946c08d20cc2ca2af6f17a2a57d6c9a5cfa23 (cherry picked from commit 00fc45e78d84dddf32b450441bf9028352ec9e52)
2014-06-30Added Text Fill Color in TextSimplePortionPrimitive2Dmatteocam
Change-Id: I40309c17d6e3d0547c4724a01b464e94a3c8a61c (cherry picked from commit 4177d9b34551f7cf2a7ea8d2dfdff37b89400db4)
2014-06-30SvxPopupWindowListBox: avoid inheriting from boost::noncopyable two timesMiklos Vajna
Change-Id: Ie74ceb4baf443dae5cfb524b2373dbebf3a8ab4e
2014-06-30Called C++ object pointer is nullCaolán McNamara
Change-Id: I88efc4be6ff869ef97a2b398d43f7b7914debfc6
2014-06-30Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I9a92edd7886db484f1333585545f6f63a233a6dd