10315 Commits

Author SHA1 Message Date
Noel Grandin
b17af4fa9b remove unused PREVIEW from SfxObjectCreateMode enum
Change-Id: Idf930f768c978ac8aa53527f6ddb8864d0fdec1d
2017-02-15 08:33:37 +02:00
Noel Grandin
1342a8a4f2 drop unused SwChildWindowMailmerge from SfxShellFeature enum
Change-Id: Ica64d75986877bc0b2fc3bafb092457396fb8e27
2017-02-15 08:33:37 +02:00
Noel Grandin
fac166ab23 remove unused BOTTOM from RenderAlign enum
Change-Id: Ifdef59d0a3c6e5d030a1b34f6157331208e071ea
2017-02-15 08:33:37 +02:00
Noel Grandin
e48f0084df remove unused AccessibilityChanged from SfxHintId enum
Change-Id: Ic2d413002466e92d38a7a918b3f7e04d3c9eebf2
2017-02-15 08:33:37 +02:00
Noel Grandin
e1c4dbdbe1 convert SvxIconChoiceCtrlTextMode to scoped enum
and drop unused DontKnow enumerator

Change-Id: Ida06ae702e45d489765f970bbbdab6d762293c6c
2017-02-15 08:33:37 +02:00
Noel Grandin
89c24a380a convert SvxIconChoiceCtrlPositionMode to scoped enum
and drop unused AutoAdjust enumerator

Change-Id: Ie900f89241947cb93a16f0223071846fecfef09c
2017-02-15 08:33:37 +02:00
Maxim Monastirsky
cdf4b2bba8 Related: tdf#105672 Load toolbar properties from .ui
- Supports toolbar-style, icon-size, orientation.
- Defaults are:
    toolbar-style = icons only
    icon-size = what's set in Tools > Options... for Sidebar/Notebookbar
    orientation = horizontal
- Remove no longer needed BigToolBox (use toolbar-style=both + icon-size=3 instead).

Change-Id: I185388255a351dfd6719a363b7e399bf36b0b25d
Reviewed-on: https://gerrit.libreoffice.org/34281
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-15 00:19:45 +00:00
Tor Lillqvist
1d171331cd Bin unneeded forward declarations
Change-Id: Ic1224311fbab77c7bb21a502dfa4af9506ddfd75
2017-02-14 21:21:29 +02:00
Tor Lillqvist
3f5392c196 Add operator<< to output values of type enum class ExpressionFunct
For debugging output.

Change-Id: Ic2cd0dfc76eaa5814e718bd1e254427c334d6fab
2017-02-14 17:52:49 +02:00
Tor Lillqvist
183a7fc3ca Clean up some whitespace and comment craziness
Change-Id: Id8d5173729a3e290e3d43ea67a6a9d06f244c409
2017-02-14 17:36:41 +02:00
Tor Lillqvist
1a50702c69 Bin unused forward declarations
Change-Id: I5c55c79157d7e14067fc3a3823412b1af5b15d92
2017-02-14 17:36:41 +02:00
Noel Grandin
2074acd6e3 remove unused Border from RulerIndentStyle enum
Change-Id: If8d5acdf48278adeb4974c46c8e777e8792ba743
2017-02-14 14:22:24 +02:00
Noel Grandin
52305b6620 convert SvParserState to scoped enum
and drop unused WAITFORDATA enumerator

Change-Id: I658802d88a19dcc2d378456375810454e7426447
2017-02-14 14:22:24 +02:00
Noel Grandin
5a5940858e drop unused LIST from SvTreeAccRoleType enum
Change-Id: I378dea43b0c08675419a5399e5999c34441497fe
2017-02-14 14:22:24 +02:00
Noel Grandin
a42554c36c remove unused Video from SgaObjKind enum
Change-Id: I10c712f7be1247055f7bd28b25fdd6950da9d50b
2017-02-14 14:22:24 +02:00
Noel Grandin
712b5e0b69 remove unused IMPORT_INET from GalleryGraphicImportRet enum
Change-Id: I658ac9675b993bdea46296833f715947056ed9b7
2017-02-14 14:22:24 +02:00
Noel Grandin
2b2cd4b06e convert SvxPrevLineSpace to scoped enum
Change-Id: I5903169e1d7728a2f1e547efdff82a75e8d7b6a7
2017-02-14 14:22:24 +02:00
Noel Grandin
6abc4f4d86 drop CTL_STYLE enum
since we only ever use the Rect value

Change-Id: I020f5c126a8703e07cea5739b53e4b9529a1a575
2017-02-14 14:22:24 +02:00
Noel Grandin
dbab6f1dd3 remove unused MoveAll from SvxRuler::UpdateType enum
Change-Id: I50fd4bc869d1713f496def49e7a3e967efcb5911
2017-02-14 14:22:24 +02:00
Noel Grandin
5e422f01b6 remove unused StartSelection from SvxTableController::TblAction enum
Change-Id: Ic965cb6df890b08083530c5da8d9e217b6f699ed
2017-02-14 14:22:24 +02:00
Eike Rathke
838fab822c Resolves: tdf#79250 add typed list to form control listbox
... so numeric and text data can be distinguished input.

Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-14 11:49:35 +01:00
Noel Grandin
8c00536d87 Convert WindowType to scoped enum
Change-Id: I85cfe02f28729e13f2c0dd3d91cd89e6f3e3b6a9
Reviewed-on: https://gerrit.libreoffice.org/34219
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 10:44:08 +00:00
Noel Grandin
b0a23c4c35 remove unused BreakedLine enumerator from SdrMeasureTextVPos
Change-Id: I28cf3d36c1427b382aea1925d2dd94ace0d2a443
Reviewed-on: https://gerrit.libreoffice.org/34204
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 08:09:24 +00:00
Noel Grandin
36bd6f9a61 remove unused Invalid enumerator from ShapeProperty enum
Change-Id: I27f1d50cc67210ca976fd97beb9dc71b975ac98d
Reviewed-on: https://gerrit.libreoffice.org/34240
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 08:01:24 +00:00
Noel Grandin
2b70fb58be Use o3tl::strong_int on RESOURCE_TYPE
Change-Id: I42690c07a611e031963ff41942f530af4a5c672a
Reviewed-on: https://gerrit.libreoffice.org/34220
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 07:31:08 +00:00
Noel Grandin
ed8773a201 remove unused Outline enumerator from SelectionAnalyzer::ViewType enum
Change-Id: I256318046b10f6a75542d5cbf4560bb99a6dfff6
Reviewed-on: https://gerrit.libreoffice.org/34239
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 07:13:24 +00:00
Noel Grandin
251decd320 remove unused BrkAction enumerator from SdrEventKind
Change-Id: I46c50bbbad5d269b7f15e041db115fa7f37a8168
Reviewed-on: https://gerrit.libreoffice.org/34205
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 07:13:10 +00:00
Noel Grandin
8593cd238c remove unused ValueSetWithTextControl::ControlType enum
since we only ever use the TextText enumerator

Change-Id: Idfb96ad6ea3461e886439df33695be2d8dcebef9
Reviewed-on: https://gerrit.libreoffice.org/34211
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 06:00:14 +00:00
Noel Grandin
93837254b7 remove unused GlueDeselected enumerator from SdrHdlKind enum
Change-Id: Ie55ca0fd04bd7cc9c781faca6ebbf642518b2194
Reviewed-on: https://gerrit.libreoffice.org/34210
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 06:00:07 +00:00
Noel Grandin
df49f966fa remove unused ModelSaved enumerator from SdrHintKind enum
Change-Id: I0a236705efdcbc5f44cad8517f7f8f80d326934d
Reviewed-on: https://gerrit.libreoffice.org/34209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 06:00:04 +00:00
Noel Grandin
45090bee25 remove unused Handles enumerator from DefaultType enum
Change-Id: Iabda70ec3bc3204d5d383bcb93e174d90e405620
Reviewed-on: https://gerrit.libreoffice.org/34208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 06:00:02 +00:00
Noel Grandin
9778a2c9d0 remove unused Copy enumerator from SdrUserCallType enum
Change-Id: I72f5ab1e903de96389fd7b085f9ebd76c26cf926
Reviewed-on: https://gerrit.libreoffice.org/34207
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 05:59:59 +00:00
Noel Grandin
da817770df drop unused Streaming enumerator from SdrInsertReasonKind enum
Change-Id: Ia186fd54a8e1165a3bae5266f1248881e3057d83
Reviewed-on: https://gerrit.libreoffice.org/34206
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14 05:59:55 +00:00
Noel Grandin
e2e76df7e4 create strong_int template and use it in tools::UniqueIndex
an experiment to see how useful a strong_int template works out

Change-Id: Ib77700350f0fa3b018a1926233adf7a40d728d16
Reviewed-on: https://gerrit.libreoffice.org/34072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-13 09:38:13 +00:00
Andrea Gelmini
417bc89880 Fix typos
Change-Id: Iaf6bbe81f519d49b82f624282d786c8cc18d641c
Reviewed-on: https://gerrit.libreoffice.org/34199
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-13 09:37:18 +00:00
Noel Grandin
b8d977c017 convert CharCompressType to scoped enum
and move it to svl, where it belongs

Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
2017-02-13 08:17:42 +02:00
Maxim Monastirsky
81d4fbc0da tdf#42029 Use a floating toolbar to show clipped items
Change-Id: I6b366f115258ef8497807163179d3e08ab3d5e6f
Reviewed-on: https://gerrit.libreoffice.org/34180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-12 21:56:29 +00:00
Julien Nabet
9732bf2d0d Typo: (trans)fomat->(trans)format
Change-Id: Id2e3024c149b14d40e58f8534946a514ededfcfc
Reviewed-on: https://gerrit.libreoffice.org/34158
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-12 17:09:43 +00:00
Tamás Zolnai
49d7bdea17 ChartDumpTest: A new chart test suite for a more sistematic testing
A hibrid of dumper tests (xmlDump) and simple CppUnit tests.
Advantages:
* Easy to add a new test case
** Add a new test file and generate the reference
** Similar to dumper tests
* Easy to find out the root of the problem when test fails
** Assertion is not coming somewhere from an XML file
** Assertion are placed in the code, so if you read and
understand that code, you can find out easier why the test fails.
** Similar to simple CppUnit tests.
* One test checks only one smaller part of the whole document
** e.g. legend, chart data, grid

Change-Id: I7bba5a37efcc62d6358c84acece91963243a914f
Reviewed-on: https://gerrit.libreoffice.org/34154
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-02-12 16:43:06 +00:00
Tor Lillqvist
6d15d4a6f6 Get rid of "unicodes" in lower-case, too
Instead, use "code points" (if you mean full 21-bit Unicode code
points), or "code units" (if you mean the 16-bit units that make up
UTF-16). Hopefully I got it right which one was meant in each case
here.

Change-Id: I8ee7a98996f1cebcfb95cd7d18a56570e48fa390
2017-02-12 12:57:32 +02:00
Julien Nabet
2b21ac16c2 Various typos on accessible
Change-Id: Id28a4a2cbbcec10a7cc9cb40ad208d575352039b
Reviewed-on: https://gerrit.libreoffice.org/34161
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-12 07:43:23 +00:00
Stephan Bergmann
e1e261fef3 Remove dead #ifdef _UWINAPI_
...a macro originally introduced with 173db4f242e55172bef92ef78f9d28a4ffc7f204
"#91296# UWINAPI wrapper added", missed by
1f357a5f03401bbc0138eb73807534f59d647121 "Clean out cruft from systools and
especially uwinapi"

Change-Id: Ide3f83d6ea45f4821adb4043ae2a814762d4fafd
Reviewed-on: https://gerrit.libreoffice.org/34152
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-11 18:15:36 +00:00
Khaled Hosny
72a311533a LigaturesEnabled flag is never set
Change-Id: Id4a4631ff7c69aa01deddd2b88626ff83fd5e7b1
Reviewed-on: https://gerrit.libreoffice.org/34151
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-02-11 17:12:20 +00:00
Stephan Bergmann
99839ca138 Remove comment that is no longer accurate/relevant
...after e16fa715c43dcdf836ce8c400b6d54eae87b627d "Handle wchar_t as native
C++11 type on windows"

Change-Id: I8005a48a43f1baba3c04c11ff52d26d756f25204
2017-02-11 13:05:54 +01:00
Eike Rathke
d3293c7173 Revert "Resolves: tdf#79250 add typed list to form control listbox"
This reverts commit e387b69967aabc44d5da5aaad8d94191437dc57c.

It breaks toolkit.subsequentcheck with
propertyChangeListener wasn´t called for ´TypedItemList´

Back to the drawing board for the twisted property logic of forms and
toolkit uno control models.
2017-02-11 01:19:37 +01:00
Eike Rathke
e387b69967 Resolves: tdf#79250 add typed list to form control listbox
... so numeric and text data can be distinguished input.

Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-10 20:58:52 +01:00
Stephan Bergmann
8646ab97dc Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW.  Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux.  That attempt can be considered abandoned, and
the relevant code rotting.

Due to this heritage, there are now three kinds of MinGW-specific code in LO:

* Code from the original OOo native Windows effort that is no longer relevant
  for the LO cross-compilation effort, but has never been removed properly.

* Code from the original OOo native Windows effort that is re-purposed for the
  LO cross-compilation effort.

* Code that has been added specifially for the LO cross-compilation effort.

All three kinds of code are removed.

(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)

Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 18:01:27 +00:00
Mohammed Abdul Azeem
32c0ab80aa Further modifications to FastAttributeIter:
attempt to further reduce unnecessary allocation and
freeing of OUString.

Change-Id: I85169cfcd2311a5e6a96dc0292ce0686d1b0e43d
Reviewed-on: https://gerrit.libreoffice.org/34092
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-10 11:34:03 +00:00
Noel Grandin
486d636a4d remove unused enumerators from PolyClipOp
Change-Id: I0988ebbbc5fe394eaa6fead0d2f909d4a931856c
2017-02-10 08:08:45 +02:00
Noel Grandin
d198a8221d convert InsertOperation to scoped enum
and drop unused LINK enumerator

Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416
2017-02-10 08:08:45 +02:00