summaryrefslogtreecommitdiff
path: root/include/unotools
AgeCommit message (Collapse)Author
2014-04-16Remove FontNameHash, use standard OUStringHashStephan Bergmann
Change-Id: If123bbe8a4ee044ef45f418be0118ccf9509f4e7
2014-04-08coverity#708210 Uninitialized scalar fieldCaolán McNamara
Change-Id: I9bf4182d4c6e7a61b057f3541cc4c2a4b0316edd
2014-04-08fdo#77123: Add option ignore kashida to the searchFaisal M. Al-Otaibi
This patch will add new checkbox to ignore kashida in the search and replace dialog. Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
2014-04-07Replace SV_DECL/IMPL_REF macros with SvRef templateStephan Bergmann
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
2014-04-06Typo: s/ouer/ourTor Lillqvist
Change-Id: I0179678c6c5dd6a05b1d7d5038a901e7bf2af3de
2014-04-06Bin copy-pasta comments of low informative valueTor Lillqvist
Change-Id: Ib9ddc516636d2150101c40ee3f249c7511bcb375
2014-04-06Bin empty @seealso, @param, @return etc metacommentsTor Lillqvist
2014-04-06Bin copy-pasta comments of low informative valueTor Lillqvist
Change-Id: Iee82f09a47830e3c8b932541e4c378e63add9986
2014-04-06Kill superfluous spacing before semicolonsTor Lillqvist
Change-Id: I05353e942fa1a2b7338c8415cdba06adb2bdd43f
2014-04-06Kill superfluous vertical whitespaceTor Lillqvist
Change-Id: Idadfa4d215cb4b789d4949ce850bbb13016350c6
2014-04-05coverity#708567 unused member variablesCaolán McNamara
Change-Id: I36b276a95bdea804defd5d7cb162ee0b8f378fad
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-29typo: approriate -> appropriateThomas Arnhold
2014-03-29tools: support 64-bit file positions in SvStreamMichael Stahl
Bump stream positions to 64 bits on: SvLockBytes::SetSize() SvStream::SeekPos() SvStream::SetSize() SvStream::SetStreamSize() SvStream::Seek() SvStream::SeekRel() SvStream::Tell() SvStream::remainingSize() SvStream::nActPos SvStream::nBufFilePos Change-Id: I0521fd60d31d1a33e5634cbf51dd42edc46ad919 TODO: adapt callers of Seek()/SeekRel()/Tell()/remainingSize()
2014-03-29tools: allow 64-bit positions on SvLockBytesMichael Stahl
Bump stream positions to 64 bits on: SvLockBytes::ReadAt() SvLockBytes::WriteAt() SvAsyncLockBytes::m_nSize SvOpenLockBytes::Seek() SvOpenLockBytes::Tell() SvOutputStreamOpenLockBytes::m_nPosition OInputStreamHelper::m_nActPos Change-Id: Ica3b674e0ab23a756260a51475e97a5396ecdddb
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-17sal,toolkit,unotools: prefer passing OUString by referenceNoel Grandin
Change-Id: Ie62a59fd9ff3d6f6a34240fd562fbc91a143bf3a
2014-03-10forms: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
...and remove thus unused unotools/idhelper.hxx Change-Id: I63affbcb0494ef91bc010b9dd5512d4cc718d7a2
2014-03-08unotools: extractDate and extractTime functionsJacobo Aragunde Pérez
Added a pair of functions to split a UNO DateTime object into the corresponding Date and Time objects. Change-Id: I6bf31d83b3843a9482d6bf538a5dd7130c2c7046
2014-03-01Remove visual noise from includeAlexander Wilms
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25remove unused code utl::MediaDescriptor::PROP_DEEPDETECTION()Noel Grandin
Change-Id: Ie80d0c00fe8725e59a6814707c9a4afcb6ac09b5
2014-02-25remove unused code utl::toISO8601(com::sun::star::util::Time const&)Noel Grandin
Change-Id: I8df1934c7392ec38918be2a5b986c6ca871f9d15
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-04startcenter: fdo#72469: Thumbnails also for other file types than ODF.Jan Holesovsky
Change-Id: If905b2f3e51adf7e64df9385ede74368acd11771
2014-02-03some more continuous correctionsThomas Arnhold
2014-01-28bool improvementsStephan Bergmann
Change-Id: I7020537797b181b0fcbf78de3d7b962b96744895
2014-01-23fdo#63154 Removed unused solar.h referenceAlexandre Vicenzi
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 Bergmann
Change-Id: I572eec828396fc1efd493d6ba6ac08679dfca3cc
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-14utl::TempFile should not be copiedMarkus Mohrhard
Change-Id: I35d0c96d52b490ef70a0238e715d874f0ecd1012
2013-12-06Get rid of DECLARE_STL_MAPStephan Bergmann
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-11-20Elide utl::ConfigItem_ImplStephan Bergmann
...and utl::ConfigItem::IsValidConfigMgr is always true. Change-Id: I37e295729c3d0ae12719f0ae6f5a5628c58d0b9f
2013-11-14Missing includeStephan Bergmann
Change-Id: Ia8a15d1ec79577e4cd5bcaec99ef0926163a14ca
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14Add "block untrusted referer links" switchStephan Bergmann
Change-Id: Id2f2a3dafc3bb7ec6fada6bfda5843348dfac5a1
2013-11-09fdo#65108 inter-module includes <> include/unotoolsNorbert Thiebaud
Change-Id: Icd9b46da88366f5b260c8e20931b5dbdbedf3a66
2013-11-09Converge on SvtSecurityOptions::isTrustedLocationStephan Bergmann
Change-Id: Ibcf4b7d9d11295c7679637a37d41dc2960e04f8f
2013-11-08Clean up IsSecureURLStephan Bergmann
...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 Arnhold
Change-Id: I8a07ccb309490206a2edd36f2fe4d0e2c0982ea2
2013-10-16unotools: add menu option to enable/disable Smart-Art lockJacobo Aragunde Pérez
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 Stahl
... 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 Stahl
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 Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26Everytimes -> Every timeJesús Corrius
Change-Id: Ib84cee7dbb493387760ce68c25ec442bf0a4a121
2013-09-20cook up a scheme to allow windows to have per-module settingsCaolán McNamara
Change-Id: I5fa62c3c2af2ccbbc7e8a61e5537488515b2808c
2013-09-04Remove more unused methodsMarcos Paulo de Souza
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 Souza
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 McNamara
Change-Id: I5424a148c7173409e6e56f9483fcc769696707bc