summaryrefslogtreecommitdiff
path: root/svx/source/items
AgeCommit message (Collapse)Author
2014-04-24add missing modelines to cxx and hxx filesThomas Arnhold
some of them have no copyright header Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3
2014-04-21remove some more bloatThomas Arnhold
Change-Id: I7b6c04d99c41360ff49be774afcb4447a829d31c
2014-04-21remove commented out translations from src fileThomas Arnhold
Change-Id: I2cab3d18913e7d7a4e5c89a391e5d9158effc037
2014-04-20cpplint: invalid UTF-8 + punctuationJulien Nabet
Change-Id: I31871db6f344e90c54ed9efb51b9576cd36d9fa8
2014-04-17no temporary instance of SvtLanguageTable necessary hereEike Rathke
Change-Id: I7a32bc6391630266eb548c4fa2c7b9dedec3697c
2014-04-15svx: sal_Bool->boolNoel Grandin
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
2014-04-11Introduce twip/mm100 conversion functions instead of duplicated macrosTor Lillqvist
Change-Id: Ib689e35b417e0e9016cd6a239c986e0603a99d62 Reviewed-on: https://gerrit.libreoffice.org/8837 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-11svx: sal_Bool->boolNoel Grandin
Change-Id: I7e7bdce5c3ddb7871b9c1fbfe93dc7f7c254f1bb
2014-03-11svx: sal_Bool->boolNoel Grandin
and optimise some methods in bmpmask.hxx - they were unconditionally returning true, so convert them to void return type. Change-Id: If8b092a857ab80ead93112b0d627e41d5ccb3cf9
2014-03-10coverity#1103656 Logically dead codeCaolán McNamara
Change-Id: I9e55dbfea39abfbe335036af910c3a8bc916d6b9
2014-03-08Translate German stringJacobo Aragunde Pérez
Change-Id: Ib936712a8dd49a7130057aebf0ba529e65eb2c66
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-03SVX : Remove usage of DBG_CTOR and DBG_DTOR.Arnaud Versini
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: I9f2ab3703feb5c49a831da124e161f98cb1bb3ab Reviewed-on: https://gerrit.libreoffice.org/8419 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26Remove visual noise from svxAlexander Wilms
Change-Id: I56497d953b0500ba0967fddb36ca8bbbe86c62ad Reviewed-on: https://gerrit.libreoffice.org/8321 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-24Remove some temporaries around calls to SvNumberFormatter methodsMatteo Casalin
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-28bool improvementsStephan Bergmann
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
2014-01-26coverity#1103752 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: Ifa23d7767a1e6b9a3573d9e58bf5b36ac67ef612
2014-01-26coverity#1103753 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I1d4b59fb0a4f6eadcc1e46c6ce5bf2a209684299
2014-01-26bIsSetType is never readStephan Bergmann
Change-Id: Ic65f51fa1d10027a0299ee67e162ce51c57b2530
2014-01-22convert more SvStream::operator<< callsNoel Grandin
.. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-22bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-20Resolves: #i56998# add a space separater between value and unit...Tsutomu Uchino
and remove separator between value and percent to match with ISO 31-0 (cherry picked from commit 0cea884e3f417e4b58d2fdcfc7b0111f3bfc6f30) Conflicts: chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/colorpicker.cxx cui/source/dialogs/colorpicker.src cui/source/dialogs/grfflt.src cui/source/dialogs/zoom.src cui/source/tabpages/tabline.src editeng/source/items/frmitems.cxx editeng/source/items/textitem.cxx sd/source/ui/animations/CustomAnimationDialog.src sd/source/ui/animations/SlideTransitionPane.src svx/source/dialog/bmpmask.src svx/source/engine3d/float3d.src svx/source/items/algitem.cxx svx/source/sidebar/text/TextCharacterSpacingControl.cxx svx/source/xoutdev/xattr.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/uiitems.cxx Change-Id: I554309cb72dd8956077c5ca6866a982cdd6529aa
2014-01-17bool improvementsStephan Bergmann
Change-Id: Ic46fa46c200b94e2e6c5a073ba89b9aae5c14542
2014-01-10SfxPoolItem::operator ==, != should return boolStephan Bergmann
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-12-03convert SvxNumberFormatShell::AddFormat from xub_Strlen to sal_Int32Noel Grandin
And make the return code be -1 for error. Change-Id: I17d066180a604208f0ad689d5dffb77d126c256b
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-08remove unnecessary use of OUString constructor in SVX moduleNoel Grandin
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
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-12No idea why <wchar.h> would be needed here on non-Linux UnixTor Lillqvist
Change-Id: Ic9fc0c7500336c4ecb4e6e46c9a7574d92235268
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold
Change-Id: Icd07fba84735325408741ad10864c63ea32a6481
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-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-05convert svx/source/items/*.cxx from String to OUStringNoel Grandin
Change-Id: I4cd056b796e67cfafda1a90069234d49921d8ad2
2013-09-05convert include/svx/hlnkitem.hxx from String to OUStringNoel Grandin
Change-Id: I3c4d1b60c5fe3df35a91258ea523e9b7f46eea71
2013-09-05convert includes/svx/numfmtsh.hxx from String to OUStringNoel Grandin
Change-Id: I95884864dd943a65cef64262cc9f05b9ceb524b2
2013-09-05convert include/svx/numinf.hxx from String to OUStringNoel Grandin
Change-Id: Ic80e48ae920bf52c069cf6058743452585e36f2a
2013-09-05convert include/svx/pageitem.hxx from String to OUStringNoel Grandin
Change-Id: I441c6b46ace2ad1b23357bea83501a67b63e8637
2013-09-01XubString->OUStringCaolán McNamara
Change-Id: I2067b78e10e1805bb678879e3fd54636d848b15c
2013-08-30Related: fdo#38838 remove UniString::ToUpperAsciiCaolán McNamara
things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-16callcatcher: update unused code listCaolán McNamara
Change-Id: I84f693aa6747f639bd4ae60a02dd4d8c30b7d029
2013-08-09metric strings loaded from wrong .srcCaolán McNamara
Change-Id: I5261a699a44bc7eb6ecca1842f2390a0778d7b09
2013-07-29fdo#67274 Always embed images from gallerySamuel Mehrbrodt
This patch removes the options to link images from the gallery. Users should never link to the gallery. The links wouldn't work anymore if you just change the operating system, because the gallery is on a different place. Changes: * Removed option in "Bullets and Numbering" dialog to link graphical bullets * Change the Gallery image context menu. Before: Insert Copy Link Background Page Paragraph ... Now: Insert Insert as Background Page Paragraph ... Change-Id: I699042a7d7a27369775f9ee4c14c4a6964489a92 Reviewed-on: https://gerrit.libreoffice.org/5141 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>