summaryrefslogtreecommitdiff
path: root/include/unotools
AgeCommit message (Collapse)AuthorFilesLines
2014-02-04startcenter: fdo#72469: Thumbnails also for other file types than ODF.Jan Holesovsky1-5/+4
Change-Id: If905b2f3e51adf7e64df9385ede74368acd11771
2014-02-03some more continuous correctionsThomas Arnhold1-2/+2
2014-01-28bool improvementsStephan Bergmann2-7/+7
Change-Id: I7020537797b181b0fcbf78de3d7b962b96744895
2014-01-23fdo#63154 Removed unused solar.h referenceAlexandre Vicenzi6-19/+1
Change-Id: I6b2f9e04e2232570c8bb9f36252b23a70c5f7525 Reviewed-on: https://gerrit.libreoffice.org/7604 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-01-10Use boolStephan Bergmann1-8/+8
Change-Id: I572eec828396fc1efd493d6ba6ac08679dfca3cc
2013-12-20typo fixesAndras Timar11-11/+11
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-14utl::TempFile should not be copiedMarkus Mohrhard1-0/+4
Change-Id: I35d0c96d52b490ef70a0238e715d874f0ecd1012
2013-12-06Get rid of DECLARE_STL_MAPStephan Bergmann1-7/+6
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-11-20Elide utl::ConfigItem_ImplStephan Bergmann1-9/+6
...and utl::ConfigItem::IsValidConfigMgr is always true. Change-Id: I37e295729c3d0ae12719f0ae6f5a5628c58d0b9f
2013-11-14Missing includeStephan Bergmann1-0/+4
Change-Id: Ia8a15d1ec79577e4cd5bcaec99ef0926163a14ca
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann1-0/+345
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14Add "block untrusted referer links" switchStephan Bergmann1-1/+8
Change-Id: Id2f2a3dafc3bb7ec6fada6bfda5843348dfac5a1
2013-11-09fdo#65108 inter-module includes <> include/unotoolsNorbert Thiebaud57-70/+70
Change-Id: Icd9b46da88366f5b260c8e20931b5dbdbedf3a66
2013-11-09Converge on SvtSecurityOptions::isTrustedLocationStephan Bergmann1-0/+5
Change-Id: Ibcf4b7d9d11295c7679637a37d41dc2960e04f8f
2013-11-08Clean up IsSecureURLStephan Bergmann1-15/+6
...to not use WildCard (in case a trusted location URI already contains an unescaped "*"), be specific about matching only past a final "/", and rename to isSecureMacroUri for clarification. The check with an INET_PROT_NOT_VALID default INetURLObject in SfxApplication::OpenDocExec_Impl ("we have to check the referer before executing") had efficiently been dead since its inception in 14237ac4bf497decdde8b742acea23780833ba12 "#90880#: security checks corrected," as INET_PROT_NOT_VALID is considered secure regardless of referer anyway. Change-Id: I03bca5e6dac89bb2aac52909aff273ea640228d8
2013-10-23fixincludeguards.sh: include/u*Thomas Arnhold64-170/+171
Change-Id: I8a07ccb309490206a2edd36f2fe4d0e2c0982ea2
2013-10-16unotools: add menu option to enable/disable Smart-Art lockJacobo Aragunde Pérez1-0/+3
The point of this menu option is that locked Smart-Art shapes would preserve the original XML files attached so they could be exported back to docx with no loss. The new menu option is located at Options -> Load/Save -> MS Office -> SmartArt to LibreOffice shapes or reverse. Change-Id: I6aafc2eb83404ee2c0b8538b2f6fbbbd4363e7d3 Reviewed-on: https://gerrit.libreoffice.org/6138 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-10-01desktop: stop replacing %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSIONMichael Stahl1-4/+0
... and %PRODUCTXMLFILEFORMATNAME at runtime and hard-code OpenOffice.org 1.0 for these too. Change-Id: Id96390506d2a0f367f932e85d3115362ad483bc3
2013-10-01remove run-time replacement of %WRITERCOMPATIBILITYVERSIONOOO11Michael Stahl1-2/+0
Instead hard-code OpenOffice.org 1.1 as the value, since StarOffice and StarSuite are irrelevant. Change-Id: I9ab3d1cf38cf64cd4e440b3ae43158f748ead7d2
2013-09-26typo fixes in commentsAndras Timar4-14/+14
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26Everytimes -> Every timeJesús Corrius1-1/+1
Change-Id: Ib84cee7dbb493387760ce68c25ec442bf0a4a121
2013-09-20cook up a scheme to allow windows to have per-module settingsCaolán McNamara1-0/+2
Change-Id: I5fa62c3c2af2ccbbc7e8a61e5537488515b2808c
2013-09-04Remove more unused methodsMarcos Paulo de Souza1-11/+0
Change-Id: I8fec40d767905bcca366257a67f669eaa1055cbc Reviewed-on: https://gerrit.libreoffice.org/5789 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-03Remove more unused methodsMarcos Paulo de Souza1-20/+0
Change-Id: I79548f9dd1b83ef940e7a1302cf7b728610fed4a Reviewed-on: https://gerrit.libreoffice.org/5757 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-02XubString->OUStringCaolán McNamara5-5/+0
Change-Id: I5424a148c7173409e6e56f9483fcc769696707bc
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-4/+2
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-27Resolves: fdo#67743 ensure user autocorr config dir existsCaolán McNamara1-3/+15
We try and copy the shared one to the user location the first time we create a customized user file. If the dir doesn't exist then that migration doesn't happen. The new autocorr file is then written, creating the dir, and any further operations will reattempt the skipped share copy, and this time succeed because the dir now exists. Which overwrites the previously written customized content. This is similar to fdo#65501 "ensure configured backup dir exists before using it", so reuse that code and move it into unotools. Change-Id: I38fa621b8d7295d70b09172a028569ea95404120
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks1-1/+1
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-19Introduce rtl::compareIgnoreCase and deprecate rtl/character.hxx equivalents.Arnaud Versini1-1/+4
Change-Id: Id90935fd2b0f904f89477792edc8140cfc31e91f Reviewed-on: https://gerrit.libreoffice.org/5412 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-14EXCEPTIONS_OFF is never definedStephan Bergmann1-6/+0
...since gb_LinkTarget_NOEXCEPTIONFLAGS became unused with e81b1f23c49e35c1cde1faa44281812e97be60f5 "remove gb_LinkTarget_add_noexception_object." Change-Id: I4a7275b5b26a9d4b6ded66efb52e6866e6e09cc3
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks1-3/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-12DefaultFontConfiguration and FontSubstConfiguration with LanguageTagEike Rathke1-6/+4
Change-Id: I6c111392537d114358d0574f2dbdf40f684b5103
2013-07-12eliminated some back and forth conversion between bcp47 and LocaleEike Rathke1-35/+4
Change-Id: If97a4b695262a99979dbab1bcec75fe694c4de80
2013-07-02OUString convertion for unotoolsNorbert Thiebaud13-194/+189
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-24Replace more characters functions with rtl/character.hxxArnaud Versini1-4/+4
Change-Id: I70f3c31e4b2f44d2b30020a588aaa53d3b63d452 Reviewed-on: https://gerrit.libreoffice.org/4447 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-06-21Fix fdo#52204 add new feature ignore diacritics in search for CTLabdulmajeed ahmed1-0/+2
Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
2013-06-11hack for reading properly textencoding for opensymbol from old LOLuboš Luňák1-0/+1
Which did it because of bullet font not having it correctly (fixed in 44c133ef996e32ebdfc9560bcf14b0cd77196a9e). Change-Id: I6992de03816661cf6970140eb35816e26cf0e612
2013-06-05Some String -> OUStringStephan Bergmann1-3/+3
...to get rid of having to additionally link some libs against tl from 27c6434fccfec5fb4184c1efa2057595c8716fad "fdo#46808, Replace usage of SpecialConfigManager" again. Change-Id: Ica161a4f0da320858b6a3901a5a6907737c779f4
2013-06-04include: convert <type> here tooMichael Stahl5-7/+7
sed -i "s,<type>\([^<]\+\)</type>,\1," Change-Id: Ibdaeb2c396ad29ced05716142b38c6a1c3e49847
2013-06-04include: convert type scope="foo"> here tooMichael Stahl4-9/+9
sed -i 's,<type scope="\([^"]*\)">\([^<]\+\)</type>,\1::\2,g' Change-Id: I7eb32acd44132de79cc7ac1e7f78b43bb4814d14
2013-05-30Make use of IsStarSymbol()Thomas Arnhold1-0/+9
Change-Id: I7a2e3a6f11bbaaaff50e8163e4ce3e2583b1d03c Reviewed-on: https://gerrit.libreoffice.org/4077 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist5-6/+6
2013-04-23execute move of global headersBjoern Michaelsen69-0/+9320
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a