summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
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
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold
Change-Id: Icd07fba84735325408741ad10864c63ea32a6481
2013-10-04fdo#39674 fix some spellingThomas Arnhold
Change-Id: I72e497fb97edf8782c69000576f42896594e1556
2013-10-02toolkit: avoid deadlock in UnoControl::setDesignMode()Michael Stahl
Avoid deadlock by disposing the accesibility context without the Mutex locked, since it will eventually try to acquire the SolarMutex... Thread 1 in UnoControl::getPosSize() calling from sdr::contact::ControlHolder::getPosSize() Thread 2 calling from UnoControl::setDesignMode() trying to get SolarMutex in VCLXWindow::disposing() Change-Id: I7d0ffe4fa0f8cd0c48e9b9b5e923ce229f97ca57
2013-10-02Attempt at an ascii-art reproduction of DrawingLayer design.Michael Meeks
As inspired by Thorsten Behren's slides FOSDEM 2009 on the topic. Change-Id: Ifdb9388550ce82af0f8015be460fa22335a3c0cf
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: Iad2385d0c061ac91f4a15ef613549cd1cba94dcc
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I091b873e47a5b947ee7fea96fd4f079012c7278a
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I025391e04167e66783df785af960609ec0f1ceb6
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I8efdd18b98831efc5d0ba8d3b25555dfca557543
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I629a17a03b9c5fcd6630a2dbab992f89956f12e7
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I48b1a515ada0fe10e58bacddb0118d520274611c
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I4feed2237f71ab4baeee44ca1404072f52e5eca4
2013-10-01don't show macro passwords when entering themCaolán McNamara
Change-Id: I0bd594a10efbd0469423d7463896f7e02f958ff1
2013-10-01Convert change password dialog to widget UIManal Alhassoun
Change-Id: I0ff0eda77b849927fe6cffe5cf203c46ba9ef340 Reviewed-on: https://gerrit.libreoffice.org/6089 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-01convert remnants of String in SVX to StringNoel Grandin
Change-Id: I66fd6387c3fcd33c6ae0b431810abf6679345767
2013-10-01convert SvxNumberFormatShell::SetComment4Entry from String to OUStringNoel Grandin
I seemed to have missed this in my earlier conversion process. Change-Id: I9266fac26425d552520ce68bdcce9b8f4cdbe9a6
2013-09-30Sidebar: Show default line-color in 'Draw'Prashant Pandey
Currently, the default color shown in Sidebar>Line>Color is yellow and is not updated until and unless one hovers a mouse on top of it. This is wrong and the default color of the line-color should be updated and shown by default. Change-Id: I213cba84a0fc726220acfe547955a96d6bb4446b Reviewed-on: https://gerrit.libreoffice.org/5932 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>