summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2013-09-19Sprinkle more boost_headers loveTor Lillqvist1-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
2013-09-04remove filerec.hxx inclusion where not neededPhilipp Riemer1-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>
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-1/+1
Change-Id: Ib45634b0baad4ef4c6754b13cee6d92c2bc504f8
2013-08-27These shall apparently check for URL scheme prefix matchStephan Bergmann1-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
2013-08-22Mark as constTakeshi Abe1-1/+1
Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák7-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
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist1-1/+1
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-17SfxItemPool: detect duplicate SlotId mappingsMichael Stahl1-0/+55
... to prevent problems like fdo#66827. Sadly the EditEngineItemPool has loads of duplicate slotids already... Change-Id: I737d71519ce4af06c81f7ecf183cfa6c367026db
2013-08-16SfxEnumItem: cut out the middle man here tooMichael Stahl3-36/+14
CntEnumItem, we hardly knew you existed. Change-Id: I54b489f22662f9a3305478d18438b13850444316
2013-08-16SfxBoolItem: cut out the middle manMichael Stahl2-34/+29
CntBoolItem adds no value at all. Change-Id: I41a22fc11cca270e792f2a2f81e3638b54dc1d24
2013-08-13fdo#66071: SfxUndoManager: allow Writer to set modified status properlyMichael Stahl1-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
2013-08-12Start removing obviously unused and/or obsolete "inet types": SCHEDULE stuffTor Lillqvist1-39/+0
Change-Id: I8dc641a4f75e35020522daa8fcb1f8be2ee4fb4a
2013-08-08remove obsolete SjJSbxObject cruftMichael Stahl1-21/+1
Change-Id: Ieb10d3bd8fc23650156906292bf3d0757565e2af
2013-08-01Doxygenize some docs, translate to English while at it.Thorsten Behrens1-21/+4
Change-Id: I977981bb45da1599e8d46bd8d961dcbb01ebd99b
2013-07-29Remove effectively unused INetURLObject OString overloadsStephan Bergmann1-2/+2
Change-Id: Icbbe27b229d5454d27be646e00e8b362a77359b3
2013-07-27Revert "SfxStyleSheetBasePool: remove internal iterator"Michael Stahl1-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
2013-07-27SfxStyleSheetBasePool: remove internal iteratorMichael Stahl1-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
2013-07-27SfxStyleSheetBasePool::Make: remove nPos parameterMichael Stahl1-11/+2
The only caller who could have used a non-default value was SfxObjectShell::Insert(). Change-Id: I18174a54a9c0246850dc6347d0147e8640ad101d
2013-07-25fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa1-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>
2013-07-24svl: add an SfxGrabBagItemMiklos Vajna2-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
2013-07-17After some trials, maybe even I can get things rightFridrich Štrba1-1/+1
Change-Id: Ib553ea1ceff1d09dff86c4a36b896dddab854ba0
2013-07-17Brackets are cheap, so use themFridrich Štrba1-1/+1
Change-Id: If5b539025020a2e9a35fa6e7bc70bcc6a9a4f4c6
2013-07-17Fix MINGW64 build in svlFridrich Štrba1-1/+1
Change-Id: I92370c829c192be4ae480e13f290629e7a85be0c
2013-07-17fdo#62475 removed pointless commentsJelle van der Waa52-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>
2013-07-16Delete SvCacheStream classPalenik Mihály1-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>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl1-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>
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke6-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
2013-07-12constify these methodsCaolán McNamara1-6/+4
Change-Id: I72173ef6cbea28afe9f349aa57a94cbfd537a851
2013-07-12Resolves: fdo#54493 autoenable CJK/CTL ui based on installed keyboardsCaolán McNamara2-21/+66
Change-Id: I66d3c57c88ff64fc3e3a7fa50fb5a173e709e3bf
2013-07-12Related: fdo#54493 determine if a CJK/CTL keyboard is installedMarc Garcia1-0/+47
Change-Id: If21a34c69f58612f8ec2eba1253f325f352962cd
2013-07-11use LanguageTag to convertEike Rathke1-4/+1
Change-Id: I721f1018e6380a3102b6dd20052001b1e950421b
2013-07-10use LanguageTag to convertEike Rathke1-19/+5
Change-Id: I45fe02ca4cc3c171cc7f230093ca9623d7e69980
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann1-2/+2
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-07OUString, missing conversion in a DBG caseNorbert Thiebaud1-1/+1
Change-Id: I0643a642681bf25fe57de5607e9d7ddbf98af831
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud13-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>
2013-07-05Mark as constTakeshi Abe1-2/+2
Change-Id: Ia5f9724002da11da69f70bb0f71d44c3b5a19bcb
2013-07-03there are no SfxFontItem used anywhereCaolán McNamara2-131/+0
Change-Id: I7af08b7790a631d5d385a546a472e2868d79cb46
2013-07-02SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl1-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
2013-07-02OUString convertion for unotoolsNorbert Thiebaud1-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>
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud1-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>
2013-06-29remove OUString wrap for string literalsThomas Arnhold4-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>
2013-06-28more READMEMichael Stahl1-0/+38
Change-Id: I569e7fd3cf9e418af03285f4f499f5ea3a0c0dc0
2013-06-26Resolves: #i121751# restore cursor/selection on Undo/Redo language...Oliver-Rainer Wittmann1-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
2013-06-24Resolves: #i120020# corrected paragraph merge...Armin Le Grand1-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
2013-06-24fdo#43460 svl: use isEmpty()Jelle van der Waa3-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>
2013-06-21Fix fdo#52204 add new feature ignore diacritics in search for CTLabdulmajeed ahmed1-1/+5
Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
2013-06-20-Werror,-Wdeprecated-registerStephan Bergmann4-17/+17
Change-Id: I8edac5a93f9471c6f245bd484e845985c11027dd
2013-06-19Translate German comments, fix some WSPhilipp Weissenbacher1-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>
2013-06-19Translate German comments, correct some WSPhilipp Weissenbacher2-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>
2013-06-18Remove commented out codePhilipp Weissenbacher1-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>