Commit Graph

4749 Commits

Author SHA1 Message Date
0d44e98d6a Variadic cppu::WeakImplHelper
Change-Id: Ia02a7c94ca282f28fa3c191dd65a71b6bf031792
2015-01-07 12:20:54 +01:00
306f048303 fdo#84938: convert COMPRESSMODE_ #defines to 'enum class'
Change-Id: Ica501fc73e7e5f9dbd30dd9da3f337b2dc7e6f02
2015-01-07 12:53:39 +02:00
7f8f277b94 fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07 11:20:44 +02:00
8db77209e0 remove unused FEATUREFLAG_ #defines
Change-Id: Ie0a4daef3b4cd728be7e8a7be5455b919ff8fdf9
2015-01-07 11:20:44 +02:00
8aa3cb98ad fdo#84938: convert VCL_INPUT_ #defines to 'enum class'
Change-Id: I155e45f58974a2b946c4a7703b350bcbfbad342e
2015-01-07 11:20:43 +02:00
fa52e20906 remove dead MOUSE_ definitions
the active definitions are in event.hxx

Change-Id: I2025a64623b036a897277d1fa0ccee4235600a88
2015-01-07 11:20:43 +02:00
079590c909 fdo#84938: convert INDICATOR_ #defines to 'enum class'
and replace SalIndicatorState, it serves the same purpose

Change-Id: I618b8946b8e2527883eecb13060b2256abc505b6
2015-01-07 11:20:43 +02:00
e197bcc628 -Werror,-Winconsistent-missing-override
Change-Id: I403feb52e491700dfb99e86817b983cbfd7aca45
2015-01-07 09:53:58 +01:00
85ce7c0ac6 Factor out XFillBitmapItem::dumpAsXml() from sw
Change-Id: Ice3a44635a1f4ac2c2852c2e73adae4920412d3a
2015-01-07 09:46:53 +01:00
1f4fd70495 fdo#85818: rename 'Zins' enum name, constant, function to Rate
Rename OcZins to OcRate, SC_OPCODE_ZINS to SC_OPCODE_RATE,
ScInterpreter::ScZins() to ScInterpreter::ScRate()

(partial fix for fdo#85818, more constants remain to be renamed)

Change-Id: Icd5d0df14f2583da7ebd0308dc660abd07f326a4
Reviewed-on: https://gerrit.libreoffice.org/13777
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-01-07 02:35:22 +00:00
a989d6f5bd LOK: add LibreOfficeKitCallbackType enumeration
Change-Id: I0147b1985f87f25e70f4d8672beba18fdd9ba6c2
2015-01-06 20:55:25 +01:00
aa827f5fde lok::Document: add registerCallback()
So that LOK clients can invoke the new
vcl::ITiledRenderable::registerCallback().

Change-Id: I6d9974acbd7fb5eea217c88f963e6ebb10343078
2015-01-06 20:55:24 +01:00
0137974abd vcl: add OutputDevice::LogicInvalidate()
This way subclasses may know when and what is invalidated.

Change-Id: Ie4aa843fcf45b2643b24ca49534627fbf43afd94
2015-01-06 20:55:24 +01:00
bea2ade915 vcl::ITiledRenderable: add registerCallback()
This can be overriden in applications, if they need a callback.

Change-Id: I0441e48afbbfd63a96d47c5cf837e6635ce72aff
2015-01-06 20:55:24 +01:00
e2883ca86f Resolves: fdo#82219 color graphics as black and white
i.e. revert

commit bb5c7d6a79309236d4f19bb2498f2e850f735a2f
Date:   Sun Apr 13 01:42:27 2014 +1000

    fdo#38844 Reduce XOR clipping for gradients

    Removed XOR clipping version of ClipAndDrawGradientMetafile. Because it
    has been removed, the other version isn't really needed in it's own
    function so I've moved it back into DrawGradient.

    Change-Id: Ib1519a019061c8c71183db63e5c11681bcad4cc4

Change-Id: Iff1cb48cb8fa6d29937cf228a57aea9e8072110c
2015-01-06 16:59:41 +00:00
0bea1d80d1 vcl: reset OpenGLContext(s) when yielding the last SolarMutex.
This should make OpenGL thread-safe to allow multiple threads to
render using VCL's OpenGL backend, and fix misc. associated driver
horrors, will give some performance cost for tight Yield loops.

Change-Id: Ib23702262fd9f0925a5ed8c642d0a26e92136b37
2015-01-06 16:13:30 +00:00
6123d6a9fb android: Add initializeForRendering to LOK
Change-Id: Ibf4721bf4358ef215efde09ef688b2551604bfa2
2015-01-07 00:02:47 +09:00
7cc8e0c302 boost::math::nextafter->std::nextafter
Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
2015-01-06 09:17:13 +00:00
abe670157b fdo#84938: convert CTRL_STATE_ #defines to 'enum class'
Change-Id: I1451180d258315a310a048b27510b4b58fa9145c
2015-01-06 10:59:43 +02:00
a48d8465c3 fdo#84938: convert SELENG_ #defines to 'enum class'
Change-Id: I200fc00958984577ced6d2df87c8e9647b43c809
2015-01-06 10:59:42 +02:00
64cccf36f2 fdo#84938: convert SEF_EXPORT_ #defines to 'enum class'
Change-Id: I7165d0f1b6b4af4de5e5b39a21f36d726a1b0e30
2015-01-06 10:59:42 +02:00
8447eeb192 fdo#84938: convert ERROR_ #defines to 'enum class'
Change-Id: Ie76bac6b91a9faa4f9ff7dbdf2b455ea9016cf72
2015-01-06 10:59:42 +02:00
c29657e0d6 fdo#84938: convert EXPORT_ #defines to 'enum class'
Change-Id: I2ed239fa073b5fa8fb56c1af9d4b0bac89acfacf
2015-01-06 10:59:42 +02:00
ec5bf66d36 fdo#84938: convert XML_EXPORT_FLAG_ to 'enum class'
Change-Id: I43d778e0eee19a56ea37898ec1c4309d3407775e
2015-01-06 10:59:41 +02:00
dc28e90d20 fdo#84938: convert IMPORT_ constants to 'enum class'
Change-Id: Idaa8f07c62b3ba93c27ca5fe286720254baac10d
2015-01-06 10:59:41 +02:00
465356ecc8 remove unused #defines
Change-Id: Ia56012ec795da47a2b6c2482289b698793703918
2015-01-06 10:59:41 +02:00
d1ce6effb6 fdo#84938: convert TEXT_PROP_MAP #defines to 'enum class'
Change-Id: Ia8c5913c60e3d509a906965d813c8d1380396dc6
2015-01-06 10:59:40 +02:00
bae855e667 fdo#84938: replace BUTTONTYPE_ constants with 'enum class'
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
2015-01-06 10:59:40 +02:00
de7a5eb44f Factor out XFillColorItem::dumpAsXml() from sw
Change-Id: Idc4c3e00c748fa94f233f2fc5e7c7e9de3a31a22
2015-01-06 09:07:18 +01:00
02266c33f2 I assume this class is not public due to an oversight
Change-Id: If43e49dc05ad213cbbf6363dfa68a7a93959582f
2015-01-05 18:59:07 +01:00
2eb4bd3c8c Factor out XFillStyleItem::dumpAsXml() from sw
Change-Id: I04aed56c1e32f98f8920530e3ba313765baa1bba
2015-01-05 18:56:53 +01:00
682f94317f These extern "C" functions are in the global namespace
Change-Id: I75bdb9ac71a3d36eeaf0b846e25d22a0aa923895
2015-01-05 17:46:09 +01:00
c662bf350f Mark function declarations as CPPU_DLLPUBLIC, not only definitions
<http://msdn.microsoft.com/en-us/library/8fskxacy.aspx> "Importing into an
Application Using __declspec(dllimport)":  "Using __declspec(dllimport) is
optional on function declarations, but the compiler produces more efficient code
if you use this keyword."

Change-Id: I149306049987b2406622d7a0dc5dde92d283a5b3
2015-01-05 17:25:50 +01:00
8130714148 fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2015-01-05 12:57:18 +02:00
b5b5aa6fa3 Translated German comments
Change-Id: I4be56ff8a8a006894e764620e8572568b1a63a3f
Reviewed-on: https://gerrit.libreoffice.org/13732
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-04 20:46:01 +00:00
dfeb898b53 boost::unordered_set->std::unordered_set
Change-Id: I0a8ecc3aa26ffc56f216a6a0e078e158b03a4a02
2015-01-04 18:48:41 +00:00
c8597274c3 merge OpCodeEnum and OpCode
and replace ifdef hackery with an explicit underlying type

Change-Id: Ibd340cf28d022af545a82e98e623d4c137ff7e53
2015-01-04 14:47:18 +00:00
5badba2028 A bit of cleanup.
Change-Id: Ia7c5cf07dba7f65ee65dab67a0a32975c8026dce
2015-01-04 02:15:05 +01:00
5f363ce8bc changes sidebar: Use images instead of texts for types of changes in Writer.
This is a Writer-only change because:

1) Calc does not have the changes sidebar yet.

2) The redlines in Calc have more complex descriptions (like 'Deleted
   column'), so postponing that for now until I have a good list of the
   possible values there so that I can ask for the icons.

Change-Id: I2d9860261d0b690012c3c11cdd97a140f48842bf
2015-01-04 02:15:04 +01:00
a7052b906d fdo#83058 File corrupt due to data label position is invalid in chart.xml
- File getting corrupted after RT due to data label position is invalid in chart.xml
- LO must not export invalid label position property if chart type doesn't support that positioning in MS Office.
- For clusterd bar chart XML Difference
chart1.xml
Original file
<c:barChart>
  <c:grouping val="clustered" />
  <c:ser>
      <c:dLbls>
         ...
        <c:dLbl>
            <c:dLblPos val="outEnd" />
        </c:dLbl>
         ...
      </c:dLbls>
  </c:ser>
</c:barChart>

Roundtrip file
<c:barChart>
  <c:grouping val="clustered" />
  <c:ser>
      <c:dLbls>
         ...
        <c:dLbl>
            <c:dLblPos val="r" />
        </c:dLbl>
         ...
      </c:dLbls>
  </c:ser>
</c:barChart>

Change-Id: I9cae11b8d198aaa70fb05cb3bf329cd898519170
Reviewed-on: https://gerrit.libreoffice.org/11141
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2015-01-03 00:53:47 +00:00
d0466ade3f oox: fix gcc-4.8 build
Change-Id: I2ca3bf8f842c4ba4b2777f81547a20502510fcc9
2015-01-02 21:30:14 +01:00
3a2b1af87d Fix simple typos.
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599
Reviewed-on: https://gerrit.libreoffice.org/13719
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-01-02 20:23:51 +00:00
fd1372ba8b boost::unordered_map->std::unordered_map
you can get debug stl this way

Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02 16:14:36 +00:00
f8922b67a4 Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2015-01-02 14:22:21 +01:00
5f1fc3d547 de-resource SFX_PB_EDIT
Change-Id: Ia8002d76443dee819b57779df5213707bd52f890
2015-01-01 12:37:46 +00:00
53f51e32ea drop unused defines
Change-Id: Ib3966118e5dde496f294c7ee224f4651a6192388
2014-12-31 18:10:53 +00:00
190196b98f Date/Time no longer loaded from rsc files
Change-Id: Ia9ed86b0d96cac76c2e1639065a4ac594c2966b1
2014-12-31 18:10:52 +00:00
959bcd564b various other apparently unnecessary rsc stuff
Change-Id: I745695a92023e7a14ee547ca6bef5981dd329d19
2014-12-31 18:10:52 +00:00
756fe1b298 drop dateformatter resource loading
Change-Id: Ie94c7502b0a82ca406b8d76e18def7bab8233a00
2014-12-31 18:10:51 +00:00
d21d606236 drop timeformatter resource loading
Change-Id: I11de468ab65aa4dec761fbcc1e9416528c332dd5
2014-12-31 18:10:51 +00:00