summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Resolves: tdf#79250 add typed list to form control listboxEike Rathke2017-02-101-0/+1
| | | | | | ... so numeric and text data can be distinguished input. Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
* Remove MinGW supportStephan Bergmann2017-02-1012-297/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Further modifications to FastAttributeIter:Mohammed Abdul Azeem2017-02-102-0/+10
| | | | | | | | | | 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>
* remove unused enumerators from PolyClipOpNoel Grandin2017-02-101-3/+1
| | | | Change-Id: I0988ebbbc5fe394eaa6fead0d2f909d4a931856c
* convert InsertOperation to scoped enumNoel Grandin2017-02-101-5/+4
| | | | | | and drop unused LINK enumerator Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416
* convert ConfigNameFormat to scoped enumNoel Grandin2017-02-101-5/+3
| | | | | | | | and drop unused constants CONFIG_NAME_PLAINTEXT_NAME CONFIG_NAME_FULL_PATH Change-Id: Ibf7e88da0ae54516cb863b8efa995201f2a95268
* convert EItem to scoped enumNoel Grandin2017-02-101-38/+33
| | | | | | | | | | | and drop read-only enumerators: enum EItem E_APEARCFG enum EItem E_FLTRCFG enum EItem E_FONTSUBSTCONFIG enum EItem E_LANGUAGEOPTIONS enum EItem E_SEARCHOPT Change-Id: Ie3baaecec3d1c30404b4fb0d948e25d4bb2f3f93
* convert SvtSaveOptions::EOption to scoped enumNoel Grandin2017-02-101-19/+16
| | | | | | | | and remove unused E_SAVEUNPACKED, E_USESHA1INODF12, E_USEBLOWFISHINODF12 enumerators Change-Id: I7c384e0c30af5091a22beeda1c77e4b71fdde55e
* convert SvtSecurityOptions::EOption to scoped enumNoel Grandin2017-02-101-17/+16
| | | | | | | | | and drop unused E_MACRO_DISABLE enumerator Change-Id: I0bd706d4d4e1d8b9004e68c9e77c11410c62a64a Reviewed-on: https://gerrit.libreoffice.org/34067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert SvtSysLocaleOptions::EOption to scoped enumNoel Grandin2017-02-101-5/+4
| | | | | | | | | and drop unused E_UILOCALE enumerator Change-Id: Ic9bdac91fab15af45e7dbd613e6e44b73b5cf9de Reviewed-on: https://gerrit.libreoffice.org/34066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert SearchParam::SearchType to scoped enumNoel Grandin2017-02-101-8/+5
| | | | | | | | | and drop unused SRCH_LEVDIST enumerator Change-Id: Ic5118757060656562e04dd7da24a3f143abec3fb Reviewed-on: https://gerrit.libreoffice.org/34065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert Orientation to scoped enumNoel Grandin2017-02-101-2/+2
| | | | | | | | | and drop unused enumerators Change-Id: I2f42f0f441cf9ce96338d40382acb6d75ea1e1a0 Reviewed-on: https://gerrit.libreoffice.org/34061 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#105672 framework managed menu buttonMaxim Monastirsky2017-02-092-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds a menu button that can use a popup menu controller to manage its menu. It supports 2 cases: - Use any controller that is registered in Controller.xcu, by specifing its .uno command. - Manage an arbitrary popup menu with MenuBarManager (assuming its items have proper .uno commands in their MenuItemData::aCommandStr). It means that a menu that was defined in a .ui file, can be used inside that .ui file without any additional code. This commit uses the new control to fix some currently non-working buttons in Calc's Notebookbar (but there are more that can be fixed the same way). It's not clear how long we will continue to use buttons (instead of toolboxes) for the Notebookbar, but hopefully this control will be useful in other places too. Change-Id: Ie00cde7cd7e39948948960ca2eff76e9db837109 Reviewed-on: https://gerrit.libreoffice.org/34103 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
* loplugin:unnecessaryoverrideStephan Bergmann2017-02-091-2/+0
| | | | Change-Id: I5b344a92f4d762517529fb43fb68e849a7c0a619
* Some clean upStephan Bergmann2017-02-091-3/+3
| | | | | | | | No more need to call sal_detail_log_report from sal_detail_log, now that it is called from SAL_DETAIL_LOG_STREAM since b3a11c8f4f307bbbb597c9c6e7e61ee93e794873 "tdf#91872: Make SAL_INFO and friends more efficient". Change-Id: Idb6cf7a4814abe29d5ba68591f39b4279267bc9b
* Fold sal_detail_log_backtrace into sal_detail_logStephan Bergmann2017-02-091-28/+22
| | | | | | | | | | ...the latter is LO-privately exported from sal, so it should be OK to add one more parameter to it. Change-Id: If6bf3458433aac2cc8b4e0cbd1602306051a777b Reviewed-on: https://gerrit.libreoffice.org/34080 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* xmloff: remove onDemandRescueUsefulDataFromTemporaryMichael Stahl2017-02-091-5/+0
| | | | | | | | This workaround, which is both complex and quite incomplete, should no longer be necessary because the fixes for tdf#103567 should also fix i#124143, see unit test in previous commit. Change-Id: I038f238d5e3cf5cadfc666196380b7b351543982
* convert PDFVersion to scoped enumNoel Grandin2017-02-091-2/+2
| | | | | | | Change-Id: I9920f4c9783eb23a41d135e5eacd12805c1b9c2b Reviewed-on: https://gerrit.libreoffice.org/34060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert DestAreaType to scoped enumNoel Grandin2017-02-092-6/+3
| | | | | | | | | and drop read-only enumerators Change-Id: Ibc4c2a99448a83fc179e2779f8f3e5c8f034ae7b Reviewed-on: https://gerrit.libreoffice.org/34059 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert PDFWriter::PageTransition to scoped enumNoel Grandin2017-02-091-3/+2
| | | | | | | | | and drop some read-only enumerators Change-Id: I96380efec90abe02fa02c3f766f2b6180723da0d Reviewed-on: https://gerrit.libreoffice.org/34058 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix SAL_DEBUG_BACKTRACEStephan Bergmann2017-02-091-3/+13
| | | | | ...after 56d071c10ca8016848f1f059aa3eb197fe928844 "rename SAL_DEBUG_TRACE to SAL_DEBUG_BACKTRACE" (looks like this doesn't get used much...)
* drop unused RSC_BYNAME defineCaolán McNamara2017-02-091-1/+0
| | | | Change-Id: If26e39fedc1687ceb08d3e8663f95f4d84b5c488
* convert BmpConversion to scoped enumNoel Grandin2017-02-092-13/+11
| | | | | | | | | | | | and drop unused 4BIT_TRANS and 1BIT_MATRIX enumerators Also fix a bug in x11::convertBitmapDepth where we were incorrectly passing BmpConversion enumeratirs to ReduceColors Change-Id: I903c6866750e46ee752e10a17c05fcaaf6b11242 Reviewed-on: https://gerrit.libreoffice.org/34062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Reapply "create ErrorHandlerFlags scoped enum for error handling flags""Noel Grandin2017-02-092-28/+39
| | | | | | | | | This effectively reverts commit 32cae6a2eaa41568888df9c8fc5605debd8d704a. Change-Id: I15bb0a5c4acaeee6d47dd93a71601d9687d701bc Reviewed-on: https://gerrit.libreoffice.org/34028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unusedenumconstants read-only constants in vcl (2)Noel Grandin2017-02-094-16/+11
| | | | | | | Change-Id: Ia3da23e0ef2fa710403745bd11255ed001516da4 Reviewed-on: https://gerrit.libreoffice.org/34020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* This is only used within vclKhaled Hosny2017-02-082-61/+1
| | | | Change-Id: I64d7e39506495e9fcc78bb670b897338a01a9ae1
* Move the typedef where it is usedKhaled Hosny2017-02-081-2/+0
| | | | Change-Id: I275e96ce3761b61b62748a1e75f1a7a88640e7cf
* ResId::SetAutoRelease now unusedCaolán McNamara2017-02-081-9/+0
| | | | Change-Id: Ieaee60607200973f8d725d19a9c63bdc2f230850
* replace localresource of strings and keys with StringArrayCaolán McNamara2017-02-081-2/+2
| | | | Change-Id: I4abce924a89f611c28d0441ae097b310193b5dae
* loplugin:unusedenumconstants read-only constants in vclNoel Grandin2017-02-087-116/+84
| | | | | | | Change-Id: I8c81444cbecdc103cc47d9a4133b0b4d9010e0c2 Reviewed-on: https://gerrit.libreoffice.org/34018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* drop unused error stringsCaolán McNamara2017-02-083-38/+3
| | | | | | | | | includes ERRCODE_SFXMSG_STYLEREPLACE which has the knock on effect that the flags argument can be removed from a bunch of methods Change-Id: I72b58bc2a19376bb4609e61aa44e71f734efb333
* tdf#105814 enable localization of "host" and "port" in sample addressesAndras Timar2017-02-081-0/+2
| | | | | | | Change-Id: I2e58f4757bd86393410cdc6fd77205a8ebb9b917 Reviewed-on: https://gerrit.libreoffice.org/34021 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Adding an iterator for fastattributes:Mohammed Abdul Azeem2017-02-081-0/+52
| | | | | | | | | | | This helps to avoid the expensive allocation and freeing of OUString at some places. Change-Id: I7d49974ce13799fcf62b989ce5d3c61b01316190 Reviewed-on: https://gerrit.libreoffice.org/34011 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* coverity#1400143 Missing move assignment operatorCaolán McNamara2017-02-081-181/+84
| | | | | | by using a vector and let the defaults kick in Change-Id: I84e6144ab4beeeb316ccb830e7be55e35d942062
* loplugin:unusedenumconstants read-only constants in xmloffNoel Grandin2017-02-081-1/+0
| | | | | | | Change-Id: I88afb3b4b3aa7d823c46062ead894561a66ac275 Reviewed-on: https://gerrit.libreoffice.org/33995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove unused SCHATTR_DIAGRAM_STYLENoel Grandin2017-02-081-23/+0
| | | | | | | | | and associated SvxChartStyleItem and SvxChartStyle Change-Id: I1564a4583125dd32af71e4eff338dfcefc6517c4 Reviewed-on: https://gerrit.libreoffice.org/33988 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Revert "remove ugly operator* in DynamicErrorInfo"Michael Stahl2017-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b5e3f8a5fa98a249ecd50021c33cf2a5c7a3b4fc. The problem is this: ==24217== Conditional jump or move depends on uninitialised value(s) ==24217== at 0x29A25FCE: SfxObjectShell::SetError(unsigned int, rtl::OUString const&) (objmisc.cxx:220) ==24217== by 0x29A35E6E: SfxObjectShell::ImportFrom(SfxMedium&, com::sun::star::uno::Reference<com::sun::star::text::XTextRange> const&) (objstor.cxx:2300) ==24217== by 0x29A3705C: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:765) ==24217== by 0x29A6BC48: SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (sfxbasemodel.cxx:1802) The commit is bogus because it introduces a DynamicErrorInfo::GetErrorCode(), which overloads ErrorInfo::GetErrorCode(), which is used at least in DynamicErrorInfo_Impl::RegisterEDcr() and used to return a constructor argument of DynamicErrorInfo but now returns pImpl->lErrId, which is what this statement is trying to initialize. Ultimately this causes my clang+ASAN build to fail because the uninitialized error code happens to be detected as a mere Warning: Test name: testMathMalformedXml::Import assertion failed - Expression: !xComponent.is() - loading succeeded: sw/qa/extras/ooxmlimport/data/math-malformed_xml.docx Change-Id: I9141144e0bc356ee54279948f2fce036d1831a86
* Revert "create ErrorHandlerFlags scoped enum for error handling flags"Michael Stahl2017-02-074-42/+32
| | | | | | This reverts commit 05e78bde26d8b8b257ed22a0ce20c5b386a629d1. Depends on the other commit that needs reverting
* remove CREATE_OSTRING macroJochen Nitschke2017-02-071-5/+0
| | | | | | | Change-Id: I7d5e1570918adc3b0cf2063d9735414233011a81 Reviewed-on: https://gerrit.libreoffice.org/34009 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#104870 - keep reference on the TitleBar while setting title.Michael Meeks2017-02-072-2/+2
| | | | | | | | | Unlikely to fix the issue, but may help. Change-Id: I3c319f550e86f2ab731b072d86d258dca12d34fa Reviewed-on: https://gerrit.libreoffice.org/33998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* convert resources containing strings to stringarray resourcesCaolán McNamara2017-02-071-3/+3
| | | | Change-Id: I61e815a9545f55a3b886322e7d2c0d50040584bd
* Related: tdf#105371 we can do this with a sizegroupCaolán McNamara2017-02-071-3/+0
| | | | Change-Id: Ie37a3d960ec244033f2b05e7a902c7a23ba9b94d
* revert unready stuffCaolán McNamara2017-02-071-3/+3
| | | | Change-Id: I2b112a17a2bc70bfe4d5a6af7964a3c1d7eacf9b
* convert resources containing strings to stringarray resourcesCaolán McNamara2017-02-071-3/+3
| | | | Change-Id: I8a306b417dcf533a148e34a6314e37589dcdda12
* there is no cnt (chaos) resource file anymoreCaolán McNamara2017-02-071-2/+0
| | | | Change-Id: I97f0606c6003ca12c651841ec26145728fc5c808
* create ErrorHandlerFlags scoped enum for error handling flagsNoel Grandin2017-02-074-32/+42
| | | | | | | Change-Id: I30c80979c87bad7bc98f36a158c31c88d80d1caf Reviewed-on: https://gerrit.libreoffice.org/33991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* uitest: provide a way to get a json representation of the ui infoMarkus Mohrhard2017-02-071-4/+4
| | | | | | | | | | This just provides the information that is also available through the getState method in a nicer way. Change-Id: Ib64f6ecd2c4e9c0a940f3f9607c9a777233e90d2 Reviewed-on: https://gerrit.libreoffice.org/33978 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* remove ugly operator* in DynamicErrorInfoNoel Grandin2017-02-071-1/+1
| | | | | | | | | | | I can see why you'd want to hide this horrible tunnelling of information with objects registering themselves in a global list. Urrgh. Change-Id: Ib151a0d2d5a4508dc456e52883e488ce56d9a095 Reviewed-on: https://gerrit.libreoffice.org/33984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove unused constant from SdrHintKindNoel Grandin2017-02-071-1/+0
| | | | | | | Change-Id: If48ac2b312e4363c7d6d426e315766105176114b Reviewed-on: https://gerrit.libreoffice.org/33985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove unused constant from SdrInsertReasonKind enumNoel Grandin2017-02-071-1/+0
| | | | | | | Change-Id: I29fda2c0124b438eb9a2926c6dfefa801c670a27 Reviewed-on: https://gerrit.libreoffice.org/33968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>