summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-11-18fdo#75757 remove inheritance from std::vectorMichaël Lefèvre
For TextDoc, also removing ToolsList Change-Id: Id818f61f562317ce106414937253f1748a33315a Reviewed-on: https://gerrit.libreoffice.org/12454 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-18More iwyu suggested headers removalRiccardo Magliocchetti
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was detrimental to loplugin:unreffun Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
2014-11-18bin confusing commentDouglas Mencken
Change-Id: Idedad17ed2c89613a3f5caeea39f5c47c9856114 Reviewed-on: https://gerrit.libreoffice.org/12516 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-17Apply pimpl to Fraction.Kohei Yoshida
Change-Id: I60eb597a6374b807b2264af6d5841a42e9b1c0f3
2014-11-17Make these methods non-inline.Kohei Yoshida
Change-Id: I0b24e34dec6c452659b224b45a6849dafe708c3b
2014-11-18vcl: remove AnimViewList_impl typedef alsoChris Sherlock
Another typedef that destroys code readibility. I've removed AnimViewList_impl because it's just a vector of ImplAnimView pointers. Change-Id: I97e5867e1a7aeae575e45989ba7436867da9c808
2014-11-18vcl: remove AnimationBitmapList_impl typedefChris Sherlock
Severe overuse of typedefs makes baby Torvalds sad. :-) AnimationBitmapList_impl is just a typedef to a vector of AnimationBitmap pointers. It's used precisely once in the code - in animate.hxx. This just makes reading the code more difficult - too many layers of abstraction. Change-Id: If84892dc90220c7dfe8c071d629268efa226f069
2014-11-17salhelper: include-what-you-use cleanup of public headersMichael Stahl
Change-Id: Ie778e541cecadeefc5ee5f30af9577a00c870a58
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-17sal: remove pointless checking for __cplusplus in public C++ headersMichael Stahl
Change-Id: Ibbcdb4a3f46b7491396a1b1c7b4cdc1af05f30d3
2014-11-17fdo#85478 Avoid destroying bitmaps after VCL is shut downMatthew J. Francis
Change-Id: I1ece738e7f60b6bbbdc802339f8b9deec9396e1b Reviewed-on: https://gerrit.libreoffice.org/12469 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-17Simplify input parameters to just take the sequenceMatúš Kukan
Change-Id: Ic2538ca8b0f7261064e1dfbf3884dd452003c797
2014-11-17Add rtl::OUString::toUtf8()Miklos Vajna
There is rtl::OUStringToOString() already to do OUString to OString conversion using UTF-8 encoding on a best effort basis. However multiple modules have code where we assume that such a conversion is perfect. Add a new method that asserts such an expected success instead of duplicating it at multiple places. Change-Id: I0e55b53f558df82b67af6a463c8144655cf0ca74
2014-11-16coverity#1187864 Uninitialized scalar fieldCaolán McNamara
Change-Id: I80df95f70de515a0247827a89297cdfdf0399989
2014-11-16Remove now useless setTextEmbeddedGraphicURL()Zolnai Tamás
Since this commit: 286e2f5c6ec829bc0987b1be7016699f7ef03e5e it's not necessary to update the package URL. Change-Id: I25c829e9bc0c666838baf19cd60f19938ebb430c
2014-11-16callcatcher: update unused codeCaolán McNamara
pleasing cleanup of whacky ScRawToken::sbyteOffset, etc. Change-Id: I5ad97f8dab7c5dc9d5f0286bf606b619126c22c9
2014-11-16vcl: let the ModalDialog ctor take an OUStringMiklos Vajna
Change-Id: I839435338f4acf80c40896b6c86f7ef122f5449d
2014-11-16vcl: let the ModelessDialog ctor take an OUStringMiklos Vajna
Change-Id: Iae88a9889c674337fb999a23a799d8730d2793d5
2014-11-15vcl: let the Dialog ctor take an OUStringMiklos Vajna
To make the conversion in the TabDialog ctor unnecessary. Put conversions to other subclasses till they are properly adapted. Change-Id: I6152b6229ce9c840262739cf11812538c9e0a532
2014-11-15TabDialog ctor: take an OUStringMiklos Vajna
Change-Id: Ie390fb9debe3a80b3ebc5e609119723c78eadba2
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-14vcl: remove more unnecessary headers from mapmod.hxxMichael Stahl
Change-Id: I9ce4c11cc9e7e703fbaad76a062ad38bb900ed9a
2014-11-14vcl: move the Impl class of MapMode ...uhm... out of the public header?Michael Stahl
And remove the tools/fract.hxx include. grep -l -r fract.hxx workdir/Dep/*Object* |wc -l before: 4569 after: 1851 Shrinks some libraries, example from --enable-dbgutil Fedora gcc 4.8.3: libvcllo.so by 473k (0.35%) libswlo.so by ~1Mb (sadly that is just 0.2%) Change-Id: I09bd025d551a5d2c5528b938a68c6aa5f8f114a0
2014-11-13Realy->ReallyCaolán McNamara
that's really bugging me Change-Id: Id15bd4dc42748b3cb24eb891741195499c5df9c3
2014-11-13vcl: Use scissor or stencil for clipping in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Ib6620572391999d5f8124a1a8695909d6c48643d
2014-11-13vcl: Use single-buffer rendering and only flush when necessaryLouis-Francis Ratté-Boulianne
Change-Id: I832dd6f3647fbb423975fa928a5ec32447225e85
2014-11-12drop pool ver 1 import supportCaolán McNamara
this unloved streaming format is internal only now and used for editengine c&p and (reportedly) autotable format storage. So we shouldn't encounter version 1 files anymore coverity#1242764 Untrusted loop bound Change-Id: If8e5717e997cf915f45f6e9484bb97d472e4dc2f
2014-11-12make FastAttributeList's unknown attribute value be passed as OStringLuboš Luňák
Since that's how it's internally stored anyway, and I have a use case where it's useful to limit the length by passing it to OString ctor. Change-Id: I5903ea4f1b2cdb48c1bbceac6b8e21eb5882d377
2014-11-12allow inserting attributes that have zero lengthLuboš Luňák
Otherwise the strlen() might give an incorrect length if the attribute value is just a part of a longer string. Change-Id: I67eb7baecfa928fdee26c5ea9003bd7fc9b96d59
2014-11-12typo: represant->representAndras Timar
Change-Id: If783e9338644a97206d99864ed19807e5fb3882d
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12Clean up SvxFontHeightItem::SetPropStephan Bergmann
Change-Id: I6cc58745aaf7093e54f92b50201bf2a39fcc5619
2014-11-11fdo82708 Add missing tooltips to Writer StatusbarSamuel Mehrbrodt
Change-Id: Ie44b8de69b98ebfa789cc8f9a1d8a60b698fc154 Reviewed-on: https://gerrit.libreoffice.org/12368 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-11-11Fix SvxFontHeightItem::operator=Stephan Bergmann
...and remove thus unused SetHeightValue Change-Id: I9c8c18614233df6086ff23533e7e7129848f42ef
2014-11-11Revert "Some SvxFontHeightItem clean-up"Stephan Bergmann
This reverts commit d5f93eb47ec4c27e93ad908b0199790c702491a0, SvxFontHeightItem::SetProp was used to override "dummy" 100% nProp/ePropUnit values that did not match the computed nHeight value with nProp/ePropUnit values that are supposed to match the computed nHeight value. Yuck. Change-Id: Ic12e824054b3c5da7aca766b9b3eb076d1837d9a
2014-11-11Some SvxFontHeightItem clean-upStephan Bergmann
...and operator= shall probably copy rSize.ePropUnit... Change-Id: I112c02b3a3b2ce23f3d03f03881136e05be29017
2014-11-11Add a function to compare version number stringsTor Lillqvist
Change-Id: I88d3d9040f70e84752ade19001a699f60e9e7636
2014-11-11callcatcher: dropping SwChapterNumRules binary Load/Store has knock-on effectCaolán McNamara
Change-Id: I2567026af23dd5fc42812b90bd6098c4c74a4f92
2014-11-11xmloff: XML_DROPDOWN should be XML_DROP_DOWNMichael Stahl
Change-Id: I47247289bb4367faa9a07f3568270718b5423353
2014-11-11vcl: move OutputDevice::ImplDrawFrameDev() to WindowChris Sherlock
I have moved ImplDrawFrameDev() from OutputDevice to Window, because it deals with frames which is clearly the responsibility of the Window class, not the OutputDevice class which shouldn't really care about it at all. I've also renamed it to drawFrameDev() as it's a private function. Change-Id: I45fd50e8e34fe4a97730c3c857080e4e1ddb1c17 Reviewed-on: https://gerrit.libreoffice.org/12340 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-11-11fdo#84938: replace HELPMODE_ constants with enumNoel Grandin
Change-Id: I44be5567e84cdabd8b10771ea37e28b8a88cc23e Reviewed-on: https://gerrit.libreoffice.org/12333 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11vcl: make ImplDrawOutDevDirect a protected function in OutputDeviceChris Sherlock
Also renamed it to drawOutDevDirect. We're making it protected because I'm about to move ImplDrawFrameDev() from OutputDevice to Window, where it should be. Change-Id: I7a94304cdc48b858c057749532de66086eeb5020 Reviewed-on: https://gerrit.libreoffice.org/12339 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-11-11vcl: move OutputDevice::ImplGetFrameDev() to WindowChris Sherlock
ImplGetFrameDev() is for some unknown reason in OutputDevice, but it's most definitely something that's specific to Window. I've moved this, and also renamed it getFrameDev() as it's a private function. Change-Id: Iffb2c439bee8c29ee585a0d50cfd6fbcfc28c3bc Reviewed-on: https://gerrit.libreoffice.org/12338 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-11-11vcl: tabify include/vcl/window.hxxChris Sherlock
Change-Id: I2c45b3b125b758dd391376bf731d8b91c00a0a5d Reviewed-on: https://gerrit.libreoffice.org/12337 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-11-10vcl: cleanup the opengl selection API.Michael Meeks
Change-Id: Icebf3c7d2911b27e29d2259b780a04048b293b3c
2014-11-10vcl: add BitmapEx load from icon theme constructor.Michael Meeks
Change-Id: I3dbad69664b7417928a6be10ac561307dd94f67b
2014-11-10fix spelling implemenation -> implementationNoel Grandin
Change-Id: I5ac499df1f4063a80a5d41f60778106a7b96940d
2014-11-10callcatcher: unused codeCaolán McNamara
Change-Id: I2ead5d998c3b1b3cde1222fee6f072bf09ab0021
2014-11-10merge initial work on OpenGL vcl backendMarkus Mohrhard
The backend builds on Windows, Linux and OSX but still does not render everything perfectly. Based on this initial framework the remaining improvements can be made incrementally in master. Whether the OpenGL code or the normal code is used depends on the OpenGL configuration variable. It currently defaults to false. Additionally we check during runtime if the requirements for running the OpenGL backend are fulfilled.
2014-11-10never wonder if sun is not sunTakeshi Abe
By the way an item of the following page suggests the same snipet: <http://www.faqs.org/faqs/ui-builders/TeleUSE/> while I am not sure if it was the case. Change-Id: I9fb0ea0e872cb1697aa953a406527472f0cbccde Reviewed-on: https://gerrit.libreoffice.org/12330 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>