summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2016-08-31convert XmlReader::State to scoped enumNoel Grandin
Change-Id: I8020843ad238ac3487f7f2781693ca619db5e1b3
2016-08-30return const&Eike Rathke
Change-Id: Ia36a6c13dab4c6dbdcff45bfa432835296eec868
2016-08-30LanguageType is unsigned int16Eike Rathke
Change-Id: I5745fe2a54936e7a2585fe311522d71f08b97bfc
2016-08-30default dtors are fine hereCaolán McNamara
Change-Id: I503f954a2729aa2737d783ed8c72f62d8a68da4c
2016-08-30Translate some German comments and messagesMaarten Bosmans
Change-Id: Id15e1afd991f3476e260ba40a8c45c7261113577 Reviewed-on: https://gerrit.libreoffice.org/28493 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-08-30sc lok: implement getCommandValues(.uno:AcceptTrackedChanges) APIMiklos Vajna
Unlike in Writer, there doesn't seem to be an existing UNO API that can be reused here. Change-Id: I011a2f34d4d09ad604991637322ceadf6b2eb181 Reviewed-on: https://gerrit.libreoffice.org/28498 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-08-30loplugin:countusersofdefaultparamsNoel Grandin
Change-Id: I69f55593e6101906e0e97565f2cfc818852258dd Reviewed-on: https://gerrit.libreoffice.org/28486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-30Avoid UBSan "left shift of 65536 by 16 places cannot be represented...Stephan Bergmann
...in type 'int'" warning when constructing an XML_TOKEN_MAP_END instance, whose nPrefixKey is 0xffffU. Problem got introduced with 41b3fd8ca54eff7e71c69bb0b60e63016f1ac8c2 "Make SvXMLTokenMap compatible with FastTokens", the intent was presumably to make the shifted value of ( nPrefixKey + 1 ) << 16 be zero in that case. Change-Id: I0b83a03198a44e54077899e4484634286d06cdcc
2016-08-30Clarify what the error code actually isTor Lillqvist
Based on how LOK_CALLBACK_ERROR callbacks are actually done in desktop/source/lib/lokinteractionhandler.cxx. Change-Id: Ibbe37c681252aa91c979d51b9aae6236ff9d88de
2016-08-30Bin some noise commentsTor Lillqvist
Change-Id: I5815d8fe9a77c04ec73ac105decce3cc154487c5
2016-08-30Bin noise comment and superfluous newlineTor Lillqvist
Change-Id: I9094a0a21880e516bb65b1a324b6220bab0e27da
2016-08-30convert RECT_POINT to scoped enumNoel Grandin
Change-Id: I3f0304d69d5d638230b64135c73497192dc00cb3
2016-08-30convert SdrEdgeLineCode to scoped enumNoel Grandin
Change-Id: Ibf84608461234e1df4114f72d9057f5697c5e3a3
2016-08-30convert DbGridControl::NavigationBar::State to scoped enumNoel Grandin
and remove a nasty hack where we were passing around an extra constant (SID_FM_RECORD_UNDO) without actually adding it to the enum Change-Id: Ib79d0a4e2d1418797b01067529d500728e95bf7e
2016-08-30convert DbGridControl::Option to scoped enumNoel Grandin
Change-Id: I160fb53b585bb7eb04348dd208ec5c705d595279
2016-08-30convert ExpressionFunct to scoped enumNoel Grandin
and drop the trivial subset of it EnumFunc Change-Id: I9ee7de829121f04e97c167b133cdc78c5ffd0822
2016-08-30convert ActionDescriptionProvider::ActionType to scoped enumNoel Grandin
and remove an unused constant Change-Id: I8d46d16d3f575aa416bfc5a965986ee5dfb1f93c
2016-08-30convert DescriptionGenerator::PropertyType to scoped enumNoel Grandin
Change-Id: Id55ccb4bf0109f1bb6f870b38792e3454b567877
2016-08-30Let OUStringLiteral1 take its arg as ctor arg, not template argStephan Bergmann
...which makes it more flexible, can now also be used on non-const arguments. The drawback of the argument no longer being a compile-time constant is remedied by making the ctor constexpr. Change-Id: Ia4903a2cc86791fece92eac0cb8406b6659dd19d
2016-08-30tdf#99402: fix Metafile Font handlingMike Kaganski
1. For DEFAULT_CHARSET/OEM_CHARSET, use correct encoding based on LibreOffice Default Language for Documents setting (Tools->Options...->Language Settings->Languages). For that, two functions added to tencinfo.h, that map language names to corresponding Windows ANSI/OEM encodings. 2. If charset is DEFAULT_CHARSET/OEM_CHARSET for Symbol font, then always use RTL_TEXTENCODING_SYMBOL. Unit test is included. Change-Id: Ibff63e7a03dec42a9d2a74399936d6bc04f2ff1a Reviewed-on: https://gerrit.libreoffice.org/28322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-30Break test::setUpVcl into a test-setupvcl library of its ownStephan Bergmann
...so it can be gb_CppunitTest_use_library_objects-included in upcoming <https://gerrit.libreoffice.org/#/c/28322/> "tdf#99402: fix Metafile Font handling". Executable_pdf2xml.mk linked against test since b0da8f00a0d41f2b17639fcee4ed4956421e55c5 "Make pdf2xml usable at least from within buildenv again", but that seems unnecessary and would now cause problems when linking the pdf2xml executable on Linux, as the linker for whatever reason wouldn't find the libtest-setupvcl.so referenced from libtest.so, even though the latter has a proper DT_RPATH. Change-Id: Iba5d80266520ce1f5dafedffa520d18e853f7ec5 Reviewed-on: https://gerrit.libreoffice.org/28473 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29name it Hungarian Rovas, tdf#97406 follow-upEike Rathke
Change-Id: I62d5a503b199922b82e7cec3e0ef971bbbd43d09
2016-08-29Remove duplication of "set up VCL" codeStephan Bergmann
The "this is called from pyuno" version in test/source/bootstrapfixture.cxx had had an empty deinitHook, but it appears to not hurt to give it the same deinitHook as the version in test/source/vclbootstrapprotector.cxx had had. Make test::setUpVcl accessible from outside module test for an upcoming use in <https://gerrit.libreoffice.org/#/c/28322/16> "tdf#99402: fix Metafile Font handling". Change-Id: I1d609445690b6ee5e331aa322cd4bf434a3de78e
2016-08-29tdf#83830: Use samecontentlistbox in Header/Footer PanelSusobhan Ghosh
Change-Id: Ib24f6e6ac91859467f105c4db9b094454443ff9d Reviewed-on: https://gerrit.libreoffice.org/28218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-08-29Make OUStringLiteral1 a wrapper around UTF-16 instead of just ASCIIStephan Bergmann
...not merely an ASCII character Change-Id: Id2b381b35fe3a15574728ed973d60263dfef7249 Reviewed-on: https://gerrit.libreoffice.org/28446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29Support ConstCharArrayDetector also for UTF-16 arraysStephan Bergmann
The long-term benefit will be support of C++11 char16_t string literals (for cases of string literals with non-ASCII content) once we drop any compilers that don't support those yet. The short-term benefit is support for an improved OUStringLiteral1 that accepts any sal_Unicode value, not just ASCII ones (see next commit). Change-Id: I3f8f6697d7eb62b5176b7e812b5a5113c53b83a4 Reviewed-on: https://gerrit.libreoffice.org/28445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29OUString construction from OUStringLiteral1 must not be overruled by...Stephan Bergmann
...Except[Const]CharArrayDetector, under RTL_STRING_UNITTEST Change-Id: Ib185fb8406c4afcff1c854a2b74dae02a0ee2b3f Reviewed-on: https://gerrit.libreoffice.org/28444 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29Add SAL_INFOs to dump the SwPageFrame lifecycleJan-Marek Glogowski
Debug area name is "sw.pageframe". Change-Id: I136cc8192137a8c682900a6ce2c557f6b6b3a6cd
2016-08-29coverity#1371317 avoid unnecessary copiesCaolán McNamara
and coverity#1371211 Change-Id: I65e277c4af70a86f1513749de4eb116d929e858f Reviewed-on: https://gerrit.libreoffice.org/28448 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-08-29cid#1371230 Missing move assignment operatorNoel Grandin
Change-Id: Ia58dda7eaadf6a91b7af67e011a6f44a4e7a3c0b
2016-08-29Emit notification to a LibreOfficeKit client also when a redline is modifiedTor Lillqvist
Work in progress, not all modifications to a redline record cause notifications yet. Change-Id: I01614cd6ede9576e9cc329889fef86342567325f
2016-08-29cid#1371168 Missing move assignment operatorNoel Grandin
Change-Id: I986b94df4aa8158f3e0623ab6cb392c178a820ce
2016-08-29cid#1371235 Missing move assignment operatorNoel Grandin
Change-Id: If5fc8d783211a131711b5961d6b076c24dd64412
2016-08-29cid#1371170 Missing move assignment operatorNoel Grandin
Change-Id: Iaf02d5bd3090190b6b9ad15a884d3f0444983297
2016-08-29cid#1371176 Missing move assignment operatorNoel Grandin
Change-Id: I57df53df6933e1945fabc0e4a7f0e1c5815aeaca
2016-08-29cid#1371144 Missing move assignment operatorNoel Grandin
Change-Id: Ice8c22324700d51b86696fc3df140bb9f84973cb
2016-08-29cid#1371163 Missing move assignment operatorNoel Grandin
Change-Id: Ie050cfae965adf7bc43c91f366904cf6876783c0
2016-08-29cid#1371173 Missing move assignment operatorNoel Grandin
Change-Id: Idf179403426d9714fa73d0c3370a6debc30a0431
2016-08-29cid#1371154 Missing move assignment operatorNoel Grandin
Change-Id: If434a0ee5c97018777646c96f52ddded46ce0337
2016-08-29cid#1371171 Missing move assignment operatorNoel Grandin
Change-Id: I3150428f130823cdb1584e30c54f5591896214cf
2016-08-29cid#1371160 Missing move assignment operatorNoel Grandin
Change-Id: Ifcddd08cd1ec6bfb7679ee0433524c4bd68803dd
2016-08-29cid#1371253 Missing move assignment operatorNoel Grandin
Change-Id: Ic95894569380927da5dbd9aba4844f17bbbf25f6
2016-08-29cid#1371241 Missing move assignment operatorNoel Grandin
Change-Id: Ic914ac2ed5fb48cf340f2e54d074ee64e202225e
2016-08-29cid#1371256 Missing move assignment operatorNoel Grandin
Change-Id: Idf50c8f56e1d409fbd1306ee0fec20360bf99c86
2016-08-29cid#1371188 Missing move assignment operatorNoel Grandin
Change-Id: I775db6b3c9db0847184f12fad778a1fc3fcd92eb
2016-08-29cid#1371206 Missing move assignment operatorNoel Grandin
Change-Id: Ide97adea0bc0611dac676df923796d031d6752e5
2016-08-29cid#1371226 Missing move assignment operatorNoel Grandin
Change-Id: I915b24d8f546f156b85ad18ad0418903fa3ce1ba
2016-08-29cid#1371209 Missing move assignment operatorNoel Grandin
Change-Id: Ib383d2a12ac13a78f4ecf6817379ebbe0dc83194
2016-08-29make the SfxObjectShellLock inline code a little more readableNoel Grandin
Change-Id: Ia312f3bf588c7987ee6956ab2675e73b7d9db6a4
2016-08-29cid#1371187 Missing move assignment operatorNoel Grandin
Change-Id: Ib0b51a029adcb0b703aa975b6c5fc02a8b21ed63