summaryrefslogtreecommitdiffstats
path: root/embeddedobj/source
Commit message (Collapse)AuthorAgeFilesLines
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-213-6/+6
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann2013-08-211-4/+4
| | | | Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
* remove Application::GetWorkAreaPosSizePixelNoel Grandin2013-07-191-1/+1
| | | | | | | | | | | | This internal API has always been problematic because we cannot support it under the Linux toolkits, where it has in fact always just returned the size of the screen. Change-Id: I406bcbca8a4161b4261ef46940823bb07c6ad18b Reviewed-on: https://gerrit.libreoffice.org/4976 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* remove OUString wrap for string literalsThomas Arnhold2013-06-297-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan2013-05-319-116/+101
| | | | | | | | | | - replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac Reviewed-on: https://gerrit.libreoffice.org/4044 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-066-32/+32
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* No need for conditionality has been turned on since 2004Tor Lillqvist2013-05-061-11/+1
| | | | Change-Id: I0e1708f1102dab8e0424d12b50da25f726e8a5f6
* Resolves: #i113605# missing :ReleaseStgMedium() call on STGMEDIUM objectJian Fang Zhang2013-05-021-0/+4
| | | | | | | | | | which causes obvious memory leaks Found by: zhangjf Patch by: zhangjf (cherry picked from commit e0d9b7a23ca3e7ba181134cd89f3f18233031ef1) Change-Id: I5f99f8cf02e155e5284df3df89feb49d9a30c2c1
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0733-720/+720
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Replace `compareTo(...) == 0` with ==Ashish Banerjee2013-04-054-5/+5
| | | | | | | | | | | Proposed patch for the following issue: https://bugs.freedesktop.org/show_bug.cgi?id=62096 Change-Id: Ib83a9051ea12c53642f781e5427a6ca728049a7f Reviewed-on: https://gerrit.libreoffice.org/3198 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-193-7/+7
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1921-309/+300
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* doubled includesThomas Arnhold2013-03-042-2/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-033-7/+7
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* Fix typo "persistant" -> "persistant"Julien Nabet2013-02-283-7/+7
| | | | | | | Change-Id: I639afec2508d189c10a180fd8f824e634afbd14a Reviewed-on: https://gerrit.libreoffice.org/2347 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* remove some trivial duplicatesThomas Arnhold2013-02-251-1/+0
| | | | Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
* fdo#39674: Rename menues to menuThomas Arnhold2013-02-222-6/+6
| | | | | | | Change-Id: Idc22167d1a0dc518b3f9e96884213140d07b565b Reviewed-on: https://gerrit.libreoffice.org/2316 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* s/the the/the/Tor Lillqvist2013-02-221-1/+1
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* fdo#46808, use service constructorNoel Grandin2013-02-111-3/+1
| | | | Change-Id: I8c533eb6efdcabc3475527fb16f9674ca2a5eb8b
* fdo#60491: embeddedobj: catch exception in fallback pathMichael Stahl2013-02-101-1/+8
| | | | | | | This allows the OLE object to at least be passed to the OS for opening... Change-Id: I97f93eb3a015d7771f3fc909517ffb96d61fde52
* embeddedobj: log some exceptionsMichael Stahl2013-02-102-2/+6
| | | | Change-Id: I2e565bc6e57f7bf59fdd6eb5fc577e0b3d58b9f6
* fdo#60234 fdo#60492: fix emboleobj library on WNT:Michael Stahl2013-02-081-1/+1
| | | | | | Use prefix consistently in all component files for the library. Change-Id: I58dce631f474e022be320c748f62238953a28e17
* fdo#46808, fixes for windows buildNoel Grandin2013-01-151-1/+1
| | | | Change-Id: I92e4af840a180361c49de71a7875d6a05fa503ca
* fdo#46808, fixes for windows buildNoel Grandin2013-01-151-0/+1
| | | | Change-Id: I338b83c7803af019d9581c3a50e2afe9d2f5c014
* fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContextNoel Grandin2013-01-1512-63/+66
| | | | Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
* fdo#46808, Adapt embed::*EmbeddedObjectCreator UNO services to new styleNoel Grandin2013-01-155-68/+28
| | | | | | | | | | The services already existed, it just did not have an IDL file. Adapts com.sun.star.embed.OOoEmbeddedObjectFactory com.sun.star.embed.OLEEmbeddedObjectFactory com.sun.star.embed.EmbeddedObjectCreator Change-Id: I8ba01c7fd956a46c87d02dc7d61bdd5fcdf21ab8
* fdo#46808, Adapt frame::TaskCreator UNO service to new styleNoel Grandin2013-01-151-6/+3
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: I157c53d09b612da0178432100b8928013f811706
* fdo#46808, Adapt embed::HatchWindowFactory UNO service to new styleNoel Grandin2013-01-093-22/+18
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: If00396effd92ed72ea942da5eb1fe60b6380c665
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-212-73/+58
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* fdo#46808, remove awt::DisplayAccess service.Noel Grandin2012-12-131-13/+8
| | | | | | | | | This service was never documented in an IDL file. All it did was provide a wrapper around some VCL module API. Now that we can link the VCL stuff into SD and SDEXT, just access the API directly. Change-Id: Ic0ba34c2bca797baa7319878d98cfe3a4ec59d4d
* fdo#46808, use service constructor for embed::StorageFactoryNoel Grandin2012-12-101-7/+5
| | | | Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
* fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin2012-11-153-9/+6
| | | | | | | | I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
* fdo#56818 Work around deadlock caused by differing lock ordersStephan Bergmann2012-11-071-0/+11
| | | | Change-Id: Iaabe36bf0c1f051f9cebc2b65e614063698959fa
* fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin2012-10-241-5/+3
| | | | | | | | | Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
* Use prefixTor Lillqvist2012-10-012-2/+2
| | | | Change-Id: I28607f54eb06912ab1d27d80813d54cb6faa7771
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-9/+2
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* re-base on ALv2 code.Michael Meeks2012-09-2929-676/+415
|
* replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2012-09-252-2/+2
| | | | | | | Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann2012-09-197-27/+26
| | | | | | ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
* fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin2012-09-052-10/+5
| | | | | | | | | | Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
* Some builds seem to require a prefixed "system" hereStephan Bergmann2012-09-031-3/+3
| | | | | | | | ... MacOSX-Intel@1-built_no-moz_on_10.6.8 complained with "oleembed.cxx:881: error: "system" has not been declared"; and see previous 88d7f9fbe416d0f4c5edc4a9b5c9560d1d82167b "fwk139: #i10000# adopt for linux." Change-Id: Ibd6f6aae69a7fcca7a60a85ed2d82dd5e775deea
* fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin2012-09-031-5/+4
| | | | Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
* fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin2012-09-031-5/+4
| | | | Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
* add more component prefixesMatúš Kukan2012-09-011-1/+1
| | | | Change-Id: I3afe59a6326b9e5cb26c39a82d7aabdb05cc2b7e
* Removed private fields were acutally used #ifdef WNTStephan Bergmann2012-08-311-0/+10
| | | | Change-Id: I0c4d70884d8735eb6941bc252d0aad838c80fd38
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-311-6/+0
| | | | Change-Id: I1badf39ddd5c7fc05657d21f17d7775503617b19
* Missing #includeStephan Bergmann2012-08-271-0/+1
|
* fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2012-08-275-64/+60
| | | | Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
* There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2012-08-061-3/+3
| | | | | | a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f