summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-10-07loplugin:staticmethods: swStephan Bergmann12-18/+19
Change-Id: I2b06eb926ebc8ab04883da3272ea239a12e09436
2016-10-07loplugin:staticmethods: vclStephan Bergmann20-31/+33
Change-Id: I9a563100400375cd185729282b3e4f1ff3a44151
2016-10-07loplugin:staticmethods: xmloffStephan Bergmann5-8/+8
Change-Id: Iad001ce011cd6aff4af9bb2e9129abee7fb935dc
2016-10-07loplugin:staticmethods: xmlreaderStephan Bergmann1-1/+1
Change-Id: Ibb345883350019a6623dbeb9ab437482f2b2923a
2016-10-07we don't need the code, but we need the images in the src fileCaolán McNamara8-66/+29
apparently so they can be found at postprocess time and inserted into the image zips for the use of the pngs by other consumers Change-Id: Ib45834da69462109fdf7502176a6f4721057d980
2016-10-07merge copies of flushing code togetherCaolán McNamara1-33/+27
and give it descriptive name cause it confused me as to what it did Change-Id: I37b761ab917a75c8364db9c3f7b4896c2dd217bc
2016-10-07might as well rearrange these flushes to all look the sameCaolán McNamara1-2/+2
no logic change intended Change-Id: I0f2552ad604d83eea46822aba137cc780c3be60a
2016-10-07for 0 len arg, the source might as well be nullptr for these flushing casesCaolán McNamara1-4/+3
Change-Id: I59a3c04d0cbeb92cd0d9348c2ed0cf65cb5683d4
2016-10-07i18nlangtag: fix loplugin:cppunitassertequals warningsMiklos Vajna1-227/+227
Change-Id: I2f7134c8308b68c0a01c83d7f1427d18ec7b164a Reviewed-on: https://gerrit.libreoffice.org/29584 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-07Revert "SidebarResource doesn't do anything useful"Caolán McNamara8-30/+223
This reverts commit e9886d32923e5fa3995f44701f27148f59df5c0f.
2016-10-07loplugin:nullptr: remove duplicate warningsStephan Bergmann1-5/+18
Change-Id: I859d9ac8f7e4134bdac59b39e95eb563d1291e8b
2016-10-07might as well go back to a std::stack nowCaolán McNamara2-81/+3
after... commit 8daf6707ef203b26a744140f74d7cd231a25f0dd Author: Michael Stahl <mstahl@redhat.com> Date: Thu Oct 6 23:37:51 2016 +0200 xmloff: fix crash in ~XMLParaContext on fdo72541-1.fodt Change-Id: I57f10e60a2f76dde048a594d8391bb5b246dfc63
2016-10-07loplugin:staticaccessTor Lillqvist1-1/+1
Change-Id: I392855967480a70712551f73c9481a8d540d2068
2016-10-07loplugin:defaultparamsTor Lillqvist1-2/+2
Change-Id: I2bf415d8565c5b290ae2d62d321de58360f79612
2016-10-07tdf#102997 Fix Error in OOXML Transparency Conversion Mathlbenes3-2/+2
This fixes the import logic for tdf#100830 to handle transparencies other than 50%. Change-Id: If4e2e369a9674488878bb0a4378d48292ea4e0cb Reviewed-on: https://gerrit.libreoffice.org/29581 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-07tdf#39256: Fix "Orientation treated as Escapement"Mike Kaganski1-4/+1
This fixes #5 issue of abovementioned bugzilla entry. As LO font doesn't support individual rotation of characters, now we simply ignore lfOrientation (as MS Word does). Change-Id: I36fd05f8e27f768ea690527360434df29e1d843f Reviewed-on: https://gerrit.libreoffice.org/28684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-07loplugin:nullptrTor Lillqvist1-1/+1
Change-Id: I67fae694a27c68c37e1f687ceaee9ff19db0ce55
2016-10-07starmath: Simplify code with std::unique_ptrTakeshi Abe1-20/+12
Change-Id: I2f6f993b92ae7f2f89b2d9d6c89b51d827226a3d Reviewed-on: https://gerrit.libreoffice.org/29554 Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp> Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-10-06xmloff: fix crash in ~XMLParaContext on fdo72541-1.fodtMichael Stahl1-0/+4
Change-Id: I3310699020bfea085eb62c50a7d5de25af51c1b1
2016-10-06Updated coreGabor Kelemen1-0/+0
Project: help 298738d4bdfd00f9e73d53d4821d740fab494a90 test-hid-vs-ui: Fix references to UI elements From source/text/shared/01/05280000.xhp, referenced items ['slantx', 'slanty'] were not found inside svx/uiconfig/ui/dockingfontwork.ui. Change-Id: Ie45282d59f51427e79a334e7d62588ac3bc62ac7 Reviewed-on: https://gerrit.libreoffice.org/29569 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-10-06Updated coreGabor Kelemen1-0/+0
Project: help 5e1ffc32d24ea75aa762a8b8c2b9f2b8ada0fa0e This ahelp path should not start with hid/ Change-Id: Ia36807f1d233b94e6c191ce8434ebd26cb8cbd76 Reviewed-on: https://gerrit.libreoffice.org/29562 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-10-07Base SvxLineWindow_Impl on ToolbarPopupMaxim Monastirsky6-61/+25
Change-Id: I93dbb180fc65bca77e0eb58f116d0a0a5266556a
2016-10-06tdf#102776 : fixed Notebookbar hidingSzymon Kłos1-6/+10
Change-Id: I86cdf2aa9fd5167073da215f5baf50bb4f64f4dd Reviewed-on: https://gerrit.libreoffice.org/29579 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-10-06rtl::math::approxEqual(value,0.0) never yields true for value!=0.0Eike Rathke16-35/+35
... so replace with a simple value == 0.0 also in other modules than sc. Change-Id: Ie7316505a1cf9c15100114b45d300facceb03b7e Reviewed-on: https://gerrit.libreoffice.org/29575 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-06tdf#95845 Use CommandInfoProviderMaxim Monastirsky3-46/+5
Change-Id: Ief823dd19bc1c56a4acf380bfec8d35bdb20ad96
2016-10-06We pass the controller anyway, so get the frame from itMaxim Monastirsky7-50/+39
Change-Id: Idd8fc19b24f4d55cd0f836761d5f155b9310c3ca
2016-10-06Fontwork controls should not allow tearoffMaxim Monastirsky1-2/+2
Change-Id: I243d29779247a8ebf622e989161d90a8b343704e
2016-10-06Just use a referenceMaxim Monastirsky1-7/+6
Change-Id: Ie070591ca92f8ab74c738bcf6a86b94329ab8b88
2016-10-06SidebarResource doesn't do anything usefulCaolán McNamara8-223/+30
Change-Id: Id716c9f9caa1a1e4f8ae0e7e05837bebdec4335a
2016-10-06no ValueSetWithTextControls are loaded from src filesCaolán McNamara2-23/+3
Change-Id: If19daf643a9dfcebe57d5d4860f1f4282b39e5fa
2016-10-06drop ResId from exampleCaolán McNamara1-1/+1
Change-Id: I55719033e6d130673b208b58305e8062031a0a47
2016-10-06de-src RID_JUMP_TO_SPEC_PAGE and RID_PVIEW_ZOOM_LBCaolán McNamara3-39/+14
Change-Id: Ideb8eff9d89dbc207dcf7d1228070b2e4a954723
2016-10-06drop unused HID_JUMP_TO_SPEC_PAGE hidCaolán McNamara2-3/+0
Change-Id: I746787eb0a4d961a00372bf40dc1bb98e8ef3607
2016-10-06Resolves: tdf#76836 use text format only for text contentEike Rathke4-37/+13
Numeric content is not to be formatted with the text format. Entering a value in such formatted cell still forces it to text content as usual and then it is displayed using the text format. The previous behavior displaying also numeric content using the text format was always wrong and neither Excel nor Gnumeric do it. A numeric content is displayed left aligned though, which also Excel does. Change-Id: I3038123b2bfdc4669a8f73840742da92a1df895d
2016-10-06Extrusion controls should not allow tearoffMaxim Monastirsky1-5/+4
Change-Id: Ie4e2b42d3f261ded4f2c8778e6a099103d7d3663
2016-10-06LOK: Calc: page-up/down - cursor moves far more than a pageMarco Cecchetti4-2/+29
Change-Id: I1253044f26553dab08bc2a38c706f634e9377c86 Reviewed-on: https://gerrit.libreoffice.org/29578 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2016-10-06rtl::math::approxEqual(value,0.0) never yields true for value!=0.0Eike Rathke2-6/+6
... so replace with a simple value == 0.0 Change-Id: I66bb05517467ff6f5e08852024ef6e067e6d6883 Reviewed-on: https://gerrit.libreoffice.org/29570 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-06tdf#101813 sw,sfx2: enable inserting master document as sectionMichael Stahl4-10/+16
Traditionally only ordinary com.sun.star.text.TextDocument could be inserted as a section but then commit 3da8f3680556e0163f660a0a159930337c8c32ff unintentionally enabled inserting everything, including master documents (com.sun.star.text.GlobalDocument). I'm really not sure if this should be allowed or not but apparently somebody finds it useful so here we add some crude hacks to enable it (to be reverted in case it causes trouble). (regression? from 805fd1ca343d6295b8114a24cc29bdac332f266d) Change-Id: I439b2516fcbe54977ff04e487a920acd38c27152
2016-10-06remove approxEqual() from OpenCLEike Rathke2-22/+6
It's only use was approxEqual(value,0.0) which doesn't yield true for any other value than 0.0, so replace with value==0.0 Change-Id: I9f4f496c94c2a24e934a1d33c070a070e4f2e1c6 Reviewed-on: https://gerrit.libreoffice.org/29576 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-10-06coverity#1373441 Side effect in assertionCaolán McNamara1-10/+20
Change-Id: I10a8298e5379fa93a5d3616202a7802c0eda1cbb
2016-10-06drop loading Colors from src filesCaolán McNamara5-60/+0
Change-Id: I43f2fda133371a1284a53beeeb774552210c7e3f
2016-10-06loplugin:fpcomparison: also look into member functionsStephan Bergmann1-1/+220
By accident, the plugin had only looked into non-member functions until now. However, for the vast majority of newly found cases, it is unclear to me whether the relevant code needs fixing or not, so I put all those into a giant whitelist for now. Maybe the plugin's sginal/noise ration just isn't worth it, anyway. Change-Id: I7997a0ebdb4211af208285611656a40ead97d935
2016-10-06Simplify AstExpression::compareStephan Bergmann3-31/+4
...to only work with LONG values, as it is only used to compare enumerator values. (But keep its general defensive-programming air that's so prevalent across the idlc code base; not sure whether it could rightfully be tightened, or whether this might be needed in parser's error recovery.) Change-Id: I15f1700834f9397f3c2e0ffdb00e2abeecb734f9
2016-10-06CPPUNIT_ASSERT[_DOUBLES]_EQUALStephan Bergmann5-43/+63
Change-Id: I417cea926abcc511e74a090ee90a851c138ac0c0
2016-10-06drop unused STD_MASKCOLOR definesCaolán McNamara4-13/+0
Change-Id: I9e6d499788467e5215464cf8f5146721b847909c
2016-10-06coverity#1373513 Uninitialized scalar fieldCaolán McNamara1-2/+0
Change-Id: Id035cb04c0cd7879d7075b7c1bcd0359564f2f0b
2016-10-06I can't see any evidence of any remaining magenta mask using image resourcesCaolán McNamara40-396/+92
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
2016-10-06Add FIXMETor Lillqvist1-0/+3
I just can't even. Change-Id: Iab3572847bcbe63cb3c19bb027c8a6388c90fd59
2016-10-06Add FIXME comment about the OpenCL approxEqual() we defineTor Lillqvist1-0/+6
Note that the OpenCL approxEqual() is used only in the implementation of the RATE function, which is not in the trusted subset anyway, so that won't actually be used. Change-Id: Ide30921b1e1f48abb68b5dc64bc2da2fa802038b
2016-10-06Undo bogus changes to OpenCL code in 3e22dfa5eb1ccebdc719a671d23bde7ccab256fbTor Lillqvist2-14/+14
Change-Id: Ieb6e6555f79c8030672a58a23248a2a5e7f8e09d