summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-21offapi: spurious #endifMichael Stahl
Change-Id: I9bfd69ee3edbfdb2e69af72843ef169aae1696e1
2013-12-20prepare to accept loext:contextual-spacing, fdo#58112Eike Rathke
Change-Id: I58e151743bf910b8b51f1b453e0bfcb4ed767d9d (cherry picked from commit ef5e7b69440baa9f222d1ec870668d31d08268f0)
2013-12-20Put all these back in...Kohei Yoshida
Change-Id: If2168a57e0c77cf7fe85d66a6c6fd6a810d45035 (cherry picked from commit f2a3848bee3f3deeb9dde43de51737cbdde84018)
2013-12-20Call Yield() to unblock the main thread when refreshing.Kohei Yoshida
Also, we don't seem to need this solar mutex locking and checking for needs repaint flag here anymore, and not having these make the streaming much faster esp on Windows. Change-Id: I6e8ae82e5d986492ac576d28f11e2afffe954bc2 (cherry picked from commit c3bd435387ffbc6ae3c5a4861ac419d0a7092807)
2013-12-20fdo#72204 RTF import: fix crash on rotated, but not imported groupshapeMiklos Vajna
In case the groupshape contains textboxes and they contain table, we don't import the groupshape itself, just the children, as drawinglayer rectangles wouldn't handle tables. If that's the case, don't try to apply properties on the groupshape, as that would crash (the Writer drawpage implements XShapes, but not the XShape interface). Change-Id: Ie34039170314b772dd050eb354681cfaec61c1fa (cherry picked from commit 3e199f81473d1f85a75238ac03d38a220f3ab818)
2013-12-20prepare to read loext:vertical-justify, fdo#72922Eike Rathke
Change-Id: I56d72d5cb8ea95aa63d4659899cba2f295ce9bea (cherry picked from commit 11a73705d9dd10ebefa2bcdefa560f55e7024a1b)
2013-12-20Resolves: fdo#72682 text field doesn't horizontally expandCaolán McNamara
Change-Id: I3d12d0b376c9c0488d12df8f9d3fe76b1c00a437 (cherry picked from commit 674aeac88ffa1840f2d6a7f33656193aaebc9a0c)
2013-12-20Resolves: #i121943# apply patch for PenWidth attributeJürgen Schmidt
Patch By: hanya Review By: jsc (cherry picked from commit 91e3fca93d3a0b51e8f1ea87df902d928a7005ca) Conflicts: offapi/com/sun/star/presentation/XSlideShowController.idl Change-Id: I3709ee605efc4b5b80e293eb34245c9eb0d018cc (cherry picked from commit 842cb0da2ec72bafbd16fd50e5d780285227e452)
2013-12-20added bool bForExport parameter to XMLPropertySetMapper ctorEike Rathke
Set to true for export, false for import. If export true, an XMLPropertyMapEntry with mbImportOnly==true is not added to the mappings. This to be able to have more than one mappings for import (for example a current extension namespace and the future namespace proposed to the ODF-TC, or corrected typos in element or attribute names), but map only to one entry on export, of course. Change-Id: Ia01ea949c88eda2f8a6c10f51c59e35e7abdcaf3 (cherry picked from commit ebc1b2fe50c7ed1002ed8431410b8e2ac6e795b9)
2013-12-20prepared XMLPropertyMapEntry with mbImportOnly flagEike Rathke
Change-Id: Id5a54a591a42c836884af1fd09dc055f2fce6db5 (cherry picked from commit 9dd7ee88bd9835ae2bae36093100fcd651fd3aeb)
2013-12-20just beautify this a littleEike Rathke
Change-Id: Ibd7da12d88ec8e965f652499f7e7e32f81bd8ccc (cherry picked from commit 44b4973fbd0f190906f36321b31215d80b363d52)
2013-12-20reordered member variables for 4 byte alignmentEike Rathke
Change-Id: Iaae7689d1ed3c74e261fcc90fa88b5521468e376 (cherry picked from commit dd902b8e256867b5d5fed06b52995f14d969f67d)
2013-12-19Backport Calc's data stream massive cleanup effort.Kohei Yoshida
Change-Id: Ifbeb7c2d90d87a7cffe9a752f9e8b4910d55fcd9
2013-12-19fdo#71946: LibreOfficeWin32.conf: add --enable-ia2Michael Stahl
Change-Id: Ib086f7e2d8537584306cb8ca174d03422cea6505
2013-12-19fixed crash when invoking sort on an empty sheet's entire column, fdo#72874Eike Rathke
Change-Id: Ifc4a08069a42ca18a056c509575a4080094aa07e (cherry picked from commit efb0412eda9eb33e45b27d9d7d6cc94e4211a82c)
2013-12-19odbc DBMetaData: NULL pattern equivalent to "%", not "%foo"Lionel Elie Mamane
Change-Id: Ief475a1bf6e65b4786e8ee9c025b204f143a30e0 Reviewed-on: https://gerrit.libreoffice.org/7079 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-19Revert "fdo#72163 after updating m_xComposer, command facets are not dirty"Lionel Elie Mamane
This reverts commit 938f0e7fe4216d135815b98fdb918f97e747c6bd. This caused too many bugs to be cleaned up this late in the 4.2 development cycle: - unittest failure; fixed only for the unittested driver. (commit 917f9576349240796dfc0cef0f38c9b861c316e7 Issue of RowSet and Statement each thinking they own the ResultSet, and both calling dispose on it... After this revert, will not happen because RowSet will never generate two ResultSets from the same Statement.) Still needs fixing for all other drivers... Not realistic in timeframe for 4.2.0. - fdo#72696 - fdo#72463 The following commit still keeps fdo#72163 fixed. commit 5bfdb6cd5f80f87c5bc6b0bccdad5aad00a45ba3 fdo#72163 belts and suspenders Change-Id: Ieb8c8cf1ce9b681b644f34b74a2c6929b3bc300b Reviewed-on: https://gerrit.libreoffice.org/7093 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-19SvxTextEditSourceImpl::Notify(): attempt to fix chart2_unoapi crashMichael Stahl
Apparently SvxTextEditSourceImpl::mpView is not properly invalidated when the instance it points to is deleted; the SvxTextEditSourceImpl is registered as listener so try to handle this in Notify(); not sure if there isn't something that ought to have cleaned this up... Crash running with SAL_FORCE_IACCESSIBLE2=1: svxcorelo.dll!SdrPaintView::FindPaintWindow(const OutputDevice & rOut) Line 70 svxcorelo.dll!SvxTextEditSourceImpl::GetVisArea() Line 923 svxcorelo.dll!SvxTextEditSource::GetVisArea() Line 1113 svxlo.dll!accessibility::AccessibleTextHelper_Impl::UpdateVisibleChildren(bool bBroadcastEvents) Line 868 svxlo.dll!accessibility::AccessibleTextHelper_Impl::ProcessQueue() Line 1376 svxlo.dll!accessibility::AccessibleTextHelper_Impl::Notify(SfxBroadcaster & __formal, const SfxHint & rHint) Line 1530 svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 48 svxcorelo.dll!SvxTextEditSourceImpl::NotifyHdl(EENotify * aNotify) Line 1021 svxcorelo.dll!SvxTextEditSourceImpl::LinkStubNotifyHdl(void * pThis, void * pCaller) Line 1013 tllo.dll!Link::Call(void * pCaller) Line 123 editenglo.dll!Outliner::ImplBlockInsertionCallbacks(unsigned char b) Line 2098 editenglo.dll!Outliner::Clear() Line 2036 svxcorelo.dll!SdrOutlinerCache::disposeOutliner(SdrOutliner * pOutliner) Line 91 svxcorelo.dll!SdrModel::disposeOutliner(SdrOutliner * pOutliner) Line 1960 svxcorelo.dll!SvxTextEditSourceImpl::dispose() Line 489 svxcorelo.dll!SvxTextEditSourceImpl::Notify(SfxBroadcaster & __formal, const SfxHint & rHint) Line 458 svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 48 svxcorelo.dll!SdrModel::~SdrModel() Line 270 chartcorelo.dll!chart::DrawModelWrapper::~DrawModelWrapper() Line 191 chartcorelo.dll!chart::DrawModelWrapper::`vector deleting destructor'(unsigned int) chartcorelo.dll!boost::checked_delete<chart::DrawModelWrapper>(chart::DrawModelWrapper * x) Line 34 chartcorelo.dll!boost::detail::sp_counted_impl_p<chart::DrawModelWrapper>::dispose() Line 78 chartcorelo.dll!boost::detail::sp_counted_base::release() Line 104 chartcorelo.dll!boost::detail::shared_count::~shared_count() Line 381 chartcorelo.dll!boost::shared_ptr<chart::DrawModelWrapper>::~shared_ptr<chart::DrawModelWrapper>() chartcorelo.dll!boost::shared_ptr<chart::DrawModelWrapper>::reset() Line 626 chartcorelo.dll!chart::ChartView::~ChartView() Line 202 chartcorelo.dll!chart::ChartView::`scalar deleting destructor'(unsigned int) cppuhelper3MSC.dll!cppu::OWeakObject::release() Line 204 chartcorelo.dll!cppu::WeakImplHelper10<com::sun::star::lang::XInitialization,com::sun::star::lang::XServiceInfo,com::sun::star::datatransfer::XTransferable,com::sun::star::lang::XUnoTunnel,com::sun::star::util::XModifyListener,com::sun::star::util::XModeChangeBroadcaster,com::sun::star::util::XUpdatable,com::sun::star::beans::XPropertySet,com::sun::star::lang::XMultiServiceFactory,com::sun::star::qa::XDumper>::release() Line 115 chartcorelo.dll!com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::~Reference<com::sun::star::uno::XInterface>() Line 106 chartcorelo.dll!chart::ChartModel::~ChartModel() Line 188 chartcorelo.dll!chart::ChartModel::`vector deleting destructor'(unsigned int) cppuhelper3MSC.dll!cppu::OWeakObject::release() Line 204 Change-Id: Ife6d6275eae74750858a7a7f57153c76a1a228a4 (cherry picked from commit 77378cde59bd9eb986f1ac8b071a5e853bc6805c) Reviewed-on: https://gerrit.libreoffice.org/7135 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-19use proper LanguageTag fallback instead of dumb startsWith(), fdo#68714Eike Rathke
A ca_ES@valencia (=> ca-ES-valencia) locale did not result in 'ca-valencia' UI being selected but 'ca' only instead. Change-Id: Ifa405add2ff7b45e030b02af4338de195b457cb2 (cherry picked from commit 03e7a16fe2802160b8344058f225a57bdb9c59f5)
2013-12-19support ca_ES@valencia glibc locale modifier, fdo#68714Eike Rathke
Change-Id: I2723ee4664844923d7c441cfd33c7bd767f1e7d3 (cherry picked from commit 164a8c409c2f070ee51ca4258585cf0c8579af51)
2013-12-18fdo#72850: ODF export: don't export spurious style:display="false"Michael Stahl
... on style:header-left, style:header-first, style:footer-left, style:footer-first. (regression from d92345561c998f7382cf9ef0fdcd29096f978435) Change-Id: I48c51fcd2b07ae8b0e3ec2c1087a388c6900b366 (cherry picked from commit 8f73c7615ebe60ef71d6e8b49a0f19ddac6f03a0)
2013-12-18resolved fdo#51961 let "Default ..." currency entry follow selected localeEike Rathke
Change-Id: I69b13d1009638451fa6c2bc9336cdac0bab6ec32 (cherry picked from commit aec792c1a429bd96a172d529521247a2b3391987)
2013-12-18do not resolve the "Default ..." locale entry, it means SYSTEMEike Rathke
Once selected, the locale was resolved and the "Default ..." entry never displayed again. Change-Id: I4d94730b1c104e0b96e7e02275958b78e2899eca (cherry picked from commit c30de064af34e288f3e224c1c7cf1923858eb738)
2013-12-18the MS Serbian Latin Neutral messEike Rathke
There are two LangID values mapping to Serbian Latin (without country) which lead to the UI language selector displaying "sr-Latn" instead of "Serbian Latin" because conversion picked the other one. Consistently use LANGUAGE_SERBIAN_LATIN_LSO and don't trap into LANGUAGE_SERBIAN_LATIN_NEUTRAL (whatever that might be). Change-Id: I6ae6c2027048c99096b4d9d703a0dc73784b52f1 (cherry picked from commit 4256491ffe48b8be09ec66a003988193e8585584)
2013-12-18resolved fdo#72778 keep setting system locale and LanguageTag in syncEike Rathke
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13 (cherry picked from commit cc54c08a66046c00af3713fbe5e69995ccb7f73b)
2013-12-18Fix integer ambiguityStephan Bergmann
Change-Id: I1247af709baf250b82a4156ea2cbf29c758f0c78
2013-12-18fdo#72452: ODF import/export: fix handling of style:page-numberMichael Stahl
Class XMLNumberWithAutoInsteadZeroPropHdl (which appears to be used only for this attribute) needs to be adapted to the change that "PageNumberOffset" value 0 is no longer invalid; use "void" value for invalid instead, which appears more appropriate anyway. Unfortunately the type of style:page-number is positiveInteger so writing 0 would be invalid; write "auto" instead for now. Change-Id: I9621ea201fd928087b863c562607c3d77a3b0269 (cherry picked from commit 22355042a6fc7aecf3caab69b3fa3be1430b697f)
2013-12-18sax: avoid usage of double for parsing nanoseconds here tooMichael Stahl
Change-Id: Iddf93a116cb333db6465a915dae692c33a60241a (cherry picked from commit 64575a5b91b0fae6283b9ad8b1356e76caa34b45)
2013-12-18ChildrenManagerImpl::AddShape: do not use member after releasing mutexMichael Stahl
This crashed here once during some JunitTest with an rDescriptor that did not match maVisibleChildren.back(). [The mrContext member used here is const so shouldn't cause problems.] Change-Id: I31e54b166badef6472127c64f0a4f49c51c73b30 (cherry picked from commit ebb6c4407da2f8e913f1520b61a36ca3a4b54a7e)
2013-12-18accessibility: don't crash if the TableControl is deadMichael Stahl
AccessibleGridControlAccess: clear the m_pTable member in dispose() so it is no longer accessed later. Change-Id: I490c84ce1bee55c9c69eb29b81ddfbe808301797 (cherry picked from commit 449e0c9c7378ba32039bd5934c26011d682a8a91)
2013-12-18count notes - GetNotesInRange now include last tabLaurent Godard
- refactor tests - add unit test on counting notes on a sheet Change-Id: I6762a0e791a745b828800645effdfc044ac33710 Reviewed-on: https://gerrit.libreoffice.org/6954 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-18counting notes is per table, not on the whole documentLaurent Godard
Change-Id: Id4afa4eee961f159f8ea8caeac620d101cfb103e Reviewed-on: https://gerrit.libreoffice.org/6941 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-18fdo#71993: Fix the tip of the Small Arrow line end.Regina Henschel
Change-Id: Ie4b41c69014b347ea2cf9df94b3e3b98f17594cb
2013-12-18Related fdo#71919: Correct arrow heads for new installations.Regina Henschel
Change-Id: If4ad335f4e645cc10cd7378d971b7389bb437f88
2013-12-17embedded nulls in literalsCaolán McNamara
these used to be used with OUString::createFromAscii so a blank string is fine here Change-Id: I744d2be5471fad2675741f908e1ad78f0d5eefbc (cherry picked from commit 669c282fea83c44d545fa8c1bfe03fa45568c35b)
2013-12-17fix out of range accessCaolán McNamara
this is broken since 6e4a21ff22345a24e4d530725814c436a1bdd49a the original commit in 2001. I imagine the idea was to strip a trailing sal_Unicode(11) from the end of the string and then recalculate if the string is empty, but seeing as it has chugged away for the last 12+ years like this I'm relunctant to change it to what it might have originally been intended to do and instead just remove the stuff which was never executed. Change-Id: I73d5108ece8e716d78a4898117e0ee2d51822015
2013-12-17bump product version to 4.2.0.1.0+Christian Lohmaier
Change-Id: If10fcf86ef07ce3f62bdc27783246a69d03f9004
2013-12-17Avoid inaccurate floating-point computationsStephan Bergmann
...otherwise at least my --disable-dbgutil --disable-debug Linux x86_64 build failed the CppunitTest_sax_cpputest with 8999999 vs. 9000000 nanoseconds. (cherry picked from commit 695671eb18674ea58103093b9cf31a31afe8d2fd, incorporating follow-up fixes 71448690d7c5904df45bf98243c5bb05a99245e5 "readUnsignedNumberMaxDigits can read more than maxDigits chars" and b9bcc9c5c10841dcdfa9ff5814344ce667678df3 "...and nDigits > 9 is harmless in following for loop and need not be capped") Change-Id: I05e0febf413f9f9e01227a0cc4e0f46a5243fe61
2013-12-17Updated coreChristian Lohmaier
Project: translations dbe7e598c32822da31e0555913f7ec7ff17bf36d
2013-12-17OCppunitTest_sc_opencl_test: only depend on scopencl if ENABLE_OPENCL.Andrzej J.R. Hunt
scopencl is only built when ENABLE_OPENCL is true, but the unit test should still run successfully using the fallback mechanism without scopencl (i.e. when --disable-opencl is used). Change-Id: I4b44148f1f59ad8b3d9c78c2fd0e1cbe2030db37 (cherry picked from commit 5aa37dd9eb9b6f44c2a91f0e41bae42754ba733b)
2013-12-17WaE: unused parameter 'bForceEvaluation'Tor Lillqvist
Change-Id: I402ccfa2e24240347985d9fda7adf4e2c01712fd (cherry picked from commit b9b8e26aa0ff86b131c9da84f33ee3ce397104d6)
2013-12-17Keep using component_getImplementationEnvironment in extensionsStephan Bergmann
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME convention. Keeping that convention an implementation detail makes it easier to do improvements in the future. (Theoretically, the bundled extension in mysqlc could be considered internal code and not adapted, but just be safe.) (cherry picked from commit fa2a7c1c95f78d20ed572091e12700fd4d852835) Conflicts: desktop/test/deployment/active/active_native.cxx Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37
2013-12-17Do not use Boost in SDK examplesStephan Bergmann
Change-Id: I8b2af447fe3ee29261e538a53b4624ff8b6c4d1e (cherry picked from commit ca4065680a402e3d0ff43e41744b24a9c980b2ef)
2013-12-17fix caption dialogCaolán McNamara
Change-Id: I499f47b116ff6957bbbc20b91224fe95593d1da1 (cherry picked from commit 2e4360815b08e1b5bd7233509d033b5a49b7c61e)
2013-12-17avoid negative offsets to OUString::copyCaolán McNamara
Change-Id: I0a62f8a38694a4a7662fe376aaabc35dca817d33 (cherry picked from commit c2f0845931b7cb1007d54173c2633c44123a137c)
2013-12-17Fixed the update to working copy and back after (cancel) checkout: fdo#64533Cédric Bosdonnat
After Checkout, simply set medium name and update the medium: at least we are sure it works in more situations than the other function we used. After cancel checkout, call SID_RELOAD to actually revert any local change. Change-Id: I3dc296a74726770c4f47d9653c382108f7baccad (cherry picked from commit a68e0e334df02c1ca47601575523b23c6db13470) Reviewed-on: https://gerrit.libreoffice.org/7068 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-17fdo#61638 SmParser::NextToken: don't crash on ending dotMiklos Vajna
Change-Id: Ia9c168e52a99286910c9e63e0e052671c5259ba8 (cherry picked from commit cdd59ee13b1dca7e3d269bf1a3c555903eee96ee)
2013-12-17cppcheck: fix statements that begin with string constantJulien Nabet
Change-Id: I42427beeae06f607e60aeeb7142714fd1f5d740d Reviewed-on: https://gerrit.libreoffice.org/7110 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-12-16typo: start period is S, thus 'A = 1' -> 'S = 1'Andras Timar
Change-Id: I23ffb5288cda22dcf98bba2d16ae7cf6f9d66825
2013-12-16initial install-package-foo target for partial installsBjoern Michaelsen
make packageinfo target add uiconfig file translations add missing l10n config files add missing help files in packageinfo Reviewed-on: https://gerrit.libreoffice.org/6754 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Conflicts: helpcontent2 translations a2498a118e729276a78ef3a4eb43b5d0b302d326 9bb39bdd677af4be0da621370c51eb9e22ecc33f a7e654cdeffd832f51016ff51aa180fe3924ff4e 4ee41fdb600cb3a89da387dffe64e6a30192761c 349fb24a388775c58be7a326832b3fc0ec38180f 8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06 Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: https://gerrit.libreoffice.org/6982 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>