Commit Graph

70 Commits

Author SHA1 Message Date
728ec86062 Typo: s/cant/can't/
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
2014-04-18 00:30:35 +03:00
d67da1e721 Remove FontNameHash, use standard OUStringHash
Change-Id: If123bbe8a4ee044ef45f418be0118ccf9509f4e7
2014-04-16 17:45:12 +02:00
a5bcc75b9c coverity#708210 Uninitialized scalar field
Change-Id: I9bf4182d4c6e7a61b057f3541cc4c2a4b0316edd
2014-04-08 12:18:54 +01:00
d2771b63b9 fdo#77123: Add option ignore kashida to the search
This patch will add new checkbox to ignore kashida in the
search and replace dialog.

Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
2014-04-08 10:58:15 +03:00
8f6c55a839 Replace SV_DECL/IMPL_REF macros with SvRef template
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
2014-04-07 12:38:27 +02:00
d9701f0ebc Typo: s/ouer/our
Change-Id: I0179678c6c5dd6a05b1d7d5038a901e7bf2af3de
2014-04-06 20:27:21 +03:00
6d27b176fb Bin copy-pasta comments of low informative value
Change-Id: Ib9ddc516636d2150101c40ee3f249c7511bcb375
2014-04-06 20:24:02 +03:00
149e3d4212 Bin empty @seealso, @param, @return etc metacomments 2014-04-06 20:00:14 +03:00
c81cb85d3d Bin copy-pasta comments of low informative value
Change-Id: Iee82f09a47830e3c8b932541e4c378e63add9986
2014-04-06 19:50:41 +03:00
3c9d929465 Kill superfluous spacing before semicolons
Change-Id: I05353e942fa1a2b7338c8415cdba06adb2bdd43f
2014-04-06 19:48:16 +03:00
49ccde0d3d Kill superfluous vertical whitespace
Change-Id: Idadfa4d215cb4b789d4949ce850bbb13016350c6
2014-04-06 19:45:36 +03:00
473183aad3 coverity#708567 unused member variables
Change-Id: I36b276a95bdea804defd5d7cb162ee0b8f378fad
2014-04-05 21:11:49 +01:00
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
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-04-01 19:22:54 +02:00
8bb09efc92 typo: approriate -> appropriate 2014-03-29 19:16:17 +01:00
1258b576ae tools: support 64-bit file positions in SvStream
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-29 02:03:07 +01:00
19bbfc0b39 tools: allow 64-bit positions on SvLockBytes
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-29 02:03:07 +01:00
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
bd8ce8b959 sal,toolkit,unotools: prefer passing OUString by reference
Change-Id: Ie62a59fd9ff3d6f6a34240fd562fbc91a143bf3a
2014-03-17 09:00:07 +02:00
2598a15ed2 forms: simplify deprecated XTypeProvider.getImplementationId
...and remove thus unused unotools/idhelper.hxx

Change-Id: I63affbcb0494ef91bc010b9dd5512d4cc718d7a2
2014-03-10 17:39:55 +01:00
09c3b8ab70 unotools: extractDate and extractTime functions
Added a pair of functions to split a UNO DateTime object into the
corresponding Date and Time objects.

Change-Id: I6bf31d83b3843a9482d6bf538a5dd7130c2c7046
2014-03-08 17:50:58 +01:00
8792ec7b21 Remove visual noise from include
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-03-01 09:51:32 -06:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
e428a99523 remove unused code utl::MediaDescriptor::PROP_DEEPDETECTION()
Change-Id: Ie80d0c00fe8725e59a6814707c9a4afcb6ac09b5
2014-02-25 15:16:55 +02:00
700161cce7 remove unused code utl::toISO8601(com::sun::util::Time const&)
Change-Id: I8df1934c7392ec38918be2a5b986c6ca871f9d15
2014-02-25 15:16:55 +02:00
973b47a336 unotools: sal_Bool -> bool
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19 12:47:07 +01:00
e2eda70f27 startcenter: fdo#72469: Thumbnails also for other file types than ODF.
Change-Id: If905b2f3e51adf7e64df9385ede74368acd11771
2014-02-04 09:11:29 +01:00
326bec33e0 some more continuous corrections 2014-02-03 14:01:40 +01:00
9d1c20259f bool improvements
Change-Id: I7020537797b181b0fcbf78de3d7b962b96744895
2014-01-28 20:26:17 +01:00
4bdf9a0247 fdo#63154 Removed unused solar.h reference
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-23 09:48:42 +00:00
f08b4f6116 Use bool
Change-Id: I572eec828396fc1efd493d6ba6ac08679dfca3cc
2014-01-10 17:11:42 +01:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
007bf2b8c0 utl::TempFile should not be copied
Change-Id: I35d0c96d52b490ef70a0238e715d874f0ecd1012
2013-12-14 11:15:41 +01:00
c78f7d85ab Get rid of DECLARE_STL_MAP
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-12-06 10:37:50 +01:00
380007d647 Elide utl::ConfigItem_Impl
...and utl::ConfigItem::IsValidConfigMgr is always true.

Change-Id: I37e295729c3d0ae12719f0ae6f5a5628c58d0b9f
2013-11-20 23:39:21 +01:00
6ad1a001b5 Missing include
Change-Id: Ia8a15d1ec79577e4cd5bcaec99ef0926163a14ca
2013-11-14 11:22:57 +01:00
24cad6a649 Move MediaDescriptor from comphelper to unotools
...so it will be able to use SvtSecurityOptions internally.

Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14 11:13:24 +01:00
18be6f161d Add "block untrusted referer links" switch
Change-Id: Id2f2a3dafc3bb7ec6fada6bfda5843348dfac5a1
2013-11-14 11:13:23 +01:00
945fb8c227 fdo#65108 inter-module includes <> include/unotools
Change-Id: Icd9b46da88366f5b260c8e20931b5dbdbedf3a66
2013-11-09 18:48:46 -06:00
16b91e13c7 Converge on SvtSecurityOptions::isTrustedLocation
Change-Id: Ibcf4b7d9d11295c7679637a37d41dc2960e04f8f
2013-11-09 16:24:56 +01:00
ea1a7ba72e Clean up IsSecureURL
...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-11-08 17:34:44 +01:00
f20eef0094 fixincludeguards.sh: include/u*
Change-Id: I8a07ccb309490206a2edd36f2fe4d0e2c0982ea2
2013-10-23 23:22:30 +02:00
2eba5391d3 unotools: add menu option to enable/disable Smart-Art lock
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-16 10:24:00 +00:00
abd3338486 desktop: stop replacing %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION
... and %PRODUCTXMLFILEFORMATNAME at runtime and hard-code
OpenOffice.org 1.0 for these too.

Change-Id: Id96390506d2a0f367f932e85d3115362ad483bc3
2013-10-01 18:03:38 +02:00
f67d166b30 remove run-time replacement of %WRITERCOMPATIBILITYVERSIONOOO11
Instead hard-code OpenOffice.org 1.1 as the value, since StarOffice and
StarSuite are irrelevant.

Change-Id: I9ab3d1cf38cf64cd4e440b3ae43158f748ead7d2
2013-10-01 18:03:37 +02:00
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
7d491bec40 Everytimes -> Every time
Change-Id: Ib84cee7dbb493387760ce68c25ec442bf0a4a121
2013-09-26 10:37:00 +02:00
b1314f22eb cook up a scheme to allow windows to have per-module settings
Change-Id: I5fa62c3c2af2ccbbc7e8a61e5537488515b2808c
2013-09-20 16:35:30 +01:00
62d5067191 Remove more unused methods
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-04 20:50:19 +00:00
b62826ad38 Remove more unused methods
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-03 09:16:14 +00:00