Commit Graph

43 Commits

Author SHA1 Message Date
Thomas Arnhold
6f135b0aa2 String to OUString
And removed nearly all xub_StrLen in starmath.

Some sal_uInt16 which were xub_StrLen before
9a0d753b84 are also converted to sal_Int32
where applicable.

Change-Id: I31d7794f4c7aa840545edff41a102b76bb39e042
Reviewed-on: https://gerrit.libreoffice.org/5817
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-05 08:13:04 +00:00
Rodolfo Ribeiro Gomes
ffc2e5be1f Clean zoom redundances in Math and fix fdo#55929
Zoom can be handled by sfx2 in many ways:
- 50%, 75%, 100%, 150%, 200%
- Optimal view (fit in window)
- Entire page
- Page width

The math module was doing the first two by itself. Remove it.

Strange enough, state methods for  zoom interface definitions on
sfx2's appslots.sdi were needed. I thought 'Container' property
in sfx.sdi should do the job. It seems to do nothing, though.
(The zoom should be disabled only if the object is an OLE/Container).

The Help-Ids from pop-up menu in Math/Formula were kept, because
they doesn't exist in sfx2.

Change-Id: Ie1ae413780551b34aa36b338f9a9df79a198319c
Reviewed-on: https://gerrit.libreoffice.org/4076
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-30 15:44:47 +00:00
Michael Meeks
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01: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
Luboš Luňák
531391239b remove unused variables
Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa
2013-02-09 18:48:31 +01:00
Caolán McNamara
b3edb24103 try to fix and reenable starmath unit tests
Change-Id: I4c2a1476ea6ae12fdebb8301b68eab8060bc86f8
2012-11-23 11:51:20 +00:00
Caolán McNamara
c17f51c74c The additional methods of SO2_*_REF over SV_*_REF are now unused
so they can now be replaced by SV_*_REF now

Change-Id: I2207d6582cab5f41851064f3d0c773e9421c0078
2012-11-14 10:11:32 +00:00
Stephan Bergmann
ced1151a1a Get rid of vcl::unohelper::GetMultiServiceFactory
...which effectively is just a glorious wrapper around
comphelper::getProcessServiceFactory.

In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the
rSMgr parameter to InitVCL.

All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work
fine.

Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-31 09:22:53 +01:00
Ivan Timofeev
0772bfc17a fix compilation and linking of starmath cppunit tests
... but the tests still crash and are disabled.

Change-Id: I5df66f21865cac98c38d4ef3684c562784e093b9
2012-10-25 10:10:35 +04:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Tim Hardeck
6484ccb4ed move zoomitem from svx to sfx2
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2.
This patch does base on Caolán McNamara's patch he sent to the mailing list.

Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15 13:38:56 +02:00
Luboš Luňák
90a91ed3e9 use string literal OUString overloads 2012-03-12 13:35:59 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Norbert Thiebaud
3d6592ae19 remove include o pch header from starmath 2011-11-27 13:23:17 -06:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Caolán McNamara
75082b5c6f enter and leave registrations to keep asserts happy 2011-06-13 14:05:42 +01:00
Caolán McNamara
454e1756a6 make this a non-leaky singleton 2011-05-23 12:35:54 +01:00
Tor Lillqvist
d1fbb3c57e Drop unneeded <windows.h> which actually causes a compilation error 2011-05-15 13:28:41 +03:00
David Tardon
95357d3144 reenable unit test 2011-04-24 12:00:35 +02:00
Fridrich Štrba
927f887b92 Wholesale prewin.h/postwin.h removal 2011-03-25 19:07:43 +01:00
Thomas Arnhold
cf1042902a Remove whitespaces from includes 2011-02-13 22:47:24 +01:00
Fridrich Štrba
dd09aade5a Removing the ext_std masterpiece 2011-02-09 20:23:35 +01:00
Tor Lillqvist
00ac0b3776 Adapt to move of prewin.h and postwin.h 2011-02-08 14:03:28 +02:00
Caolán McNamara
1839b19c9c fix warning 2011-01-11 14:33:33 +00:00
Caolán McNamara
9cd4346f88 disable the tests that may vary, depending on the systems printer 2010-12-21 21:10:57 +00:00
Caolán McNamara
524e73344a set licence text 2010-12-20 16:00:24 +00:00
Caolán McNamara
3d91eca0d2 cppcheck: always build these tests now 2010-12-20 14:44:56 +00:00
Caolán McNamara
a60eb8b2e1 make buildable under windows 2010-12-20 12:37:32 +00:00
Caolán McNamara
3f347fefc5 The change from List to vector changes order of error messages
Which IMO is probably a good thing as the first error is now
at the start, and the last at the end. Which is way more sane,
so change test rather than change code.
2010-12-20 12:37:04 +00:00
Caolán McNamara
c64ac5f980 cppunit: equivalent cppunit test for ViewShowAll 2010-12-10 12:32:16 +00:00
Caolán McNamara
11af030d9b cppunit: more zoom tests with standard view mode 2010-12-08 14:40:10 +00:00
Caolán McNamara
d69e5470ac setUp and tearDown are called on *every* test 2010-12-07 15:42:38 +00:00
Caolán McNamara
7841924821 cppunit: test zoom limits 2010-12-07 11:17:24 +00:00
Caolán McNamara
d77dcdc56b cppunit: add some more zoom tests 2010-12-07 11:12:13 +00:00
Caolán McNamara
914691ae9a cppunit: test optimal zoom 2010-12-06 21:26:08 +00:00
Caolán McNamara
e39e41ddc7 cppunit: rearrange tests somewhat 2010-12-01 21:01:13 +00:00
Caolán McNamara
d0959d93b5 cppunit: add a zoom test 2010-11-29 21:24:16 +00:00
Caolán McNamara
1df0455c57 cppunit: shrink these test-cases a bit 2010-11-29 21:03:42 +00:00
Caolán McNamara
3d9ff29a16 implement tmEditAllClipboard equivalent cppunit test 2010-11-29 16:48:58 +00:00
Caolán McNamara
b8cd33a494 equivalent tmEditMarker cppunit test 2010-11-29 16:15:15 +00:00
Caolán McNamara
d950ae6aa6 add a tmEditFailure test, better than the automation one 2010-11-10 21:20:30 +00:00
Caolán McNamara
2d8f58a1db rename this bit to tmEditUndoRedo 2010-11-10 16:17:58 +00:00
Caolán McNamara
4ba60ec9b4 cppunit equivalent to tmEditUndoRedo of testAutomation 2010-11-09 15:28:50 +00:00