Commit Graph

4763 Commits

Author SHA1 Message Date
Peter Foley
2be1fb4ead fix extensions build with Win8 SDK
Change-Id: I7c38722c98300f419e6129b46c89b68f46ce4173
2012-10-07 10:42:09 +02:00
David Tardon
62e51648ff tools/pathutils.hxx is windows-only
Change-Id: I280342029d830e4ffac2902dbb76e6ee9635dc70
2012-10-06 15:06:38 +02:00
David Tardon
431a950519 add missing dep on tools/diagnose_ex.h
Change-Id: I171a134250a2fc00f51c550a785125bb9708603b
2012-10-06 15:06:37 +02:00
Stephan Bergmann
dd11a1e57a Fixes/improvements on previous commit
* UUIInteractionHandler still needs to implement XInitialization.

* Moved ambiguating InteractionHandler typedef out of the way.

* Removed InteractionHandler.createDefault, as it was originally stated that "it
  is strongly recommended that [the "Parent"] property is supplied."

* Added back documentation about Parent and Context.

* Simplified some call-sites to directly use XInteractionHandler2.

Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04 14:42:52 +02:00
Noel Grandin
c25cb8a641 fdo#46808, Adapt task::InteractionHandler UNO service to new style
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.

Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-04 14:42:52 +02:00
Tor Lillqvist
616023b7a7 Use prefix
Change-Id: Ica989983b36ff4df7f6d6ab529c3bc0efef984e1
2012-10-01 23:05:37 +03:00
Arnaud Versini
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
David Tardon
25a7a4bb6c add missing deps for tools/color.hxx
Change-Id: I164afe17c3bff2f7d7f2b9daec0d5a5ca8fdf97a
2012-10-01 07:21:06 +02:00
Stephan Bergmann
c2ca6fabd1 Use comphelper::getComponentContext
...and some further clean up.

Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-29 18:18:28 +02:00
Caolán McNamara
2f002e3a49 having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel

Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-28 08:48:39 +01:00
Stephan Bergmann
a00c4e02ac Improvements on previous commit
* Made XDatabaseContext inherit XDatabaseRegistrations non-optionally, adapted
  call-sites to just use XDatabaseContext w/o querying.  (The previous commit
  had inadvertantly effectively removed support for XDatabaseRegistrations from
  the ODatabaseContext implementation, as an optional UNO super-interface does
  not lead to a super-class in the corresponding C++ class hierarchy, but making
  the super-interface non-optional fixes that anyway.)

* Adapted some more call-sites to just use XDatabaseContext w/o querying.

* Added @since tag.

* Replaced new uses of comphelper::ComponentContext::getUNOContext with
  comphelper::getComponentContext (see 03a9f139bd
  "ComponentContext::getUnoContext -> getComponentContext simplification;" I
  intend to get rid of comphelper/componentcontext.hxx much sooner than of
  comphelper/processfactory.hxx).

Change-Id: I68d09f2dbe651629f79ed21cd40cdb6d6b32c624
2012-09-27 15:03:32 +02:00
Noel Grandin
9c00e38b43 fdo#46808, Adapt sdb::DatabaseContext UNO service to new style
Create a merged XDatabaseContext interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Quite a few IDL files had to be marked as published for this to work.

Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-27 15:03:32 +02:00
Noel Grandin
cd693ff598 fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new style
Create a merged XGlobalEventBroadcaster interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Also add two interfaces to the IDL, which the service already implemented,
and existing client code already used.

Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-27 10:30:42 +02: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
Tor Lillqvist
7b7c28f9bd WaE: format (64-bit)
Change-Id: Idc7179f393da9e97a86ca910eff15697f094ece1
2012-09-21 14:01:03 +03:00
Stephan Bergmann
8aae567dc6 Wrong include
Change-Id: I3a6b2218cec77eabf05bc422258e672269440c7b
2012-09-19 16:01:45 +02:00
Stephan Bergmann
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
sagar
b079fd5a1b fdo#34792 - Fix for truncated field labels in Bibliography database dialog
Change-Id: I256b2b0ad508faed68c9faf0df6a9bb2e334cc66
Reviewed-on: https://gerrit.libreoffice.org/627
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-17 08:03:05 +00:00
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
Noel Grandin
2e284203da fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new style
Create a merged XUniversalContentBroker interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
2012-09-14 18:24:48 +02:00
Michael Meeks
7c805af4d0 build fix. 2012-09-12 15:16:37 +01:00
Noel Power
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
Noel Power
7d69c50413 misc fixes and improvements
hook in new properties into the property controller
allow new values to be passed to control

Change-Id: Ibbf1c1de4bfc7cb15e46d0d6704a025e5f0d048c
2012-09-11 16:04:10 +01:00
Noel Power
613f8a3137 attempt own scroll
Change-Id: I4abc00bf4fcebb098b63cc2c3638e0d573381ca5
2012-09-11 16:04:10 +01:00
Stephan Bergmann
cf0dd7b95d Inadvertent omit of Events node from Jobs-onlineupdate.xcu
...causing update check to not run due to the missing JobList entry.

Change-Id: If855259ac86340763e4b0fa8266f011f8980d61b
2012-09-06 17:41:54 +02:00
Noel Grandin
b679a2a021 fdo#46808, Adapt reflection::CoreReflection UNO service to new style
The XComponent part of the interface made no sense for a singleton,
so it was removed.
Explicitly document the 'theCoreReflection' singleton and move it
into it's own file.
Deprecated the now old CoreReflection service.

Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
2012-09-05 15:46:55 +02:00
Stephan Bergmann
31da8163ef Some clean up of previous commit
Change-Id: I75a4b2be2fbaf47a2ddb3498dd4e46b1169d47cc
2012-09-04 17:56:11 +02:00
Noel Grandin
9738002eca fdo#46808, Adapt drawing::ShapeCollection UNO service to new style
No client code is using the XComponent interface, so drop it.

Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-04 17:26:03 +02:00
Noel Grandin
bc00717bb7 fdo#46808, Adapt system::SystemShellExecute UNO service to new style
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03 15:55:05 +02:00
Noel Grandin
9b07288138 fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new style
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03 15:55:04 +02:00
Stephan Bergmann
938fd390a9 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I8daed910fc552a973464ec6756f59910ddd5d0da
2012-08-31 09:04:17 +02:00
Noel Grandin
8638f1e72a fdo#46808, Adapt script::Converter service code to new style
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27 15:40:07 +02:00
Noel Grandin
f789715a41 fdo#46808, Use factory methods for frame::DispatchHelper instances
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
2012-08-27 15:40:06 +02:00
Matúš Kukan
9ec8d331dc kill more unneeded stuff; rename uiconfig Packages
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c
2012-08-24 23:24:11 +02:00
Joel Madero
e4b0ce8887 fdo#53001 disable unlink graphics in image control dialog in base report builder
Embedding graphics in a report builder report is not implemented,
so do not propose it to the user.
It already was not proposed the dialog raised by
"Insert->Picture->From File"
This commit disables embedding the UI when selecting
an image for an already existing Graphic control
(as opposed to inserting a new graphic control).

Change-Id: I107bc59bef8bb29a75140542cc5c2779a37ed113
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-08-23 14:48:38 +02:00
Stephan Bergmann
fcd990f208 Some clean up after previous commit
Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
2012-08-23 09:58:25 +02:00
Noel Grandin
3e7990faa4 fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instances
Change-Id: I86e2a8873e5646abd340015f500bf9e872e8e6c5

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-23 09:58:25 +02:00
Jung-uk Kim
ed93117447 fdo#53061: Fix for C++11 #define NULL nullptr
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-14 10:39:13 +02:00
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
c04c2114d9 Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
2012-08-05 20:31:47 +02:00
Michael Stahl
753e9b3d45 udkapi, offapi: do not use #include "foo":
Evidently on Windows, the newfangled ucpp handles #include "foo"
differently from #include <foo> and treats it as a relative path, while
the angle brackets always result in absolute paths.
Since relative paths result in infinite rebuilds if make is invoked in a
different directory, don't use #include "foo" in IDL files.

Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-30 20:49:09 +02:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
Michael Stahl
6a94d7b5c9 basic, cui, extensions, filter, vcl: fix some warnings 2012-07-27 17:50:22 +02:00
David Tardon
0d56e73df7 WaE: invalid conversion from 'PWCHAR' to 'const sal_Unicode*'
Change-Id: I55038545ad740891777075c6fadde9959bd7fa1b
2012-07-20 09:37:27 +02:00
David Tardon
286799f438 WaE: deprecated conversion from string constant to 'PWCHAR'
Change-Id: I3500eb6a7ab1c98856a8da13e76135d1073dd6fd
2012-07-20 09:36:57 +02:00
Fridrich Štrba
e42319c10a Pointless nitpicking to increase my commit count
Change-Id: Id887eeec911e32b8c43e9e561ffc74763f6da05d
2012-07-18 16:53:42 +02:00
Fridrich Štrba
e1832ac55e Further simplification of ldap includes
Change-Id: I5608cc330104f1e50501c5e63ab05545fcd67fb9
2012-07-18 16:38:00 +02:00
Fridrich Štrba
79f15259bc Junking wrapldapinclude.hxx, since it is included only once and is small
Change-Id: I16ec56f8fefd3224b82e074371d9a8a944c75032
2012-07-18 16:24:45 +02:00
Fridrich Štrba
36d506146c Remove unnecessary define
Change-Id: Idff408bcf0e4f49a97478cdbba3eec9ac197d128
2012-07-18 15:19:41 +02:00
Fridrich Štrba
d391fe20a1 Using WCHAR ldap api on Windows
Change-Id: Ie81c33a5c51ae588ae8242d8790c3c748b442d31
2012-07-18 15:17:32 +02:00