summaryrefslogtreecommitdiffstats
path: root/svl
Commit message (Collapse)AuthorAgeFilesLines
* Sprinkle more boost_headers loveTor Lillqvist2013-09-191-0/+2
| | | | | | | | Fix compilation errors when not using system boost. Might be more. It's sad that one has to micro-manage boost use like this. Change-Id: I3541789530fbdb0fb03e2b355144e63f8b031097
* remove filerec.hxx inclusion where not neededPhilipp Riemer2013-09-041-1/+0
| | | | | | | Change-Id: Ia5a65cb53580ed1ed7535a787f4f762da5a43d43 Reviewed-on: https://gerrit.libreoffice.org/5792 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke2013-09-031-1/+1
| | | | Change-Id: Ib45634b0baad4ef4c6754b13cee6d92c2bc504f8
* These shall apparently check for URL scheme prefix matchStephan Bergmann2013-08-271-2/+2
| | | | | | | | | | | ...they had originally been aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.pkg", 16 ) etc., so where likely confused with the OUString compareTo functions that take a maxLength argument. Change-Id: Ie12df4f589dda310b7e49eb93535ad797f88a8a7
* Mark as constTakeshi Abe2013-08-221-1/+1
| | | | Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-217-27/+27
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-1/+1
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* SfxItemPool: detect duplicate SlotId mappingsMichael Stahl2013-08-171-0/+55
| | | | | | | | ... to prevent problems like fdo#66827. Sadly the EditEngineItemPool has loads of duplicate slotids already... Change-Id: I737d71519ce4af06c81f7ecf183cfa6c367026db
* SfxEnumItem: cut out the middle man here tooMichael Stahl2013-08-163-36/+14
| | | | | | CntEnumItem, we hardly knew you existed. Change-Id: I54b489f22662f9a3305478d18438b13850444316
* SfxBoolItem: cut out the middle manMichael Stahl2013-08-162-34/+29
| | | | | | CntBoolItem adds no value at all. Change-Id: I41a22fc11cca270e792f2a2f81e3638b54dc1d24
* fdo#66071: SfxUndoManager: allow Writer to set modified status properlyMichael Stahl2013-08-131-0/+2
| | | | | | | If Undo actions are removed due to max undo limit, invalidate the current empty mark so it is different from sw::UndoManager::m_UndoSaveMark. Change-Id: I20415f42a77b67e9935c75b12df675ba1c5ef5ec
* Start removing obviously unused and/or obsolete "inet types": SCHEDULE stuffTor Lillqvist2013-08-121-39/+0
| | | | Change-Id: I8dc641a4f75e35020522daa8fcb1f8be2ee4fb4a
* remove obsolete SjJSbxObject cruftMichael Stahl2013-08-081-21/+1
| | | | Change-Id: Ieb10d3bd8fc23650156906292bf3d0757565e2af
* Doxygenize some docs, translate to English while at it.Thorsten Behrens2013-08-011-21/+4
| | | | Change-Id: I977981bb45da1599e8d46bd8d961dcbb01ebd99b
* Remove effectively unused INetURLObject OString overloadsStephan Bergmann2013-07-291-2/+2
| | | | Change-Id: Icbbe27b229d5454d27be646e00e8b362a77359b3
* Revert "SfxStyleSheetBasePool: remove internal iterator"Michael Stahl2013-07-271-3/+36
| | | | | | | | | 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
* SfxStyleSheetBasePool: remove internal iteratorMichael Stahl2013-07-271-36/+3
| | | | | | | | 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
* SfxStyleSheetBasePool::Make: remove nPos parameterMichael Stahl2013-07-271-11/+2
| | | | | | | The only caller who could have used a non-default value was SfxObjectShell::Insert(). Change-Id: I18174a54a9c0246850dc6347d0147e8640ad101d
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa2013-07-251-6/+1
| | | | | | | Change-Id: I74d3db1c53609c6079c63e3f04531a87da1dda9d Reviewed-on: https://gerrit.libreoffice.org/5084 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* svl: add an SfxGrabBagItemMiklos Vajna2013-07-242-0/+101
| | | | | | | | | | | | 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
* After some trials, maybe even I can get things rightFridrich Štrba2013-07-171-1/+1
| | | | Change-Id: Ib553ea1ceff1d09dff86c4a36b896dddab854ba0
* Brackets are cheap, so use themFridrich Štrba2013-07-171-1/+1
| | | | Change-Id: If5b539025020a2e9a35fa6e7bc70bcc6a9a4f4c6
* Fix MINGW64 build in svlFridrich Štrba2013-07-171-1/+1
| | | | Change-Id: I92370c829c192be4ae480e13f290629e7a85be0c
* fdo#62475 removed pointless commentsJelle van der Waa2013-07-1752-772/+0
| | | | | | | Change-Id: Id9d579960a9b641b7b2cdf05eabea8bfbfc06bd6 Reviewed-on: https://gerrit.libreoffice.org/4901 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Delete SvCacheStream classPalenik Mihály2013-07-161-3/+2
| | | | | | | | | | | | | | | | I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl2013-07-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-136-8/+8
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* constify these methodsCaolán McNamara2013-07-121-6/+4
| | | | Change-Id: I72173ef6cbea28afe9f349aa57a94cbfd537a851
* Resolves: fdo#54493 autoenable CJK/CTL ui based on installed keyboardsCaolán McNamara2013-07-122-21/+66
| | | | Change-Id: I66d3c57c88ff64fc3e3a7fa50fb5a173e709e3bf
* Related: fdo#54493 determine if a CJK/CTL keyboard is installedMarc Garcia2013-07-121-0/+47
| | | | Change-Id: If21a34c69f58612f8ec2eba1253f325f352962cd
* use LanguageTag to convertEike Rathke2013-07-111-4/+1
| | | | Change-Id: I721f1018e6380a3102b6dd20052001b1e950421b
* use LanguageTag to convertEike Rathke2013-07-101-19/+5
| | | | Change-Id: I45fe02ca4cc3c171cc7f230093ca9623d7e69980
* -Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann2013-07-081-2/+2
| | | | Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
* OUString, missing conversion in a DBG caseNorbert Thiebaud2013-07-071-1/+1
| | | | Change-Id: I0643a642681bf25fe57de5607e9d7ddbf98af831
* module svl: all String and some bool and related clean-upNorbert Thiebaud2013-07-0713-487/+480
| | | | | | | Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Mark as constTakeshi Abe2013-07-051-2/+2
| | | | Change-Id: Ia5f9724002da11da69f70bb0f71d44c3b5a19bcb
* there are no SfxFontItem used anywhereCaolán McNamara2013-07-032-131/+0
| | | | Change-Id: I7af08b7790a631d5d385a546a472e2868d79cb46
* SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl2013-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | As the recent regression after merging AOO patch adding code serializing "long" variables has shown, this overload (which was added in 7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea. In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl and _ZN8SvStreamlsEl in these files: - sbxvalue.cxx: this appears to be a legitimate use with sal_Int64 - dateitem.cxx: this was accidentally changed by commit 9830fd36dbdb72c79703b0c61efc027fba793c5a - atrfrm.cxx: this was added for Table Autoformat enhancement in 7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the sal_Int64 operators were added, so the file format is now platform dependent Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
* OUString convertion for unotoolsNorbert Thiebaud2013-07-021-6/+6
| | | | | | | | Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707 Reviewed-on: https://gerrit.libreoffice.org/4659 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Clean String and sal_Bool in toolsNorbert Thiebaud2013-06-301-1/+2
| | | | | | | Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove OUString wrap for string literalsThomas Arnhold2013-06-294-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* more READMEMichael Stahl2013-06-281-0/+38
| | | | Change-Id: I569e7fd3cf9e418af03285f4f499f5ea3a0c0dc0
* Resolves: #i121751# restore cursor/selection on Undo/Redo language...Oliver-Rainer Wittmann2013-06-261-1/+20
| | | | | | | | | | | | | | | | | | | | | change for all text - group intrinsic actions of language change for all text into one Undo action - secure <SwRootFrm::CalcRects(..)> - catch NULL pointer - correct <CursorGuard> - really restore the cursor (cherry picked from commit 4207db473430e02a65a5f4d57db6e46a8db29a19) Conflicts: svl/inc/svl/undo.hxx svl/source/undo/undo.cxx sw/inc/IDocumentUndoRedo.hxx sw/source/core/edit/edundo.cxx sw/source/core/inc/UndoManager.hxx sw/source/core/layout/trvlfrm.cxx sw/source/core/undo/docundo.cxx Change-Id: I972988bbc21a519e0956ff196aa93a46287b9a2e
* Resolves: #i120020# corrected paragraph merge...Armin Le Grand2013-06-241-29/+28
| | | | | | | | | | | | | | corresponding undo and ownership of linked undo actions (cherry picked from commit e58fe7afee5163833479b76a474416a77d95f075) Conflicts: editeng/source/editeng/impedit2.cxx sc/source/ui/undo/undobase.cxx sc/source/ui/undo/undodraw.cxx svl/inc/svl/undo.hxx Change-Id: I6672990558a496dfc692554437897d013e258f40
* fdo#43460 svl: use isEmpty()Jelle van der Waa2013-06-243-6/+6
| | | | | | | Change-Id: I441842c7514a27baea8ce5c0e7381dcf81892d6a Reviewed-on: https://gerrit.libreoffice.org/4441 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Fix fdo#52204 add new feature ignore diacritics in search for CTLabdulmajeed ahmed2013-06-211-1/+5
| | | | Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
* -Werror,-Wdeprecated-registerStephan Bergmann2013-06-204-17/+17
| | | | Change-Id: I8edac5a93f9471c6f245bd484e845985c11027dd
* Translate German comments, fix some WSPhilipp Weissenbacher2013-06-191-305/+217
| | | | | | | Change-Id: Ic52fc416aea9d1ca7235613aed7cf494f17ae21a Reviewed-on: https://gerrit.libreoffice.org/4361 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* Translate German comments, correct some WSPhilipp Weissenbacher2013-06-192-235/+215
| | | | | | | | | Added accidentally removed { Change-Id: Ied6c233cba113673f928c1a6b41a5217b9fff077 Reviewed-on: https://gerrit.libreoffice.org/4331 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* Remove commented out codePhilipp Weissenbacher2013-06-181-8/+0
| | | | | | | Change-Id: Iace3628d9c48f07e03c1dda8ca3ff02a2e32ad1f Reviewed-on: https://gerrit.libreoffice.org/4332 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>