summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2013-11-08remove unnecessary use of OUString constructor in SVX moduleNoel Grandin
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
2013-11-08earlier failure in debug modeLionel Elie Mamane
in the case that mpObj.get() is not a SdrOle2Obj* Change-Id: Idff7324242062665c137685096cd82284e24f0d9
2013-11-06Remove #ifdef TIMELOG'ed SAL_INFOsStephan Bergmann
...the code doesn't make much sense that way. Change-Id: I506e37b44924701255431f6d20d4610f7f52287d
2013-11-06Resolves: #i123500# redefined ColorModifiers and ColorModifierStack...Armin Le Grand
redefined GraphicAttr to be expressed as primitives if needed, enhanced render and export quality if graphic is modified using graphic attributes (cherry picked from commit 1e79e8da3f8042f7d7bd94b2c9f03cff7545b05c) Conflicts: basegfx/inc/basegfx/color/bcolor.hxx basegfx/inc/basegfx/color/bcolormodifier.hxx basegfx/source/color/bcolormodifier.cxx drawinglayer/inc/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx drawinglayer/source/primitive2d/graphicprimitive2d.cxx drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx drawinglayer/source/primitive2d/modifiedcolorprimitive2d.cxx drawinglayer/source/primitive3d/modifiedcolorprimitive3d.cxx Change-Id: Ief2172efc9cc1b9838de48ec7f536c05573c7dc3
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-05Resolves: i123564 corrected some aspects when working with bitmaps...Armin Le Grand
with low color depth or small size (cherry picked from commit ba54ce4fc788605fc96235f432b455311faee406) Conflicts: cui/source/tabpages/tpbitmap.cxx Change-Id: I10677414ab7d1904dbb29cd395a0c0334e0faa03
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-05presumably this was intended as include guardThomas Arnhold
remove it, as it's nonsense Change-Id: Id8171b81d42dfd3d391b7c5e6602d9271b6697c7
2013-11-04fdo 70998: Termchange: Graphics->ImageSamuel Mehrbrodt
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38 Reviewed-on: https://gerrit.libreoffice.org/6524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-03cppcheck: reduce scope in ctredlin.cxxJulien Nabet
Change-Id: I7bdbea6bfadf0f2ce5e3ecb4803929797ebf7af2
2013-11-01Some Trivial clean-upStephan Bergmann
Change-Id: Ie48e8f5cbc455ef267ad756d82f8c0efee0ef065
2013-11-01SdrGraphLink::pGrafObj can never be nullStephan Bergmann
Change-Id: Ifeb77e61040accd1f7f7ed31d0340c66fbab39a5
2013-11-01Pass OUString by const &Stephan Bergmann
Change-Id: I6b3d6709eb8e3471aaa6ad7b3bcba3319719218b
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-30fdo#54938: Convert svx to use cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I3ab178924cb1c4240511f08625f244dac54e3913 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28svx: Package_gengal to INSTDIRMichael Stahl
Change-Id: Iae49265aa16bf6b3e13bf2b645f1cef6b9ce186b
2013-10-28fixincludeguards.sh: svxThomas Arnhold
Change-Id: I885bbc431322ee233f8e67ec2bb5701af909046c
2013-10-28remove some stray using rtl::OUStringThomas Arnhold
Change-Id: I47d84f1b0c758bd390d8a5c1895dbb3548999bb6
2013-10-28remove local css namespace definitionsThomas Arnhold
As we have it globally in sal/types.h those are not necessary. Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-28windows: warning 4355 is disabled globally in com_MSC_defs.mkThomas Arnhold
So there is no need to do this locally, too. Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-26Seems that <vcl/cvtsvm.hxx> is private to VCL, so move it thereTor Lillqvist
Change-Id: I3fd1ac8aaea2e79efcd9e2d4b12347a387d0d28b
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza
Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d Reviewed-on: https://gerrit.libreoffice.org/6423 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-24fdo#69079 - fix multiple user gallery creations.Michael Meeks
Change-Id: I0539e2708b973b8bea7bd63488277f00201c6c46
2013-10-23fdo#54938: Kill ServiceInfoHelper::supportsService and use cppu's instead.Marcos Paulo de Souza
Change-Id: I1c2d95e4c3fb6242dcb4cdb88cf9733471a3412b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22Resolves: fdo#38838 remove UniStringCaolán McNamara
hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
2013-10-21Remove comphelper::ComponentContextStephan Bergmann
Change-Id: Idc5974e5a2ec68e8f1b2312a88fab15092c82788
2013-10-21Check for OUString::copy out-of-bounds argumentsStephan Bergmann
regression introduced with 1287804a89c73e072d57a11ca18988c3e73a77b8 "convert svx/source/gallery/*.cxx from String to OUString" Change-Id: Ia8171f2215253b6db8f7eb1f623a6e0c68dc7b94
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-19CID#1038502 uninitialized memberCaolán McNamara
Change-Id: Ie69689748e6e38e3d269855a4c72e78d7979119b
2013-10-17CID#1028073: possible memory leakMarkus Mohrhard
Change-Id: Ifbc7d7b04b20fbf46204866a82aa10319c5dddf2
2013-10-16Resolves: #i122738# corrected update of FillStyle/FillAttribute UI elementsArmin Le Grand
(cherry picked from commit 2fc5d2946561258b012b80443cac025d851afda8) Conflicts: svx/inc/svx/fillctrl.hxx svx/source/tbxctrls/fillctrl.cxx Change-Id: I3be23f7ec199c49beb7c5cecfb835977e2bedcea
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-12No idea why <wchar.h> would be needed here on non-Linux UnixTor Lillqvist
Change-Id: Ic9fc0c7500336c4ecb4e6e46c9a7574d92235268
2013-10-11loplugin if-body warningStephan Bergmann
Change-Id: If19c06fafc6bdf121e72e49329c89839693297bf
2013-10-09update unusedcode listCaolán McNamara
Change-Id: I201985753fc53f037807e7870c6786a442717d6e
2013-10-09stray ' in stringCaolán McNamara
regression since 55a15541a17e5c9b49039b0db31473ab81c2456b Change-Id: I9c5853061eef5befba7644ea0ca05b7751addc6c
2013-10-08Resolves: #i123350# Added Clear() implementation to SdrUndoManager...Armin Le Grand
to only delete text edit part of the undo stack (cherry picked from commit 81e916525fa63b188b2a3b9bb7030e4d451a4808) Conflicts: svx/inc/svx/sdrundomanager.hxx Change-Id: I19594e4cfa52a24dbcb95639ac3c6b9f39908cc7
2013-10-08Smiley face now smiles!Ahmad H. Al Harthi
Change-Id: I5f74c866327bfc51c31694db93a9f7f2dad79858 Reviewed-on: https://gerrit.libreoffice.org/6161 Reviewed-by: Faisal al-otaibi <fmalotaibi@kacst.edu.sa> Tested-by: Faisal al-otaibi <fmalotaibi@kacst.edu.sa> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-08Move WriteDirection buttons to paragraph sidebar fdo#67746abdulmajeed ahmed
Change-Id: I7a49e1ba9eb08c2fa79b80d572ef86ac5f76b9ca
2013-10-07fix string conversionIvan Timofeev
Change-Id: I1fbb5d4c8a279d572fe1ff0d9f06c3eeb7d9a0de
2013-10-07CID#704124 wrong operator used, harmless thoughCaolán McNamara
Change-Id: I029a8df204ea4faf16e801ff90cd715adfe8e713
2013-10-06RulerItem: indent and cleanupTomaž Vajngerl
Change-Id: Ice76e03b6cac32263fb1909175b105ccc544e234