summaryrefslogtreecommitdiff
path: root/include/svx
AgeCommit message (Collapse)Author
2014-07-22callcatcher: update unused codeCaolán McNamara
Change-Id: I1dd1b40d807c7c9d9b145aca9f69a67d786ec5ff
2014-07-19XFillStyle -> css::drawing::FillStyleMiklos Vajna
Change-Id: I6b2fabd72fd34f4ac1b3a18f386c90794bc39ce4
2014-07-17add commentNoel Grandin
Change-Id: I1566a20166e77ac1e00db9ba19b92c68ad14e2df Reviewed-on: https://gerrit.libreoffice.org/10366 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-17Renamed brdcst.[hc]xx to SfxBroadcaster.[hc]xxTobias Lippert
- Remove includes from files where they are not needed. - Update pch files Change-Id: I0188e3934ef429008c1ef495ab1d5b27f38664d5 Reviewed-on: https://gerrit.libreoffice.org/10342 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-07-15Related: fdo#80633 we can retain cached size for visibility changeCaolán McNamara
we still need to invalidate the layout of our parents, but we can keep the cached optimal size Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
2014-07-11bnc#883684: Better fix for this.Kohei Yoshida
Instead of making all chart objects exempt from unloading, check each OLE object on whether or not it already has its persistent storage created. If not, don't unload it else it would have nothing to load back from once unloaded. Change-Id: I2312e86c9376d3699ef4aa1e0cf2f4c04f706c1e
2014-07-11RID_SVX_XFORMS_TABPAGES conversion to .uiSzymon Kłos
Change-Id: I0f3647e95b2150eb8753aa333eeb492fee76bd2a Reviewed-on: https://gerrit.libreoffice.org/10192 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11Clean up usage of 'this' and constness.Matúš Kukan
Change-Id: I35085bebdec47598a5f927924b429b02b44c0e65
2014-07-11Allow to move only callout handle with shift key (cp#1000084)Matúš Kukan
When line callout was used, you couldn't move the point next to the rectangle. Now it's possible with shift key pressed. Change-Id: I70565e4e3f80daf0e1007031ef7d49036fb0e26b
2014-07-10This forward declaration no longer needed.Kohei Yoshida
Change-Id: I2b760d71651d48c2e944f9344bd115e9443aa9a2
2014-07-10Move the rest of the members to the impl class.Kohei Yoshida
Change-Id: I80186a617c751420954b27e070559cc8487c7fd9
2014-07-10Move "prog name" (whatever it is) to the impl class.Kohei Yoshida
Change-Id: Ifa4f2f2f923d4800cf5fd540631204492ace1936
2014-07-10Move Graphic member to the impl class.Kohei Yoshida
Change-Id: Iee58a6c9b7081a2aa00f6f050574a5827840286b
2014-07-10Head cleanup - use forward declarations.Kohei Yoshida
Change-Id: Icc4fa0acad77d61200eb77cc70e21866590b658e
2014-07-10Move the embedded object to the impl class.Kohei Yoshida
Change-Id: I15af9a74fdcc40d65b3f8b394fc69037c017fe76
2014-07-10Use initializer properly and remove Init().Kohei Yoshida
Change-Id: Ic343ff4ddd51a933ba97971d5a1197f5a25ef772
2014-07-10These members should be private rather than protected.Kohei Yoshida
Change-Id: I5b50a5dc0b83b2d5017ab749600324338ff0abdc
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-09Export these symbols.Kohei Yoshida
Change-Id: I8a16103564775e3df67d9a9891197e800ab63995
2014-07-09Let's not derive from std::vector.Kohei Yoshida
Change-Id: I512d97d36c344df097cc5a1ac90aa9d3d219c1e9
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-03Generally better to have DLLPUBLIC class with some DLLPRIVATE membersStephan Bergmann
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3. Change-Id: I5ffb27f0bc965aede03e6d1e849cd68ef6e16e2a
2014-07-03Avoid null this pointers in member function callsStephan Bergmann
Change-Id: Iada6d8fcd261ddfb02b4dbc2f628ef0738c4ea01
2014-07-02coverity#705359 Mixing enum typesCaolán McNamara
and coverity#705361 Mixing enum types coverity#705362 Mixing enum types Change-Id: I557d7178277e5d497e3bbab12b75724c05653f57
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-06-27SdrObjCustomShape::AdjustTextFrameWidthAndHeight: allow external textMiklos Vajna
So that in Writer, in case we're using Writer TextFrames to handle the content of a shape, it's still possible to inform the custom shape about the automatic size of the text, just like when native editeng text is used. Change-Id: I2534b942a9b2d62d7aa009ffbfa8d76feb011f92
2014-06-25remove spurious com::sun::star::text prefixMichael Stahl
Change-Id: I98d2fc7de3c2d3f95fb96192da83761ac1146172
2014-06-25remove spurious ::com::sun::star::sdbcx namespace prefixMichael Stahl
Change-Id: I37220af64c15259ab5bcf61b324d2a73ed8f5348
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24Remove unused mpOwner in SvxTextEditSource.Matúš Kukan
Change-Id: I824e8436945e056840386960308b8e63627a603f
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-17Resolves: #i125065# handle critical cases in FillStyle/FillProperties...Armin Le Grand
toolbar combination (cherry picked from commit 0ce4a90e14ddc9067d014405235a36aa959c6ea2) Conflicts: include/svx/fillctrl.hxx svx/source/tbxctrls/fillctrl.cxx Change-Id: I9a1b2490a7e9285559dddd4df7fb20c2216fd450
2014-06-17coverity#1209942 Uncaught exceptionCaolán McNamara
Change-Id: Ice7a4802605fbe59dfb24a27408106756a3494ba
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-16convert Save Progress Dialog to .uiCaolán McNamara
Change-Id: I833e6e9c78620443325b5ef9efa403a5eef497cc
2014-06-16Clean up SdrModel::MigrateItemSetStephan Bergmann
* No need to support null pNewModel argument (the one call site that did pass in null explicitly in sd/source/ui/func/fupate.cxx can just as well pass in mpDoc, and all existing call sites are guaranteed to pass in a non-null value). * With that changed, SdrModel::MigrateItemSet can be static. (At least in JunitTest_forms_unoapi it could happen that the call from svx/source/sdr/properties/attributeproperites.cxx called MigrateItemSet on a null GetSdrObject.GetModel(), which was undefined behavior even though it was harmless.) Change-Id: Idface48da7e889c6e5768d0e49bc67c88b4c3ec4
2014-06-13coverity#983928 Uncaught exceptionCaolán McNamara
Change-Id: Ib3b25a0aab2389be68fc8339f9b08a87de419b33
2014-06-12Bin obsolete pointless preprocessor trickeryTor Lillqvist
Change-Id: Icff9a0f112c80569a4533d5c0c6e789eec3925ee
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann
...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11Change SfxTabPage::Reset param from ref to pointerStephan Bergmann
...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann
...there were a number of call sites that passed undefined "null pointer references" (apparently in cases where the passed argument was actually unused) Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10-Werror,-Wtautological-undefined-compareStephan Bergmann
Change-Id: Id73628a33ea4fe4cd749ebeef7b3cd0a87ff4118
2014-06-10coverity#707245 Uncaught exceptionCaolán McNamara
Change-Id: I9579078a845cd25e25b863e08de94aec1687d596
2014-06-10coverity#1222241 Uncaught exceptionCaolán McNamara
Change-Id: Ibaf3a5305082b60fadb8a2499712dc4a460cb449
2014-06-10coverity#1222243 Uncaught exceptionCaolán McNamara
Change-Id: Ia0e1d109023c133104574c380a5e7abda5ae2480
2014-06-09de-virtualize these stringify methods, nothing overrides themCaolán McNamara
Change-Id: Id523ae3f50147fd778a1576c2851d01e1ea8c3ae
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05svx: remove SAL_THROW macroNoel Grandin
Change-Id: I8bfce109e55871d48b35300be98085f383fef26f