summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2013-03-30Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-1/+1
Change-Id: Ib4c9cf4406683a2d298967dbff8e084cbd9a7b4c
2013-03-30Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-18/+12
+ convert while loops into for loops Change-Id: Icb01b55d2932193f83344bda8c69c9a9954f6de0
2013-03-30Simplify iterators stuffJulien Nabet1-8/+4
Change-Id: I6cd97ea5056596122a8ae6cb0c5cd6525ce6b302
2013-03-30Export Chart as Graphic - allow vector graphic exportTomaž Vajngerl4-88/+230
Readd removed SaveShapeAsGraphic to GraphicHelper with which it is possible to export any shape to vector/raster graphic. Additionally cleanup GraphicHelper and ExternalEdit (convertsion to OUString, remove unused imports, comments). Change-Id: I1af45e2ed5d3b66dbd80a5f3a71c44530e46baef
2013-03-29ResMgr with LanguageTagEike Rathke5-5/+5
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29svx: clean up these macros in fmprop.hrcMiklos Vajna4-148/+148
Change-Id: I9b5b76929d823654bcff40b47062b96bc453e825
2013-03-29Oups ++aIter had to be removed hereJulien Nabet1-1/+0
Change-Id: I9ac0b5e0f74f7f211d074095fe82e93595d2f55a
2013-03-29Use const_iterator and use them in loop onlyJulien Nabet1-4/+1
Change-Id: I64a206957e979cfd4d43805bfb089f5af96239e2
2013-03-27svx/source/inc/trace.hxx -> SAL_INFOStephan Bergmann5-197/+21
Change-Id: I019f41aeb41ec150087e6f544cff3b36719d1845
2013-03-27coverity#704341 Logically dead codeJulien Nabet1-1/+1
Change-Id: I5a097afe1c582eab023cecadc0b1cc77faf774a1 Reviewed-on: https://gerrit.libreoffice.org/3046 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-27coverity#704334/704335/704336 Logically dead codeJulien Nabet1-4/+4
Change-Id: Ieaa3c8ed735692a16c40ff01ea1dec52c2a29f31 Reviewed-on: https://gerrit.libreoffice.org/3045 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-27WaE: macro "_STRING_H" is not usedTor Lillqvist1-3/+0
Change-Id: Iabc3ab2d455a768f7af159490e0c26b694c01f34
2013-03-27WaE: macro is not used: _MATH_H weirdnessTor Lillqvist2-6/+0
Change-Id: I283767ba44012a740d49f1b8d9d1f6bf80d8b664
2013-03-27-Wunused-macrosStephan Bergmann6-22/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27_USE_MATH_DEFINES is already taken care of by sal/config.hStephan Bergmann1-1/+2
Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
2013-03-26Resolves fdo#61540K_Karthikeyan1-2/+7
On Insert before, the reference column whose size is going to be used for newly created column(s) is wrong. As the new columns are inserted before the reference column, the reference column moved to the new position by no., of new columns i.e (earlier+newcolumns). Change-Id: Ib52e3633aecb1220cdf709058391361376dc5f00 Reviewed-on: https://gerrit.libreoffice.org/2958 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-26sal_Bool to boolTakeshi Abe18-57/+56
Change-Id: I27a444a8313bff276e377ffb87458213f4e19707
2013-03-26Remove useless comments; add mode linesTakeshi Abe1-14/+2
Change-Id: Ib96d394954326a2c8f52ae4a161d9b505dbc35a3
2013-03-26drop external include guardDavid Tardon1-2/+0
Change-Id: I8cac4fef46e745b8256e45e5b40abc3f87128916
2013-03-25coverity#704327 Logically dead codeJulien Nabet1-3/+0
Change-Id: Ied464d57c7895fdf1d9e74e7f89d70bac2834d9e
2013-03-25coverity#704321 Logically dead codeJulien Nabet1-1/+1
Change-Id: Ibcae025319e689d917d6c85f6c0a3bed8315672e
2013-03-25coverity#704320 Logically dead codeJulien Nabet1-3/+0
Change-Id: I12a49d9bdc5503facd6a9a00708b22034b173a7e
2013-03-25sal_Bool to boolTakeshi Abe10-59/+59
Change-Id: Ibc63340b3ae431c7cdac78893dbdd1989ebe5ff9
2013-03-25deleting NULL is safeTakeshi Abe1-2/+1
Change-Id: I3748d0034b2c8e9d9122ad2a9001763eb1265e1d
2013-03-24fdo#62617 display groups on multiple layers correctlyDavid Tardon4-1/+27
It is possible to group objects from different layers, so it is an error to rely on layer ID when checking visibility of a group. This problem was partially obscured by the fact that SdrObjGroup::GetLayer() returns 0 if its subobjects are on different layers and 0 is a valid layer ID. Change-Id: I0ef75544a26817154642185864cafd4e6734fa38
2013-03-24avoid possible data inconsistencyDavid Tardon1-4/+1
GetLayer() is virtual, so it might not be always the same as mnLayerID. Change-Id: Idabf02505678a7150a94498be3bc4ffc20ac56af
2013-03-24drop nonsensical warningDavid Tardon1-1/+0
Change-Id: I3f63268535bf8ed13a4728ed3eb3528193712e6e
2013-03-24fix crash after conversion to STLDavid Tardon1-19/+23
Change-Id: I0a49ce4ddf53eede0f940b392aab20afb5dd2cbe
2013-03-23rhbz#876742 speed up table manipulation in ImpressDavid Tardon6-15/+125
It turns out this is not actually a performance problem but an oversight in implementation (or a bug, if you want .-) Every manipulation with a table (e.g., move, resize; actually even a selection of the table) leads to creation of a full copy of the table (SdrObject::getFullDragClone()). One of the actions the table copy impl. does is to call sdr::CellProperties::SetStyleSheet() on every cell of the new table. CellProperties is derived from sdr::properties::TextProperties and CellProperties::SetStyleSheet() just passes the call to TextProperties::SetStyleSheet(). This is where the trouble begins :-) The SDR representation of a table, SdrTableObj, is derived from SdrTextObj. Because of that, SdrTextObj needs to be able to contain more than one SdrText (because a table needs one for every cell). This is handled correctly by TextProperties. But, because there is no SDR representation of a single cell, CellProperties uses the SdrTableObj as the SDR object it works on. Therefore TextProperties::SetStyleSheet() processes all SdrText objects of the _whole table_, not just a single cell. And this is repeated for every other cell... Change-Id: Iab2e2d0e1e8038710645c0bd24666e6032b0a003
2013-03-23drop unused includesDavid Tardon3-20/+2
Change-Id: I819539b372d33cc8982a01d7bb72093cedb6461f
2013-03-23drop unused member varDavid Tardon2-15/+0
Change-Id: I68004a90cbfdf6bf6c5b09998406a5479e5c50d6
2013-03-23broadcast change if removing NULL pageDavid Tardon1-2/+4
Change-Id: Iacf5e9cc509e29aaf5dd1321407c0de9db7677f3
2013-03-22strg is ctrl in englishThomas Arnhold1-2/+2
Change-Id: I569bfa7c9d461a5af0ef6e6f37bf717255936b78
2013-03-21regenerate pchPeter Foley1-2/+3
Change-Id: Idacefb2e89dc2f8bd44e489b43b47847123476e2
2013-03-21sal_Bool to boolTakeshi Abe14-85/+85
Change-Id: I9bdb9db8b38758117a6bad27a014376806841470
2013-03-20i#78247# and i#78029# wrong glue points in iscosceles and in right triangleRegina Henschel1-2/+2
(cherry picked from commit 26e91b07a559692b4f8acdd04f5bd28d0daa68b3) Change-Id: I504ec85fa7b94a4473905b7e2720b2169c53e6cf
2013-03-20Related to coverity#704822 (Explicit null dereference)Julien Nabet1-1/+1
aSlotIds.push_back(0) => aSlotIds can't be empty => pSlotIds can't be null So no 704822 Change-Id: I52237fcd4f160a294c23307c2e33b515372b3c92 Reviewed-on: https://gerrit.libreoffice.org/2872 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-20Replace String with OUString (unotools)Chr. Rossmanith1-2/+2
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8 Reviewed-on: https://gerrit.libreoffice.org/2864 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2-8/+5
...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20Assume that this shall check full string equalityStephan Bergmann1-1/+1
...instead of prefix match as the use of compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) would imply. Change-Id: Iea78d873bf226665998d7ff67e3cdbbae97d9b38
2013-03-20fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin2-3/+4
.. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-20fdo#46808, convert some getProcessServiceFactory()Noel Grandin2-3/+3
Change-Id: I3722a54ea173f54f8d8f1e0e654137c6f76d8613
2013-03-20fdo#46808, convert drawing::GraphicExportFilter to new styleNoel Grandin1-4/+2
Change-Id: Icd456209406ee8f4dc4ea1f966058f71dce08d58
2013-03-20fdo#46808, convert graphic::PrimitiveFactory2D to new styleNoel Grandin1-23/+18
The service already existed, it just needed an IDL file Change-Id: I40fb28d94253c3c577655bb888ff0d0ee3ba3822
2013-03-20fdo#46808, cleanup some usage of getProcessServiceFactory()Noel Grandin4-51/+34
Change-Id: I2ab4c7c0a19bd436c84e62bfc6aeda1fea079a44
2013-03-19further OUString cleanupThomas Arnhold3-9/+8
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold33-147/+146
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann1-1/+1
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold74-416/+415
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19trailing whitespacesThomas Arnhold1-2/+2
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6