summaryrefslogtreecommitdiff
path: root/include/svl
AgeCommit message (Collapse)Author
2013-11-26Resolves: #i123753# WaE: fix unoedhlp.hxx declaration of 'nId'...Herbert Dürr
shadowing a member of SimpleHint Happy new times: Now even simple compiler warning fixes need their own issue. (cherry picked from commit 5cd09cc74da93da4c91c665822b6ab9a0d704a7a) Conflicts: svl/inc/svl/smplhint.hxx svl/source/notify/smplhint.cxx Change-Id: I445126425a22778cf7aaf33d3a34977903e59f84
2013-11-21fdo#39468: Translate German comments (first part)Philipp Riemer
Change-Id: I8cd558c558a369ba2715ccdc0baf58d637e79a38
2013-11-14Optimize SvtBroadcaster for insertion.Kohei Yoshida
This helps file load performance at the slight overhead during editing. That said, the overhead during editing is only in theory (not measured) and shouldn't be that much even in theory. Change-Id: If22ea34acb0cda311575ac3ed8ce1a8eb69ae33a
2013-11-14No need to individually remove listeners when being destroyed.Kohei Yoshida
Otherwise a crash would ensue. Change-Id: I9a52524cc205765d059745e9f7e914b636667cb6
2013-11-14Rework SvtListener and SvtBroadcaster internals.Kohei Yoshida
The old code was simply awkward. Change-Id: I1a58a9af86c100be238d306570b40f70c5100314
2013-11-09fdo#65108 inter-module includes <> include/svlNorbert Thiebaud
Change-Id: I8b28f3c6df5d11112aff732159c913b4ffb1cc6f
2013-11-06Add mutex to guard the shared string pool content.Kohei Yoshida
Change-Id: I0eb97d0fbeaefd8a1c86d240ed8bd7f208fb662e
2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
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-21post String conversion cleanupThomas Arnhold
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-11Import shared formulas from xlsx without crashing.Kohei Yoshida
The key here is to only use the shared formula ID's and ignore the ref range. The ref ranges are not correct half the time. Change-Id: If65f9b1b44ab6239db37977b6dfe3f822a9cf67e
2013-10-11Add isEmpty() to SharedString. This simplies a lot of its call sites.Kohei Yoshida
Change-Id: I0ebc43abe59ac317c053a4f606dbe376d85c03b0
2013-10-08No more getIdentifier*() calls because they are not efficient.Kohei Yoshida
They shall never be used. Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida
With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
2013-10-08ContentInfo to store svl::SharedString instead of OUString.Kohei Yoshida
Change-Id: I633e3bb633317eeb61cd804faf20e79312f569f7
2013-10-08Re-implement interning in order to return both string arrays.Kohei Yoshida
One is for the cased string and the other one for the non-cased one. Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
2013-10-04Rename StringPool to SharedStringPool because that's what it is.Kohei Yoshida
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
2013-10-04Let's just use sal_uIntPtr straight.Kohei Yoshida
So that the user of this class won't have to include the header just to get the string ID type. Change-Id: I0ccbc18fe02644f69701f57b0b1b9c30fd141d83
2013-10-04Add purge() method to purge unreferenced strings from the pool.Kohei Yoshida
But this code needs more work. Change-Id: I538eebf5eb1738a2cfeebc22052b3d5db6001b6b
2013-10-04The map actualy needs to store OUString to have it ref-counted automatically.Kohei Yoshida
Change-Id: Iff6fcf3aba73f2d06ac0c885b39e69ac0febc49f
2013-10-04Let's not expose the internal pointer. Define different ID type.Kohei Yoshida
To prevent the string ID's from being used to instantiate string objects, which can mess up shared string object's life cycles. Change-Id: Ibcd9a4fa9f591d5c27a9e1b50bc9f83ae230e86a
2013-10-04Write some rudimentary tests for the new shared string pool class.Kohei Yoshida
Change-Id: Ie66de46d69f664839aa0a2d056cd3b8df4d4989b
2013-10-04Establish mapping between original strings and upper strings.Kohei Yoshida
This will be used to retrieve case insensitive string identifiers later. Change-Id: Ia34f57d0e8d0cb6bd4630f8d110853ed049770b5
2013-10-04Move this string pool code to svl.Kohei Yoshida
Change-Id: I1379fbc377607be8831133d64db2e14f8c75bff8
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-11convert include/svl/urlbmk.hxx from String to OUStringNoel Grandin
Change-Id: I68d54bf9f351130d0eab14c36b004ffbbb3185bc
2013-09-05svx: new InteropGrabBag UNO prop in Shape serviceAndres Gomez
Added the new InteropGrabBag property to the Shape service and modified the JUnit UNO unit tests for it. Added specific implementation in the svx module for the SvxShape class. This new property is intended by now for its usage on preserving OOX's Smart-Art but it could also be used for preserving other attributes for interoperability among document formats. Change-Id: Idc7a8e91592399ff05effd4da6eaa2935f8f4d42 Reviewed-on: https://gerrit.libreoffice.org/5769 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-04adjust code to layoutPhilipp Riemer
Change-Id: Ia2eeb93fa1eb08c31b9b016c4cb15263633ab518 Reviewed-on: https://gerrit.libreoffice.org/5794 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04delete code that was commented outPhilipp Riemer
Change-Id: I1d6e96a3cd26ada7911ee4a538e9441050ca75bc Reviewed-on: https://gerrit.libreoffice.org/5795 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
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-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-17SfxItemPool: detect duplicate SlotId mappingsMichael Stahl
... to prevent problems like fdo#66827. Sadly the EditEngineItemPool has loads of duplicate slotids already... Change-Id: I737d71519ce4af06c81f7ecf183cfa6c367026db
2013-08-17svl: remove unused SFX_ITEM_USERFLAG[0-B]Michael Stahl
Change-Id: Iffc767630a8d30bd684fd03ece66cee5cd38a022
2013-08-16SfxEnumItem: cut out the middle man here tooMichael Stahl
CntEnumItem, we hardly knew you existed. Change-Id: I54b489f22662f9a3305478d18438b13850444316
2013-08-16SfxBoolItem: cut out the middle manMichael Stahl
CntBoolItem adds no value at all. Change-Id: I41a22fc11cca270e792f2a2f81e3638b54dc1d24
2013-08-12Start removing obviously unused and/or obsolete "inet types": SCHEDULE stuffTor Lillqvist
Change-Id: I8dc641a4f75e35020522daa8fcb1f8be2ee4fb4a
2013-08-08remove obsolete SjJSbxObject cruftMichael Stahl
Change-Id: Ieb10d3bd8fc23650156906292bf3d0757565e2af
2013-08-08Bin a couple of pointless macros only used onceTor Lillqvist
Change-Id: I7d0c812afbbeeb4ea9835f957024b6bf86dfdaaf
2013-08-08Remove the now empty <svl/cntwids.hrc> headerTor Lillqvist
Change-Id: I2c41b9960960ad9d290f84cc6e28d938068c0050
2013-08-08Bin Chaos WIDs that are unused (only mentioned only in comments)Tor Lillqvist
The comments are in one place, for plaintext strings that say the same as what the WID name indicates, so they don't provide any useful information. Change-Id: I9be14dd46352e34bf3647349d85412a97725d238
2013-08-01Doxygenize some docs, translate to English while at it.Thorsten Behrens
Change-Id: I977981bb45da1599e8d46bd8d961dcbb01ebd99b
2013-07-27Revert "SfxStyleSheetBasePool: remove internal iterator"Michael Stahl
This reverts commit 3a46d91f8de420f38dd763028e91229c846dff52. This breaks the Stylist, not sure why (does it depend on something setting the search flags before?) so revert for now. Change-Id: Ia50feeebae8bf852c827e4f270e81e9f08d2b1ac
2013-07-27SfxStyleSheetBasePool: remove internal iteratorMichael Stahl
The clients always start with First() anyway so they might as well use external iterators, which makes calling First() in certain situations just so the internal iterator is invalidated unnecessary. Change-Id: I0948576c20410136448e8b85311c21a257469bc7
2013-07-27SfxStyleSheetBasePool::Make: remove nPos parameterMichael Stahl
The only caller who could have used a non-default value was SfxObjectShell::Insert(). Change-Id: I18174a54a9c0246850dc6347d0147e8640ad101d
2013-07-27fdo#67303: sw: speed up setting IsHidden property on stylesMichael Stahl
Importing an ODF document with 4089 styles is ridiculously slow, spending most of the time in SwStyleSheetIterator::First() to reset an existing iterator. Since the SwStyleSheetIterator can handle the case when First() has not been called anyway, just add a new method that resets the bFirstCalled flag, which takes next to no time. (regression from a0dcf961879ab644a52f801f65466756cb144b72) Change-Id: I8741b4c0cd51f8c244462ce28a754abc427d0df3
2013-07-24svl: add an SfxGrabBagItemMiklos Vajna
The intention is that this can be used as a grab bag of properties which are not handled properly, yet we want the roundtrip of them to alien formats. See http://lists.freedesktop.org/archives/libreoffice/2013-July/054428.html for more details. Change-Id: I3781b3b3bf1380d30683039f037d9a4292ba2f4a
2013-07-12constify these methodsCaolán McNamara
Change-Id: I72173ef6cbea28afe9f349aa57a94cbfd537a851
2013-07-12Related: fdo#54493 determine if a CJK/CTL keyboard is installedMarc Garcia
Change-Id: If21a34c69f58612f8ec2eba1253f325f352962cd