summaryrefslogtreecommitdiffstats
path: root/embeddedobj
Commit message (Collapse)AuthorAgeFilesLines
* Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann2014-01-211-2/+2
| | | | | | | 3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
* Use boolStephan Bergmann2014-01-102-4/+4
| | | | Change-Id: I7b7be27bc2e6fe73811b800945d7c6dbd8248034
* typo fixesAndras Timar2013-12-202-7/+7
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-173-6/+6
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann2013-12-061-23/+2
| | | | | | ...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
* Catch block smells like leftover debugging codeStephan Bergmann2013-11-291-10/+1
| | | | | | | | ...especially as it doesn't change hr from S_OK, and compiling with /EHsc (instead of /EHa) reveals that OleRun does not throw any (C++) exceptions (and thus produces an "unreachable code" warning for the catch block). Change-Id: Ic34e83e6ede3a214ccb073e3e54d6fcc493d46ea
* Windows: Require at least Windows XP SP2Thomas Arnhold2013-11-202-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
* convert equalsAsciiL calls to startsWith callsNoel Grandin2013-11-202-7/+7
| | | | | | | | | | Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-195-51/+44
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2013-11-193-6/+6
| | | | | | This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
* remove unnecessary use of OUString constructor in EMBEDDEDOBJ moduleNoel Grandin2013-11-117-40/+40
| | | | Change-Id: I60bbdd2a2592a1e5333abe50711aa227786ce935
* clean up some include guardsThomas Arnhold2013-10-234-8/+8
| | | | | | | | | | Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#68849 add some header guardsThomas Arnhold2013-10-228-9/+29
| | | | Change-Id: I1cd598fba94e337c2ccad68a4a888743aeb292f0
* fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza2013-10-077-57/+14
| | | | | | | Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* -Werror,-Wunused-variableStephan Bergmann2013-10-021-1/+0
| | | | Change-Id: I9d09f8b632f568637f0a2ccb1ff62ce5d3d5afed
* don't use SAL_WARN to log callsMarkus Mohrhard2013-09-291-6/+0
| | | | Change-Id: Ia9ac8ff7d187cab9d158ffe97fb2d5faca269638
* embeddedobj: if the service is missing, log its nameMiklos Vajna2013-09-241-0/+1
| | | | | | | Related to https://gerrit.libreoffice.org/6019, so we can find out the name of the missing component. Change-Id: I1a006403def0b29f7391449a9b6124df40446851
* do not build emboleobj library on --disable-atlMichael Stahl2013-08-291-1/+1
| | | | Change-Id: I4973cbdd8afead3f189874ef754d2b2eee4bfb9c
* 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>
* Don't export a variable called PATH_SEPARATORTor Lillqvist2013-05-151-4/+4
| | | | | | | | | | | | It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling, it breaks the build of 3rd-party libraries using autoconfigury on Windows. The value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those libs run in Cygwin and assume that a PATH_SEPARATOR environment variable should be correct for Cygwin. Which ";" isn't. Rename the variable to LIBO_PATH_SEPARATOR. Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-151-4/+4
|
* 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
* Java cleanup, convert more Vector to ArrayListNoel Grandin2013-05-061-3/+3
| | | | Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
* Java cleanup, Convert Vector to ArrayListNoel Grandin2013-05-061-1/+0
| | | | Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
* 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
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-303-63/+12
|
* gbuild: drop empty use_packages callsDavid Tardon2013-04-241-3/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-1/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* 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-0741-769/+769
| | | | | | | | 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-057-8/+8
| | | | | | | | | | | 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-1923-315/+306
| | | | | | | | | | | 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>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* 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
* Typo fix: informations -> information and a few other adjacent typos.Gregg King2013-03-021-3/+3
| | | | | | | | | FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* 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