summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2013-01-09fdo#46808, convert UnoControl and sub-classes to XComponentContextNoel Grandin
Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
2013-01-09fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
2013-01-08Remove one variant of HasField() which takes arcane TypeId.Kohei Yoshida
Change-Id: Ic8236b291ed5f318f67378bbc57b7cf027cbb92a
2013-01-08Optimization in for loop condition partK_Karthikeyan
Change-Id: Ia9a52598e9c295fee8be040530ca232fddbd14c3 Reviewed-on: https://gerrit.libreoffice.org/1560 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-07Revert "dummy commit (WIP)"Luboš Luňák
This reverts commit 6eb0522395c236ae6930a300992ad092449f9592. It does not compile and the message and contents suggest it probably wasn't meant to be pushed.
2013-01-07dummy commit (WIP)Chr. Rossmanith
Change-Id: Ibeee6553312323b75b2403ad6832595f228e0e3c
2013-01-07allow menu items to be referred to by a nameCaolán McNamara
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07split out numbering position page to cui and adapt codeCaolán McNamara
and move SvxNumberingPreview from svx to cui where its ::Paint impl already lives Change-Id: I2b7bebeb9914d74d0f391d3b178b0ad3d778c479
2013-01-07callcatcher: update unused codeCaolán McNamara
Change-Id: Ic896ea234c3ea7bfaa94ab2441471926beae427d
2013-01-07pick out graphic numbering page to cui and adapt codeCaolán McNamara
Change-Id: I8bfd09a1f48fe892fb1a99962d0a46de8b7cb1ec
2013-01-07split out pick bullet page to cui and adapt codeCaolán McNamara
Change-Id: I6fa93885f1ce51fb0e3d69265784340614146636
2013-01-07Bugfix for improper function call, column count was compared with row countK_Karthikeyan
Change-Id: Iacf59548209d2be8b36839ae12bed9cedb7bdded Reviewed-on: https://gerrit.libreoffice.org/1562 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07Fix calls to SfxPoolItem* Put with a Which-ID of sal_falseWerner Koerner
Change-Id: I39914909fd394532e7a32c791d4480530393c1c0 Reviewed-on: https://gerrit.libreoffice.org/1499 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07UNO objects must be allocated on the heapStephan Bergmann
This was a regression introduced with 6da90944b5134d65bfbd7dcaf024956aa139efc1 "ugly memory leak." Change-Id: Ie976d7ddcdac974aeeba14ffd64c4641b5d096a4
2013-01-06ugly memory leakMarkus Mohrhard
Change-Id: I200713987eb1c19f7d795190e7acef02af569cc8
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-02Change if-statements to switchWerner Koerner
The bit-values do overlap, 3rd and 4th case were never reached. Change-Id: Iaaf39a11811c4e28c34260a7eab7fa0476165d1b Reviewed-on: https://gerrit.libreoffice.org/1497 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-01-01remove use of #pragma optimizeLuboš Luňák
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2013-01-01move xmlsecurity .ui stuff to right place and adapt code to use itCaolán McNamara
Change-Id: If1f3dbbbef07004ec02a65563524c6c17dc16c00
2013-01-01hook SvxSimpleTableContainer child positioning off ResizeCaolán McNamara
instead of SetSizePixel etc. Change-Id: I17246821f1805bda9da0503e4fab05be5724512c
2012-12-27convert icu to gbuild and add to tail_buildPeter Foley
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-27Sigh, my git grep regexps missed some casesTor Lillqvist
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-26ignore #include inside #ifLubos Lunak
2012-12-25Get rid of (most uses of) GUITor Lillqvist
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-24fdo#56980, fdo#58267 don't leave stale SdrObject refs aroundDavid Tardon
When a new SvxShape is set on this SdrObject, remove itself from the previously set SvxShape (if any). Otherwise it will try to reset the SdrObject's SvxShape in its destructor... Change-Id: I89d952a722b643a06f8eea87aad68f8bd230f811
2012-12-21Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-20fdo#58427: fix another crash in SvxFontPrevWindow::PaintMichael Stahl
In Writer, Search&replace -> More options -> Formats used to have a window title of "Example" but not any more; let's add another fallback for the example text to makeRepresentativeTextForFont, which seems to give "Lorem ipsum" here. (regression from widget layout) Change-Id: I8dd9c099be31ed4390b04e8069a74960b58c6084
2012-12-20convert columns dialog (and sections/frame/page tab page) to .uiCaolán McNamara
Change-Id: I7ce64b63acba1581754e5a75ea48e3df654973ae
2012-12-19Some cppcheck cleaningJulien Nabet
Change-Id: I750058d7e25de26bf82e76ff09c69257ae09c5ba
2012-12-19regenerate pchPeter Foley
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-19fdo#56267, fdo#56980 propagate shape change to subclassesDavid Tardon
It turns out (as witnessed by fdo#56267) that my fix for fdo#56980 only cured the symptom, not the cause. The real problem is caused by the following sequence of events during ODF import: 1) an SvxCustomShape object is created (XShape iface) 2) an SdrObjCustomShape object is created for the SvxCustomShape, but it is not associated with it (yet) 3) another SvxCustomShape object is created internally by the SdrObjCustomShape and they are associated 4) an EnhancedCustomShapeEngine is created for this SvxCustomShape by SdrObjCustomShape 5) the SvxCustomShape from point 1 is set to the SdrObjCustomShape At some point (I did not follow this explicitly) the SvxCustomShape cached by the EnhancedCustomShapeEngine loses its (weak) reference to the SdrObjCustomShape. This leaves it gutted and all subsequent calls to render() return an empty XShape. The solution is simple: let SdrObjCustomShape know that the associated UNO shape has changed, so it can drop the custom shape engine. Change-Id: I267838ea4857dfcd646f40c811f3ae572237a1e6
2012-12-19Revert "fdo#58399 - revert attempts to untangle and accelerate this mess."David Tardon
This reverts commit bb3f2900a867fdcb6df916fff58199b4ce94dd05.
2012-12-18fix conditionals detectionLuboš Luňák
Change-Id: I50b335375b8b2ac67c50f887a4eb58456b9cea33
2012-12-18fix assertionDavid Tardon
Change-Id: I67bf571062c5246402979170e0395ede320dac82
2012-12-18update PCH headers using the current pch scriptLuboš Luňák
Removing PCH for sal, as that one is too complicated to be updated automatically right now (#include <premac.h> needs to be handled, Change-Id: I3ffe9526942f58d0f66430af109b13f7ec1d6c90
2012-12-18remove manual entry of 50 to 600 now that we support items in .uiCaolán McNamara
Change-Id: I68e5547916af4986dfab31aac9e25cc8fad8d0e0
2012-12-18set numbers in svx/uiconfig/ui/compressgraphicdialog.ui to translatable="no"Rene Engelhard
as otherwise we get uiex's output is invalid: svx uiconfig\ui Change-Id: I39b776cdb3561be0bffb8e9ebe3bf9f2660162f6
2012-12-17fdo#58399 - revert attempts to untangle and accelerate this mess.Michael Meeks
Reverts commits: 76350361f386b78e1bc9edb75af89e7ff3afe356 67f899e1d2db0dccde4b9587a52b7157fe1fb0be 1d77d4eada214e14938336070b248c18705939ff 1d16f59023b1b19d01ca69b8c9735be6d3baf5d9 The bug has a great series of linked bugs and stack-traces; the weakref / mixed tools & UNO lifecycle here is simply hideous.
2012-12-17fix problematic calc object selection after object create (at non 100% zoom)Noel Power
sometimes difficult to select custom shapes etc. created at non 100% zoom levels. workaround was to use selection tool to select an area. Change-Id: I112a60ebf37a37b16f6af5e70358853088e648a8
2012-12-17UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
2012-12-17String aNam uppercased but otherwise unusedCaolán McNamara
Change-Id: Ifd8c5edd3711357374efb2aba0ed108a36d3c740
2012-12-14Remove 2 unused methods from CompressGraphicsDialogJulien Nabet
Change-Id: I51ce4a231a43dc32a36303d293c718ee44b371a1
2012-12-13fix non-PCH MSVC buildLuboš Luňák
2012-12-13PCH for Library_svx and Library_svxcoreLuboš Luňák
2012-12-13PCH for Library_sdLuboš Luňák
2012-12-12Resolves: fdo#57469 allow tab to traverse into custom widgetsCaolán McNamara
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a candidate for getting focus when pressing tab Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
2012-12-12fdo#58029 - substantially accelerate re-rendering of complex formsMichael Meeks
Some writer VCL Windows appear to have thousands of children. Remove an N^2 in handling them, and let VCL do the job instead. i#103611 continues to stay fixed for simpler code. Change-Id: I63ddc0647f22c7e60feaaff6b795712c04693c05
2012-12-12Remove xml2cmp leftoversStephan Bergmann
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893