Commit Graph

48 Commits

Author SHA1 Message Date
Stephan Bergmann
23116414bd Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Iee8db4ae259f0d2181140cb3f7ce859bad7cd33d
2015-04-01 08:39:07 +02:00
Stephan Bergmann
c6dcd7b7f3 Fix various Windows-only XServiceInfo implementations
...to match what is recorded in the .component files

Change-Id: Ibc5bb0575f3869317e4d14614cf1dad0af728ddc
2015-03-24 18:08:39 +01:00
Michael Stahl
15b4ab8d19 cppuhelper: clean up public headers with include-what-you-use
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18 18:51:49 +01:00
Julien Nabet
b09b5f8f7c Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-22 23:21:18 +02:00
Julien Nabet
5ec7a589be Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-05-10 06:19:42 +02:00
Stephan Bergmann
c7f1ce594c extensions: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I234d36bc7ef9e8e27087067f6e43d7e522e52d4d
2014-03-10 17:39:55 +01:00
Stephan Bergmann
612dac063a bool improvements
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-29 11:08:32 +01:00
Thomas Arnhold
f01580ce9c Windows: Require at least Windows XP SP2
* 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>
2013-11-20 07:15:16 -06:00
Matúš Kukan
eeaa2ecd1e remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19 16:52:03 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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
2013-04-07 14:23:11 +02:00
Michael Stahl
b0612be251 extensions: argh why can't that be formatted properly
Change-Id: I21a32877182dc84bd2291e87bdf49fa513835fc4
2013-02-28 23:39:42 +01:00
Michael Stahl
25418b6ed9 extensions: m_nApplRegHandle unused now
Change-Id: I93c6d0e37306a9c8ac708124a6d21a7ce11810b8
2013-02-28 23:03:45 +01:00
Michael Stahl
ffa3735570 extensions: remove code specific to oleautobridge2
Change-Id: I88ecfceba0d08ef7136d6db49da1e62c61518d2b
2013-02-28 23:00:34 +01:00
Michael Stahl
032d5ba4fa extensions: oleautobridge: avoid boatloads of warning C4005
... "macro redefinition" mostly from tools/postsys.h by wrapping all
inclusion of namespace polluting native windows headers in a single new
winwrap.hxx that is then included by the other headers; also cleans up
some inconsistent definitions of _WIN32_WINNT

Change-Id: Ibfe82a531615d559db2e61e4cdf399e68d0b3223
2012-12-20 18:27:35 +01:00
Tor Lillqvist
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
Michael Meeks
44cfc7cb65 re-base on ALv2 code. Includes (at least) relevant parts of:
linecap: Reintegrating finished LineCap feature
    Patch contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    Patches contributed by Sven Jacobi
    impress212: #i81610# fixed animation export
    http://svn.apache.org/viewvc?view=revision&revision=1167620
    impress212: drawinglayer gbuild environment changes
    http://svn.apache.org/viewvc?view=revision&revision=1167627
    http://svn.apache.org/viewvc?view=revision&revision=1167628
    impress212: DffPropSet -> minor code improvements, removing table
    http://svn.apache.org/viewvc?view=revision&revision=1167634
    impress212: #158494# fixed excel import (text rotation)
    http://svn.apache.org/viewvc?view=revision&revision=1167638

    Patches contributed by Armin Le Grand
    Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement
    http://svn.apache.org/viewvc?view=revision&revision=1220836
    #118728# changed indentifying definitions for Svg file detection
    http://svn.apache.org/viewvc?view=revision&revision=1229961
    #118838# LineGeometry creation for complicated cases optimized to
	create single Polygons
    http://svn.apache.org/viewvc?view=revision&revision=1236232
    #119176# corrected file type detection for SVG for svg files
	without xml header
    http://svn.apache.org/viewvc?view=revision&revision=1309445
    #118728# Extended Svg file detection
    http://svn.apache.org/viewvc?view=revision&revision=1230531
    #118529# solve break converters and convert commands for OLEs and images
    http://svn.apache.org/viewvc?view=revision&revision=1186168
    svg: added WaE changes from branch svgreplacement to trunc
    http://svn.apache.org/viewvc?view=revision&revision=1222974
    svg: corrected missing member initialization
    http://svn.apache.org/viewvc?view=revision&revision=1226134
    fix for #118525#: Using primitives for chart sub-geometry visualisation
    http://svn.apache.org/viewvc?view=revision&revision=1226879
    #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert
	metafiles to bitmapEx ...
    http://svn.apache.org/viewvc?view=revision&revision=1293316
    fix for #118525#: removed no longer used variable maOriginalMapMode, one
    more exception eliminated
    http://svn.apache.org/viewvc?view=revision&revision=1227097
    #16758# Added buffering to the VDev usages of the VclProcessor2D derivates...
    http://svn.apache.org/viewvc?view=revision&revision=1229521
    #116758# Secured VDev buffer device to Vcl deinit
    http://svn.apache.org/viewvc?view=revision&revision=1230574
    #116758# added remembering allocated VDevs for VDevBuffer to be able to also
    delete these when vcl goes down; it should never happen, but You never know
    http://svn.apache.org/viewvc?view=revision&revision=1230927
    #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive
	representation instead of TransparencePrimitive2D
    http://svn.apache.org/viewvc?view=revision&revision=1231198
    #118822# secured 3D geometry creation (slices) by subdividing the 2D
    source polyPolygon early
    http://svn.apache.org/viewvc?view=revision&revision=1234749
    #118829# enhanced Svg gradient quality, obstacles avoided
    http://svn.apache.org/viewvc?view=revision&revision=1235361
    #118834# Unified usage of TextBreakupHelper as single tooling class
    for i18n text primitive breakup
    http://svn.apache.org/viewvc?view=revision&revision=1236110
    #118853# added square pixel size limit to conversion of
    TransparencePrimitive2D to Metafile action
    http://svn.apache.org/viewvc?view=revision&revision=1237656
    #118824# coreccted mirroring and boundrect when the graphicmanager
    is used for bitmap output
    http://svn.apache.org/viewvc?view=revision&revision=1240097
    #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for
    various optimization scenarios
    http://svn.apache.org/viewvc?view=revision&revision=1241434
    #118783# Corrected errors in ID strings, corrected Svg line/fill export,
    corrected polygon close state
    http://svn.apache.org/viewvc?view=revision&revision=1232006
    #118796# corrected null-pointer usage in SVG text exporter
    http://svn.apache.org/viewvc?view=revision&revision=1240262
    #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image
    import with linked graphics, too
    http://svn.apache.org/viewvc?view=revision&revision=1229962
    #118898# corrected error in GDIMetaFile::GetBoundRect in handling
    MetaFloatTransparentAction
    http://svn.apache.org/viewvc?view=revision&revision=1293349
    #118855# Corrected handling of possibly created empty clipRegions
    after PolyPolygon clipping
    http://svn.apache.org/viewvc?view=revision&revision=1237725
	#115962# Better (but not yet optimal, see comments in task) handling
	of MetaFloatTransparentAction in PDF export
	http://svn.apache.org/viewvc?view=revision&revision=1241078
    IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ...
    http://svn.apache.org/viewvc?view=revision&revision=1200879
    118779# Added svg content streaming in/out to ImpGraphic stream operators
    http://svn.apache.org/viewvc?view=revision&revision=1231908
    linecap: correctons for WaE and mac drawing
    http://svn.apache.org/viewvc?view=revision&revision=1232793
    svg: uses current system Dpi for Svg replacement image creation
    http://svn.apache.org/viewvc?view=revision&revision=1233948

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1397315
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    Remove duplicate header includes.
    cws mba34issues01: #i117720#: convert assertion into warning
    http://svn.apache.org/viewvc?view=revision&revision=1172352
    118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    cws mba34issues01: #i117714#: remove assertion
    http://svn.apache.org/viewvc?view=revision&revision=1172357

    Patch contributed by Jurgen Schmidt
    add some additional checks to ensure proper reading operations
    http://svn.apache.org/viewvc?view=revision&revision=1209022
    mostly prefer our stream / bounds checking work.

    Patches contributed by Herbert Duerr
    #i118816# add clarifying comment regarding Font::*Color*() methods
    http://svn.apache.org/viewvc?view=revision&revision=1233833
    extend macro->string handling for empty strings
    http://svn.apache.org/viewvc?view=revision&revision=1175801
    avoid magic constants for SALCOLOR_NONE
    http://svn.apache.org/viewvc?view=revision&revision=1177543
    initialize slant properly in ImplFontMetricData constructor (author=iorsh)
    http://svn.apache.org/viewvc?view=revision&revision=1177551
    #i118675# make check for extension updates more stable
    http://svn.apache.org/viewvc?view=revision&revision=1214797
    #a118617# remove VBasicEventListener.dll binary
    There are no known users depending on its CLSID
    http://svn.apache.org/viewvc?view=revision&revision=1203697

    Patches contributed by Ariel Constenla-Haile
    Fix build breaker on Linux/gcc
    http://svn.apache.org/viewvc?view=revision&revision=1221104
    Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG
    http://svn.apache.org/viewvc?view=revision&revision=1215559

    Patches contributed by Oliver-Rainer Wittmann
    sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider
    instances of <SwFlyDrawObj>
    http://svn.apache.org/viewvc?view=revision&revision=1172120
    sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
    apply print settings to new printing routines
    http://svn.apache.org/viewvc?view=revision&revision=1172115

    gnumake4 work variously from Hans-Joachim Lankenau
    http://svn.apache.org/viewvc?view=revision&revision=1397315
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1396782
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    plus some amount of re-splitting of legacy headers.

    Patch contributed by Pavel Janik
    WaE: Remove unused variables.
    http://svn.apache.org/viewvc?view=revision&revision=1230697

    Patches contributed by Takashi Ono
    mingwport35: i#117795: MinGW port fix for vcl2gnumake
    http://svn.apache.org/viewvc?view=revision&revision=1172091
    mingwport35: i#117795: MinGW port fix for vcl2gnumake
    http://svn.apache.org/viewvc?view=revision&revision=1172091

    Patch contributed by Christian Lippka
    impress212: #i98044# re enable Text menu for outline and title shapes
    http://svn.apache.org/viewvc?view=revision&revision=1167639

    Patch contributed by Andre Fischer
    118674: Made category B code optional and disabled by default.
    http://svn.apache.org/viewvc?view=revision&revision=1215131
    118881: Ignore empty paragraphs after bullets.
    http://svn.apache.org/viewvc?view=revision&revision=1296205

    Patches contributed by Philipp Lohmann
    ooo340fixes: #i117780# use rtl allocator
    http://svn.apache.org/viewvc?view=revision&revision=1172087
    ooo34gsl02: #i117807# fix an off by one error (index actually
    inside the pfb section header)
    http://svn.apache.org/viewvc?view=revision&revision=1167576

various cleanups, related compilation fixes, warning cleanups, re-working
of obsolete stl template pieces to use boost instead, changed string
classes, re-adapt KDE about data, about dialog, fixing warnings,
and other fixes & improvements.
Disable svg import / render for about/ branding code-paths for now.
Restore full icon theme set.
Remove OS/2 conditionals and sources.
Remove conflicting gtk/full-screen monitors support.
Retain existing svg rasterizer files - temporarily disabled.
Standardize stringificaiton and fixup dllpostfix issues.
Rename SvgGradientHelper::== to equalTo to avoid overloading issues.
Use the flat GdiPlus API for LineCaps calls.
2012-11-06 11:58:16 +00:00
David Ostrovsky
9e716494a8 fix some VS 2010 specific issues
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82
Reviewed-on: https://gerrit.libreoffice.org/914
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-28 18:09:02 +00:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Takeshi Abe
93a9f170be catch exception by constant reference 2011-12-10 22:16:07 +09:00
Norbert Thiebaud
0a96c1f4f4 remove include of pch header in extensions 2011-11-27 13:08:28 -06:00
Tor Lillqvist
00d5ba291e No WIN_ULONG needed any more 2011-03-18 17:35:06 +01:00
Julien Nabet
02db199832 Remove "using namespace ::rtl" 2011-02-26 01:14:41 +01:00
Fridrich Štrba
267aa681af Avoid confusion between boost::vector and std::vector 2011-02-11 19:20:07 +01:00
Thomas Arnhold
50c26300e5 Remove lots of dead code 2011-02-06 13:43:35 +01:00
Tor Lillqvist
bf4aaa1112 Fix fallout of WIN_ULONG change in pre/postsys.h 2011-01-24 17:39:05 +02:00
Jesús Corrius
409ed5a012 Bump _WIN32_WINNT to 0x0403 (fixes VC++ 10 compilation) 2010-10-28 13:28:21 +02:00
Sebastian Spaeth
ead7290449 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:23 +02:00
Jens-Heiner Rechtien
36de66bdf0 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
6eda3342f5 INTEGRATION: CWS changefileheader (1.19.48); FILE MERGED
2008/03/31 12:31:34 rt 1.19.48.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:15:43 +00:00
Ivo Hinkelmann
bfbab94f40 INTEGRATION: CWS wae4extensions (1.18.68); FILE MERGED
2007/10/01 12:13:44 fs 1.18.68.1: #i81612# warning-free code (wntmsci10) - approved by jl@openoffice.org
2008-01-14 13:47:35 +00:00
Ivo Hinkelmann
d5901fb932 INTEGRATION: CWS plug05_SRC680 (1.15.116.1.2); FILE MERGED
2007/05/31 14:09:28 mt 1.15.116.1.2.2: register as OLE, only for plugin version...
2007/05/31 12:26:51 mav 1.15.116.1.2.1: #148036# register the service manager as running object
2007-06-04 12:54:38 +00:00
Vladimir Glazounov
3c7310cd2d INTEGRATION: CWS mingwport03 (1.14.188); FILE MERGED
2006/11/07 17:58:44 vg 1.14.188.3: RESYNC: (1.14-1.15); FILE MERGED
2006/10/24 12:58:21 vg 1.14.188.2: #i53572# MinGW port
2006/09/06 14:08:44 vg 1.14.188.1: #i53572# MinGW port
2007-03-26 12:08:00 +00:00
Ivo Hinkelmann
db7e35b7fd INTEGRATION: CWS c15v2_SRC680 (1.15.104); FILE MERGED
2007/02/21 11:20:58 rt 1.15.104.1: #143485# Joined from CWS c15v1.
2007-03-26 11:48:41 +00:00
Oliver Bolte
4c5ed2ec1a INTEGRATION: CWS pchfix02 (1.14.186); FILE MERGED
2006/09/01 17:26:33 kaib 1.14.186.1: #i68856# Added header markers and pch files
2006-09-16 12:04:50 +00:00
Rüdiger Timm
0804195232 INTEGRATION: CWS ooo19126 (1.13.308); FILE MERGED
2005/09/05 12:59:35 rt 1.13.308.1: #i54170# Change license header: remove SISSL
2005-09-08 18:44:51 +00:00
Oliver Bolte
754c281471 INTEGRATION: CWS jl5vba (1.12.20); FILE MERGED
2004/01/19 11:05:33 jl 1.12.20.1: #112890# #112889# #112560# #112439# #109456# join cws ab02vba
2004-03-17 12:08:27 +00:00
Rüdiger Timm
1f8bf23590 INTEGRATION: CWS geordi2q09 (1.11.114); FILE MERGED
2003/11/24 11:55:48 obo 1.11.114.1: #111934# join CWS pp1selectedfixes3
2003-12-01 10:31:10 +00:00
Vladimir Glazounov
54672dc30a INTEGRATION: CWS dbgmacros1 (1.9.72); FILE MERGED
2003/04/10 18:36:28 kso 1.9.72.2: RESYNC: (1.9-1.10); FILE MERGED
2003/04/09 10:54:45 kso 1.9.72.1: #108413# - debug macro unification.
2003-04-15 15:17:11 +00:00
Oliver Bolte
39eb9656e0 #100000# wntmsci8 without _DEBUG 2003-03-31 16:22:13 +00:00
Joachim Lingner
2e944ec75b #99049# ActiveX from StarBasic 2002-06-05 12:21:38 +00:00
Joachim Lingner
20b949c36c #97319# ActiveX components were not released 2002-02-26 07:49:02 +00:00
Joachim Lingner
c39ebc4dfc #92294# 2001-12-03 17:28:51 +00:00
Joachim Lingner
1390fc5c7f #67468# Refcount of OleApplicationRegistration did not work properly 2001-06-27 12:04:38 +00:00
Joachim Lingner
51e6e0ac8f #67468# library unloading 2001-06-27 09:56:03 +00:00
Joachim Lingner
09f7be7f29 OleClient_Impl::createInstanceWithArguments now delegates to OleClient_Impl::createInstance 2000-10-20 10:28:16 +00:00
Joachim Lingner
9eac0a7f60 createBridge extracted VARIANTS wrong from Any 2000-10-13 14:27:56 +00:00
Joachim Lingner
083368eca0 unnessecary include and unused define removed 2000-10-12 12:04:03 +00:00
Jens-Heiner Rechtien
95117e7fef initial import 2000-09-18 15:18:56 +00:00