Commit Graph

3751 Commits

Author SHA1 Message Date
Michael Stahl
652ccbdf31 i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.
Add IsUTC member to:

com.sun.star.util.DateTime
com.sun.star.util.DateTimeRange
com.sun.star.util.Time

Add new stucts with explicit time zones:

com.sun.star.util.DateTimeWithTimezone
com.sun.star.util.DateWithTimezone
com.sun.star.util.TimeWithTimezone

Adapt the sax::Converter to read/write timezones, and fix the unit test.

Everything else just uses default (no time zone), this commit is just
to fix the API.

STRUCT: /UCR/com/sun/star/util/DateTime
    nFields1 = 7  !=  nFields2 = 8
    Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/DateTimeRange
    nFields1 = 14  !=  nFields2 = 15
    Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/Time
    nFields1 = 4  !=  nFields2 = 5
    Registry2 contains 1 more fields

Conflicts:
	sc/source/filter/oox/unitconverter.cxx

Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18
Reviewed-on: https://gerrit.libreoffice.org/4833
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-07-15 11:46:41 +00:00
Ariel Constenla-Haile
805c6101b3 Resolves: #i121544# - Clean-up MessageBox API
(cherry picked from commit 27cfcb1e9d103b3e49c1263b1fa59fee8b187b21)

Conflicts:
	desktop/test/deployment/active/active_native.cxx
	desktop/test/deployment/passive/Dispatch.java
	desktop/test/deployment/passive/passive_native.cxx
	odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
	odk/examples/DevelopersGuide/GUI/MessageBox.java
	odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
	odk/examples/java/Inspector/Inspector.java
	offapi/com/sun/star/awt/MessageBoxButtons.idl
	offapi/com/sun/star/awt/MessageBoxResults.idl
	offapi/com/sun/star/awt/XMessageBox.idl
	offapi/com/sun/star/awt/XMessageBoxFactory.idl
	offapi/com/sun/star/awt/makefile.mk
	offapi/type_reference/types.rdb
	sdext/source/minimizer/unodialog.cxx
	toolkit/inc/toolkit/awt/vclxtoolkit.hxx
	toolkit/source/awt/vclxtoolkit.cxx
	toolkit/source/layout/core/root.cxx

Change-Id: I170b494fb96362bb25ba8d0f2518d4e46934dd67

Related: #i121544# - Clean-up MessageBox API (post fix)

(cherry picked from commit c9f7a06e7798bcd5253844c49d210ea9345bd4b8)

Conflicts:
	sw/inc/pch/precompiled_sw.hxx

Change-Id: Ib8b1e7aaac769feff5206fcdd238c487a6130dd1

Related: #i121544# - Fix header guards

Found by: Tsutomu Uchino

(cherry picked from commit 82194a19ff4f29c8451c8e6ab6fe4f1b9d08df27)

Conflicts:
	offapi/com/sun/star/awt/MessageBoxType.idl

Change-Id: Ide8ba697fbc80395d2f30a068a0820a6afa3332f
2013-07-11 13:16:58 +01:00
Ariel Constenla-Haile
9052caae53 Resolves: #i121542# Unify the Menu API
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d)

Conflicts:
	chart2/source/controller/main/ChartController_Window.cxx
	framework/source/uielement/langselectionmenucontroller.cxx
	framework/source/uielement/popupmenucontroller.cxx
	framework/source/uielement/recentfilesmenucontroller.cxx
	framework/source/uielement/toolbarsmenucontroller.cxx
	odk/examples/DevelopersGuide/GUI/UnoMenu.java
	odk/examples/DevelopersGuide/GUI/UnoMenu2.java
	odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx
	offapi/com/sun/star/awt/MenuBar.idl
	offapi/com/sun/star/awt/MenuEvent.idl
	offapi/com/sun/star/awt/MenuItemStyle.idl
	offapi/com/sun/star/awt/MenuItemType.idl
	offapi/com/sun/star/awt/MenuLogo.idl
	offapi/com/sun/star/awt/PopupMenu.idl
	offapi/com/sun/star/awt/PopupMenuDirection.idl
	offapi/com/sun/star/awt/XMenu.idl
	offapi/com/sun/star/awt/XMenuBar.idl
	offapi/com/sun/star/awt/XMenuBarExtended.idl
	offapi/com/sun/star/awt/XMenuExtended.idl
	offapi/com/sun/star/awt/XMenuExtended2.idl
	offapi/com/sun/star/awt/XMenuListener.idl
	offapi/com/sun/star/awt/XPopupMenu.idl
	offapi/com/sun/star/awt/XPopupMenuExtended.idl
	offapi/com/sun/star/awt/makefile.mk
	offapi/type_reference/types.rdb
	svtools/inc/svtools/popupmenucontrollerbase.hxx
	svtools/source/uno/popupmenucontrollerbase.cxx
	svx/source/tbxctrls/extrusioncontrols.cxx
	toolkit/inc/pch/precompiled_toolkit.hxx
	toolkit/inc/toolkit/awt/vclxmenu.hxx
	toolkit/inc/toolkit/helper/listenermultiplexer.hxx
	toolkit/source/awt/vclxmenu.cxx

Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7

Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle

(cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248)

Conflicts:
	odk/examples/DevelopersGuide/GUI/UnoMenu2.java
	offapi/type_reference/types.rdb
	toolkit/inc/toolkit/awt/vclxmenu.hxx

Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-23 21:16:14 +01:00
Thomas Arnhold
4b373ef7f5 fdo#60724 change spelling error REMOVEABLE -> REMOVABLE II
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-29 10:43:24 +02:00
Stephan Bergmann
89fbed7e29 Revert "Java cleanup, AccessibilityTools.."
This reverts commit d702dd4396, which reproducibly
broke JunitTest_sc_unoapi:

java.lang.NullPointerException
 at util.AccessibilityTools.getAccessibleObjectForRole_(AccessibilityTools.java:177)
 at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:95)
 at mod._sc.AccessibleEditableTextPara_PreviewCell.createTestEnvironment(AccessibleEditableTextPara_PreviewCell.java:149)
 at lib.TestCase.getTestEnvironment(TestCase.java:121)
 at base.java_fat.getTestEnvironment(java_fat.java:319)
 at base.java_fat.executeTest(java_fat.java:167)
 at org.openoffice.Runner.run(Runner.java:234)
 at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:38)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
 at org.junit.runners.Suite.runChild(Suite.java:128)
 at org.junit.runners.Suite.runChild(Suite.java:24)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
 at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
 at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
 at org.junit.runner.JUnitCore.main(JUnitCore.java:45)

Change-Id: I3601fe24db21bd63f7dc6cdf0a1eb69f447d962a
2013-05-21 16:56:30 +02:00
Noel Grandin
d702dd4396 Java cleanup, AccessibilityTools..
was using a global variable. Yuck.
Fix it to use a local variable. Not perfect, but better.

Change-Id: I27bbbb2ddc89402da53be7f19d2cd963b03b1a83
2013-05-20 09:21:20 +02:00
Stephan Bergmann
893404cf5e Improve test log output
Change-Id: I11afb19726ecf6b585d84517cf2a8244800db81a
2013-05-14 09:18:28 +02:00
Philipp Riemer
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
Noel Grandin
8bebd29976 Java cleanup, remove unnecessary @SuppressWarnings annotations
Change-Id: Ib5df091fc4a6233b526c44ae42dbdbacb0bef7c6
2013-05-06 11:45:58 +02:00
Noel Grandin
8be40d31d7 Java cleanup, convert Hashtable to HashMap
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06 11:45:53 +02:00
Noel Grandin
587c59fbc9 Java cleanup, Convert Vector to ArrayList
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-05-06 11:45:50 +02:00
Noel Grandin
6f17a2f66f Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26 08:36:04 +02:00
Noel Grandin
64e85a4cc8 Java cleanup, remove unused imports
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-26 08:29:38 +02:00
Stephan Bergmann
0af9970da3 Mark TypeDescriptionProvider service as "don't create by name"
...had to adapt one test that had picked this service apparently arbitrarily.

Change-Id: Iaa17b7c622b9ac3601beb3ba931f7b1d99f649f1
2013-04-25 17:45:35 +02:00
Noel Grandin
ada0298167 Java cleanup - reduce use of global fields
This field does not need to be global, it is returned from the relevant
methods

Change-Id: Ic53eec4a699d6acc4410e71dde385e6a49ded745
Reviewed-on: https://gerrit.libreoffice.org/3567
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-23 10:30:31 +00:00
Noel Grandin
37eee65fbf Java cleanup - static fields that should not be static
Somebody appears to have been confused about the purpose of static
in Java.
These are instance fields and should therefore not be static.

Also reduce the visibility of some methods and fields.

Change-Id: I0b5875b6cbd91ee89823e2058b87c1087dc5c92e
Reviewed-on: https://gerrit.libreoffice.org/3555
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 14:38:25 +00:00
Noel Grandin
8d87758d65 Java cleanup, remove the rest of the unnecessary casts
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa
Reviewed-on: https://gerrit.libreoffice.org/3432
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:52:08 +00:00
Lionel Elie Mamane
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
Thomas Arnhold
1264480bc3 fdo#60724 correct spelling
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15 05:39:31 +02:00
Thomas Arnhold
70e4329d04 fdo#60724 successfull -> successful
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15 05:34:02 +02:00
Thomas Arnhold
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
Thomas Arnhold
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
Tor Lillqvist
07b5102e7b There are many ships in the port of Hamburg but "ownership" is not one
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
2013-03-25 23:58:12 +02:00
Michael Stahl
811462723b qadevOOo: fix typo
Change-Id: I00e90954f535d023b48a80d319563c43bd935d93
2013-03-12 20:59:42 +01:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Julien Nabet
eb7185a168 Fix typo begining/beginning.
Change-Id: I9fff386181a2be0bc83787c8b5aec9c1cb4db9c3
2013-02-23 19:17:03 +01:00
Julien Nabet
66e5cbc55a Fix typo "sucessfully" -> "successfully"
Change-Id: I01c85e4d3853c44fa05acc3019bc35c56c4f655e
2013-02-23 15:42:54 +01:00
Julien Nabet
fe86d0ca5d Fix typo "paramater" -> "parameter" + remove some commented lines
Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4
2013-02-23 15:37:28 +01:00
Julien Nabet
1443a9f7ab [Uu]sefull -> [Uu]seful
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Tor Lillqvist
0c317af38a s/childrens/children/
Change-Id: I1731710811506383d29c835a613b07506e7232f0
2013-02-22 09:32:10 +02:00
Stephan Bergmann
42f1f1f5ae Skip broken character bounds checks on Mac OS X
...where for whatever reason (TODO: investigate) they keep failing at least with
my local Mac OS X 10.7 build at
toolkit.AccessibleFixedText::com::sun::accessibility::XAccessibleText:

LOG> getCharacterBounds(-1)
LOG> Expected exception
LOG> getCharacterBounds(8)
LOG> Expected exception
LOG> getCharacterBounds(0)
LOG> Text at this place: F
LOG> Character bounds outside component
LOG> Character rect: 1, 3, 6, 11
LOG> Component rect: 0, 22, 100, 12
LOG> getCharacterBounds(1)
LOG> Text at this place: x
LOG> Character bounds outside component
LOG> Character rect: 6, 6, 10, 8
LOG> Component rect: 0, 22, 100, 12
LOG> getCharacterBounds(2)
LOG> Text at this place: e
LOG> Character bounds outside component
LOG> Character rect: 15, 6, 7, 8
LOG> Component rect: 0, 22, 100, 12
LOG> getCharacterBounds(3)
LOG> Text at this place: d
LOG> Character bounds outside component
LOG> Character rect: 22, 3, 7, 11
LOG> Component rect: 0, 22, 100, 12
LOG> getCharacterBounds(4)
LOG> Text at this place: T
LOG> Character bounds outside component
LOG> Character rect: 30, 3, 8, 11
LOG> Component rect: 0, 22, 100, 12
LOG> getCharacterBounds(5)
LOG> Text at this place: e
LOG> Character bounds outside component
LOG> Character rect: 39, 6, 7, 8
LOG> Component rect: 0, 22, 100, 12
LOG> getCharacterBounds(6)
LOG> Text at this place: x
LOG> Character bounds outside component
LOG> Character rect: 45, 6, 10, 8
LOG> Component rect: 0, 22, 100, 12

Change-Id: I690ffc773b53e0f19536605e3cb89280bc98c19a
2013-02-01 15:22:26 +01:00
Stephan Bergmann
ee43379455 Revert "Use XNotifyingDispatch to avoid races"
This reverts commit 21ea372541.  Looks like
neither XNotifyingDispatch nor XSynchronousDispatch can be used to avoid this
race; sigh.
2012-12-10 18:25:09 +01:00
Stephan Bergmann
21ea372541 Use XNotifyingDispatch to avoid races
Change-Id: Ia91bd08122052f5ea206eb9e6c03524e6e3ec245
2012-12-07 16:21:49 +01:00
Stephan Bergmann
d23508eebb Revert "Use XSynchronousDispatch to avoid races"
This reverts commit 16383552c8, which was broken,
but toplevel "make .../workdir/*/JunitTest/sc_unoapi/done" did not trigger
qadevOOo rebuild, so got unnoticed at first.

Change-Id: I6031cf9f67a8cc69cbabd197bd01462968eeb07e
2012-12-07 12:35:58 +01:00
Stephan Bergmann
16383552c8 Use XSynchronousDispatch to avoid races
Change-Id: I517ae0f3a17e769da20219d69d7ff4bac44623cd
2012-12-07 12:14:22 +01:00
Michael Stahl
57d97807f7 i#25473: this was fixed by previous commit, so enable...
...those tests again.  Also there does not appear to be a reason to
exclude MAYBEVOID properties.

Change-Id: Ic73adb8800aee7f65e86394cecfe13b7b24eed13
2012-12-04 00:57:46 +01:00
Michael Stahl
aab4574d4b API CHANGE: remove service com.sun.star.text.PrintPreviewSettings
This service was obsoleted by CWS printerpullpages: the implementation
in Writer was defunct in OpenOffice.org 3.3 and completely removed in
OpenOffice.org 3.4.

Change-Id: Ia4dd6f1f1d8fc399583032b44d99663532409b5c
EXISTENCE: published key "/UCR/com/sun/star/text/PrintPreviewSettings" exists only in registry 1
SERVICE: /UCR/com/sun/star/text/DocumentSettings
    service1 contains 1 more references as service2
  incompatible change: Reference 2 ('PrintPreviewSettings') in 'r1' is not longer a reference of this service in 'r2'
2012-11-30 20:26:16 +01:00
Michael Stahl
8674c120cf API CHANGE: remove com.sun.star.text.XLineNumberingSupplier
This interface has been deprecated since OpenOffice.org initial CVS
import.

EXISTENCE: published key "/UCR/com/sun/star/text/XLineNumberingSupplier"
exists only in registry 1
SERVICE: /UCR/com/sun/star/text/GenericTextDocument
service1 contains 1 more references as service2
incompatible change: Reference 10 ('XLineNumberingSupplier') in
'r1' is not longer a reference of this service in 'r2'

Change-Id: I24ff18d0fe22d3caa893a7d5c766d352b7ca99c3
2012-11-30 19:42:03 +01:00
Michael Stahl
7a8d933585 API CHANGE: remove com.sun.star.text.XTextEmbeddedObject
This interface was apparently never implemented in OpenOffice.org.

EXISTENCE: published key "/UCR/com/sun/star/text/XTextEmbeddedObject"
exists only in registry 1

Change-Id: Ib802fa3f035d1842c9ee8018ef15f35a4680fe2b
2012-11-30 18:56:44 +01:00
Stephan Bergmann
a83c6301d8 Remove deprecated and unused entries from /org.openoffice.Setup
...but ooSetupInstCompleted is apparently not (yet) deprecated.

Change-Id: I21237f804266e1f119bcf51f957ff4f22a64e3b2
2012-11-30 08:54:55 +01:00
Michael Stahl
28327c28ce API CHANGE: remove com.sun.star.system.XProxySettings
... and related services:

com.sun.star.system.SOffice52ProxySettings
com.sun.star.system.ProxySettings
com.sun.star.system.SystemProxySettings

The implementation for these has apparently been removed in
OpenOffice.org 2.0 or thereabouts.

EXISTENCE: published key
"/UCR/com/sun/star/system/SOffice52ProxySettings" exists only in
registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/ProxySettings" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/XProxySettings"
exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/SystemProxySettings"
exists only in registry 1

Change-Id: If00c332edf08619fcad12ed07d0d8a13a714045e
2012-11-29 23:53:37 +01:00
Michael Stahl
90227b15f0 chart2: replace use of deprecated UserDefinedAttributeSupplier
... with UserDefinedAttributesSupplier

Change-Id: Ib289aaae114d89238a665d0a58eda6fa8d0c482b
2012-11-29 21:24:20 +01:00
Thorsten Behrens
70626249cd API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.

This unpublishes all css::accessibility, and dependend API.

With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.

Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29 16:58:16 +01:00
Michael Stahl
e6f81b1898 API CHANGE: remove com.sun.star.document.XDocumentInfo
The following badly designed interfaces and services were deprecated
in OpenOffice.org 3.0 and are now remove from the API:

com.sun.star.document.DocumentInfo
com.sun.star.document.StandaloneDocumentInfo
com.sun.star.document.XDocumentInfo
com.sun.star.document.XDocumentInfoSupplier
com.sun.star.document.XStandaloneDocumentInfo

The supported replacements for these have been introduced in OOo 3.0:

com.sun.star.document.XDocumentProperties
com.sun.star.document.XDocumentPropertiesSupplier
com.sun.star.document.DocumentProperties

http://www.mail-archive.com/interface-announce@openoffice.org/msg00432.html

Remove the implementation of these interfaces and services in sfx2
(SfxBaseModel, objuno.cxx)

Also remove unit tests for these services in qadevOOo and sfx2.

Conflicts:
	offapi/type_reference/types.rdb

Change-Id: Ib0b48a4e53a8079c82fac3bb49a829812f8e5256
2012-11-26 23:14:33 +01:00
Michael Stahl
31170413ae API CHANGE: com.sun.star.lang.IllegalArgumentException
... derives from com.sun.star.uno.RuntimeException instead of
com.sun.star.uno.Exception.

Only test that breaks with this change is jurt_uno/AnyConverter_Test,
which for mysterious reasons effectively tests that
IllegalArgumentException is a subclass of Exception and not
RuntimeException.  Presumably this is just a generic exception test that
happens to use IllegalArgumentException.

Some further testing indicates there are no problems expected at
runtime:
Running "make subsequentcheck" with all Java test code compiled against
a ridl.jar that does not contain the change, running against a soffice
that uses ridl.jar and rdbs with the change + ridl.jar with the change
on the test side yields exactly the same AnyConverter_Test failure, with
no other failures.

Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-26 23:14:33 +01:00
Michael Stahl
117fdb9898 convert users of XDocumentInfo to XDocumentProperties
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-22 12:10:30 +01:00
Michael Meeks
f2d8b05b73 improve junit test failure messages around CLSID. 2012-11-15 16:06:07 +00:00
Michael Meeks
08894f7c7d add native XTextSearch / cppunit test framework.
ported from the broken java ver.
adds a native ICU regex sanity test.
2012-11-12 11:46:07 +00:00
Stephan Bergmann
ed851f1316 fdo#55997: Work around slight offset causing sc_unoapi failure
...in sc.ScModelObj::com::sun::sheet::XDcoumentAuditing, where a call to
setFormula causes an arrow's getPosition to change Y coordinate by one.  This
workaround should be removed again when there is a fix for the root cause.

Change-Id: If58f6c0cdc692ce2a8da35aa4d35baefa15663a5
2012-10-15 15:02:07 +02:00