Commit Graph

86 Commits

Author SHA1 Message Date
9af0abebfd remove unnecessary use of Reference constructor in throw
Convert code like this:
  throw IOException("xx",
     Reference< XInterface >(static_cast<OWeakObject*>(this)) );
to this:
  throw IOException("xx",
     static_cast<OWeakObject*>(this) );

Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-27 08:20:11 +02:00
b09b5f8f7c Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-22 23:21:18 +02:00
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
c23bcc2331 Missing include
Change-Id: I2e04a61cc682fd6390571807c547a713d224d32b
2014-04-09 09:57:30 +02:00
718ec66252 animations: sal_Bool->bool
Change-Id: I77d10e56389042dd3caa8ed4816afe9f3baf5b22
2014-04-07 13:53:48 +02: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
557c0893f2 animations: simplify deprecated XTypeProvider.getImplementationId
Change-Id: If677c147011799872cf5da2d148aacceebf5df42
2014-03-10 17:39:52 +01:00
b8183958e6 fdo#60698: Split out slideshow code from animations
Also remove the TargetPropertiesCreator service since just slideshow uses this.

Change-Id: I80816f6225b7bd9fb18f48e69eb5dfd6709b6e56
2014-03-10 09:15:54 +01:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
f72ba18320 Remove visual noise from animations
Change-Id: I45b8019bebf6530136642bf34be829d7e26e2454
Reviewed-on: https://gerrit.libreoffice.org/8228
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 16:20:02 +00:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
a4285867cd Typo: atribute(s) -> attribute(s)
Change-Id: I5434402e372c4567b2c3f96f5c175618ba3e5cfb
2014-02-06 21:32:04 +01:00
8bc81f6f16 Related: fdo#69645 don't know if mxParent could become invalid..
after get and before call through mpParent. Probably can't, but
I don't know for sure.

Change-Id: Ib40e0709f1966687a37cc5b84bae1d554a5b4474
2014-02-04 12:01:20 +00:00
f9369d33a4 fdo#54938 Convert to cppu::supportsService
Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10
Reviewed-on: https://gerrit.libreoffice.org/7649
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-03 14:35:46 +00:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
2c35fff7ec remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString

Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-19 10:29:30 +02:00
1563162131 Resolves: fdo#69645 Parent Node disposed and mpParent pointing to junk
mpParent points the contents of mxParent which is a WeakReference, so
we can check if the WeakReference is still valid before using mpParent

Change-Id: I40424714865e506b8cf27017539795eb834e10d2
2013-11-05 11:47:39 +00:00
704f95e525 fdo#54938: More uses of cppu::supportsService
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b
Reviewed-on: https://gerrit.libreoffice.org/6406
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25 08:19:58 +00:00
8fc6905674 fdo#68849 add some header guards
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f
Reviewed-on: https://gerrit.libreoffice.org/6364
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-21 09:15:59 +00:00
392c5b2a70 Mark as const
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
2013-08-01 04:33:23 +09:00
bddd4d4598 Mark as const
Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
2013-07-22 21:03:55 +09:00
0cc228354f use XShapeHash type to make this *_map compatible...
with the corresponding TR1 container

The TR1 containers don't support dynamic hash functions provided in their
constructor.  Having the hash functor as part the hash container's type is
cleaner anyway.

(cherry picked from commit fb8df93381493dee3d0e511c556d82d1f177367a)

Conflicts:
	animations/source/animcore/targetpropertiescreator.cxx

Change-Id: I51ae91ef74002cbc8f24cd5f4df7dda58e1c4f8d
2013-05-25 12:11:51 +01:00
edba4119ff Resolves: #i119966# Fixed handling of the "visibility" flag of animations.
Patch by: Steve Yin
Review by: Andre Fischer
(cherry picked from commit 241c9736944e49308e03b74191524a1b8a5076bb)

Conflicts:
	animations/source/animcore/targetpropertiescreator.cxx

Change-Id: Ic81ff35a5a31ba5239510e85c17bb4a261d57b6a
2013-05-23 16:24:28 +01:00
378c038918 fdo#46808 Convert animations::ParallelTimeContainer to new style
Change-Id: Iac6337828c807a132e561b5e9017a708be2e9729
2013-04-25 08:56:38 +02:00
e8ff469da5 Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
eeaa2ecd1e remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19 16:52:03 +02:00
d6e752d5eb i#113608#, memory leak in animations: newly exposed crashed problem
Patch by: zhangjf
Review by: Andre Fischer

Conflicts:
	animations/source/animcore/animcore.cxx
	svx/source/svdraw/svdobj.cxx

Change-Id: I305d5d92d064265edf108a5a34c948c610b4fdc1
2013-03-14 14:35:41 +01:00
41e03a166e doubled using
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-05 12:34:33 +01:00
85f27205f4 Remove last RTL_CONSTASCII_STRINGPARAM from animations
Change-Id: Ib774bc7f70492910a2f3e7ac3088c4e07127b563
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1501
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-29 15:35:40 +00:00
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
1bbe1743c2 OUString cleanup in animations
Change-Id: Ib858f9fa709d72539f71a6473a4ecb519d68e98e
Reviewed-on: https://gerrit.libreoffice.org/584
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-07 22:13:24 +00:00
8c49149d32 remove unused module-description xml files
Change-Id: I531e47538f308ee43e0fe8d7db59f525e45942c3
2012-08-22 23:27:34 +02:00
8ed5bf0fca re-base on ALv2 code. 2012-06-27 19:13:15 +01:00
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
22da27d9dd Improve checking for emptiness 2012-01-21 19:58:46 +01:00
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
e1a1091d0a catch ignored exceptions by const reference 2011-08-24 11:30:17 +09:00
7e5b4be4cf add prefixes for component_getFactory 2011-07-28 14:37:59 +02:00
58707d613f Convert animations to gbuild 2011-07-27 13:32:45 +02:00
4cae99bd81 We can again use unloadablecomponent.map 2011-07-12 20:35:37 +02:00
56a0e8ae7d fix OSX linking problem with inaccurate component map 2011-07-12 09:49:16 +01:00
8738273c24 Remove component_getImplementationEnvironment 2011-07-11 20:32:19 +01:00
92e8795595 use standard template for this 2011-06-03 13:43:35 +01:00
ecbcaca7f3 valgrind: in what planet did that make sense 2011-05-20 15:22:48 +01:00
d3a0593ee1 Some cppcheck cleaning 2011-05-08 10:47:35 +02:00
b2a36656c4 Easyhack: Add visibility markup to all component_get* functions 2011-04-20 23:10:44 +02:00
a0c13ffcce Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	sd/source/ui/func/fuinsfil.cxx
	sd/source/ui/func/fuprobjs.cxx
	sd/source/ui/slideshow/slideshowimpl.cxx
	sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
	sd/source/ui/toolpanel/ToolPanelViewShell.cxx
	sd/source/ui/view/drawview.cxx
	sd/source/ui/view/drtxtob.cxx
	sd/source/ui/view/outlnvsh.cxx
	sd/source/ui/view/outlview.cxx
2011-03-18 15:40:35 +01:00
c61cd1a5a2 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-12 20:06:58 +01:00