summaryrefslogtreecommitdiffstats
path: root/basic
Commit message (Collapse)AuthorAgeFilesLines
* fdo#82577: Handle FontNoel Grandin2014-09-181-1/+1
| | | | | | | Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
* Clean up StorageMode parameter of SotStorage::OpenSotStorageStephan Bergmann2014-09-151-3/+3
| | | | | | | ...which was only used to transport either STORAGE_TRANSACTED or sal_False (i.e., 0, meaning "not STORAGE_TRANSACTED"). Change-Id: I25a894262bbefdb6c0634309bccfb1e56dad7d88
* SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin2014-09-068-15/+14
| | | | | | | | | | Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* fdo#52076 remove Library dir when no libraryLionel Elie Mamane2014-09-041-6/+11
| | | | | | | | | when saving to same storage (in place) we already did that when empty "Standard" was the only library, but not when there was no library... Cannot get through that state in through UI, but possible through scripting. Change-Id: I0f1129e034ac31b3eaf6bd388a03aee5aae5b87e
* detect if Standard is only library to *save*Lionel Elie Mamane2014-09-041-1/+1
| | | | | | as opposed to only library at all Change-Id: I23bebfe7d156e1f4a60bc5f265a3cf9d295f3e4a
* add const qualifierLionel Elie Mamane2014-09-041-1/+1
| | | | Change-Id: I88d61668b465e505cfa245dd17893828aaaecaa8
* convert SBX flag bits to type-safe enumNoel Grandin2014-08-2616-54/+56
| | | | | | | Change-Id: I18d5d6a27f06ee60a5cb3dc393bf05b51bba4817 Reviewed-on: https://gerrit.libreoffice.org/11070 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Remove some useless tools/debug.hxx includesMarcos Paulo de Souza2014-08-225-0/+5
| | | | | | | | | | Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* Revert "Simplify ImplRepository::impl_getLocationForModel return type"Stephan Bergmann2014-08-221-4/+4
| | | | | | This reverts commit 72305ed49d4c9ba968d7bf6d8d5ae564bb92147d, which was bogus, cf. the comment in ImplRepository::getDocumentBasicManager about recursive calls.
* Remove BasicManagerCleanerStephan Bergmann2014-08-221-18/+4
| | | | Change-Id: I55eccc6367cf3255af05c075631945f47417d682
* Simplify ImplRepository::impl_getLocationForModel return typeStephan Bergmann2014-08-221-4/+4
| | | | Change-Id: I937f96457347195ed18ddcdc75b1106840f0522e
* Remove trivial typedef, to make code more obviousStephan Bergmann2014-08-221-9/+8
| | | | Change-Id: I70017a5c6f9403520ee79e9d0864352eb1c8e100
* coverity#1202729 - ensure we have exactly a one dimensional array.Michael Meeks2014-08-211-0/+1
| | | | Change-Id: I6db8a2fb48ed7ce134a5c45c590c2ada0e19fc85
* drop unnecessary shl.hxx includesCaolán McNamara2014-08-182-2/+0
| | | | Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
* coverity#1231668 Unchecked return valueCaolán McNamara2014-08-172-3/+3
| | | | Change-Id: Ia7e47b5d42e9a488b3952f12d607b3f17661c44d
* update_pchThomas Arnhold2014-08-131-1/+2
| | | | Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
* -Werror,-Wundefined-bool-conversionStephan Bergmann2014-08-114-9/+9
| | | | Change-Id: I81edff750eab6bbeef75fbd1a5fcca0f01379daa
* typo: more then -> more thanTakeshi Abe2014-08-011-1/+1
| | | | Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
* basic: -Werror=sign-compareMichael Stahl2014-07-291-1/+3
| | | | Change-Id: I7c776faa74a61b0d263c3b446972da9461b3d4f6
* fdo#46037: remove unused comphelper/configurationhelper.hxxAlexandre Vicenzi2014-07-291-1/+0
| | | | | | | Change-Id: I66f9d2912202ba1393d0c65189f8a945bca4fcaa Reviewed-on: https://gerrit.libreoffice.org/10603 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* convert linked list to std::vector in SbxDimArrayNoel Grandin2014-07-291-61/+40
| | | | | | | Change-Id: I2640cfe1f9606d992f622b99ff3c607555771e23 Reviewed-on: https://gerrit.libreoffice.org/10298 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* fdo#52076 remove empty library instead of writing it out emptyLionel Elie Mamane2014-07-241-1/+5
| | | | | | | Change-Id: Id4fd8c4f34e8ed07044eb428049731c4b9b694ca Reviewed-on: https://gerrit.libreoffice.org/10507 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
* Drop unused #includesTakeshi Abe2014-07-242-7/+0
| | | | Change-Id: I77ca957204bacee95e32a7f2a54c9311002aeef9
* Drop an unused functionTakeshi Abe2014-07-182-21/+0
| | | | Change-Id: I59eb46f9d57e9fd72ed86c972685be93d154e3c7
* fdo#75757: remove inheritance to std::vectorTakeshi Abe2014-07-172-33/+21
| | | | | | | | | ... which was introduced at 2110397670695991b3a5cd28a15ba0ffd2a3a611. Change-Id: If0f634b29e1891574267edf8cc07b24d07a9406c Reviewed-on: https://gerrit.libreoffice.org/10363 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Renamed brdcst.[hc]xx to SfxBroadcaster.[hc]xxTobias Lippert2014-07-174-4/+4
| | | | | | | | | | - Remove includes from files where they are not needed. - Update pch files Change-Id: I0188e3934ef429008c1ef495ab1d5b27f38664d5 Reviewed-on: https://gerrit.libreoffice.org/10342 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-07-163-15/+15
| | | | Change-Id: Icecc2cce52d7f27c030270639e6b85877e3aa620
* new loplugin: externalandnotdefinedNoel Grandin2014-07-117-27/+51
| | | | | | | | Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
* DBG_ASSERT->assert when followed by dereferenceCaolán McNamara2014-07-061-2/+2
| | | | Change-Id: I9390228721df1b713d8cf2e719854b74d6b639c8
* coverity#706241 Uncaught exceptionCaolán McNamara2014-07-032-9/+31
| | | | | | | we've already checked to see if the element exists, so we know that its not there. Change-Id: I538c0d48a883d478e4c748d222b21958d083c049
* coverity#706240 Uncaught exceptionCaolán McNamara2014-07-011-11/+17
| | | | Change-Id: Ie31f5e1ff74ff8b9f35d7ce08e1f02a780375890
* coverity#735397 dead codeNorbert Thiebaud2014-07-011-5/+1
| | | | Change-Id: If8d82a39af7a506f42b6c13d8408ffc479b564e7
* clang scan-build: various warningsCaolán McNamara2014-07-011-2/+2
| | | | Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
* loplugin:unreffun: also warn about redundant redeclarationsStephan Bergmann2014-06-272-3/+0
| | | | Change-Id: I9a812220b58cf6da00d854e65794f7c673ab239d
* clang: Dead initializationCaolán McNamara2014-06-261-2/+1
| | | | Change-Id: Ieae5303e55f21044ef8e91e63c4896696cfad51c
* clang: Returning null referenceCaolán McNamara2014-06-261-3/+5
| | | | Change-Id: I2cfc14e73696a027283dfa5eef98f784505dc5a3
* clang: Uninitialized argument valueCaolán McNamara2014-06-261-6/+4
| | | | Change-Id: Id65c5815185cf022171e3523c6ad92545830104c
* Remove this weird inheritance from smart-pointer-wrapped class.Kohei Yoshida2014-06-251-114/+122
| | | | | | SbxVarEntry is now its own class. Change-Id: I5c5ce1990fa83930acced1d507f5b0de60bf221e
* Use boost::optional to store alias name.Kohei Yoshida2014-06-252-32/+23
| | | | Change-Id: I809b21ea156061a265c0d83d58534df10bc273bc
* pData -> mpVarEntries.Kohei Yoshida2014-06-251-43/+43
| | | | | | pData is a nightmare with grepping as it's too generic of a name. Change-Id: I01b3f1b503f21ee13c97733fa66804874a2cddc4
* Remove this class that only derives from std::vector and not much else.Kohei Yoshida2014-06-251-24/+12
| | | | Change-Id: Ibc584f4148cec49a9ac34a240cc2fa3e87daf443
* fixes for up-casting to Reference<XInterface>Noel Grandin2014-06-253-7/+8
| | | | | | | | | Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* basic: silence expected SAL_WARN outputMiklos Vajna2014-06-192-3/+3
| | | | | | | | | These were HACK() and DbgOut() messages previously, none of these ended up on stderr. It seems that they are more or less harmless, so as long as nobody fixes them, silence them, so more useful warnings are not hidden when one does e.g. xray on a drawinglayer shape. Change-Id: I7343d93d2916d9978852418aca725d027eb09128
* coverity#1210096 Uncaught exceptionCaolán McNamara2014-06-171-5/+11
| | | | Change-Id: I1d06c7a6a61556c2b501a16c224ccc6fe52307d0
* coverity#1210098 Uncaught exceptionCaolán McNamara2014-06-171-5/+12
| | | | Change-Id: I531891fa1cce10a331dd651ee9ce52d1f8d0c169
* improve the inlinesimplememberfunctions clang pluginNoel Grandin2014-06-175-21/+1
| | | | Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
* loplugin:staticcallStephan Bergmann2014-06-1310-31/+31
| | | | Change-Id: I6cd46964c523c9393e9d249fdb43aaa38679fa06
* coverity#1213486 Uncaught exceptionCaolán McNamara2014-06-131-10/+18
| | | | Change-Id: Ia4d919d88bf22168aa770ad35fd8360b0b155efe
* iprevent violation of exception specMarkus Mohrhard2014-06-101-1/+6
| | | | Change-Id: I1f638ae3a2e88e0cadaab0046ef087fe77e16b06
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-097-25/+2
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b