summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-18STROAGE->STORAGECaolán McNamara
Change-Id: I2c83c87d15f5fdc766a8464a8389e22120eabc52
2013-12-18fdo#71993: Fix the tip of the Small Arrow line end.Regina Henschel
Change-Id: Ie4b41c69014b347ea2cf9df94b3e3b98f17594cb
2013-12-18Drop some obsolete stuffTor Lillqvist
Change-Id: Icc6bf58c295591347a3079d2a5312e1904e57060
2013-12-18cppcheck: same expressionCaolán McNamara
the same comment and expression here is duplicated further down, except this time without the redundant repeat test Change-Id: Ife4bebf181e7a6011137beaeec2b69f5cdcfe908
2013-12-18Change from ServiceManager- to ComponentContext-based implementationsStephan Bergmann
Change-Id: Iba701c520ad27925bb5e67697e22132b53160ab2
2013-12-18DocxAttributeOutput::OutputFlyFrame_Impl: enable DML export by defaultMiklos Vajna
This was only available in experimental mode previously. Also note that export of Writer TextFrames are handled separately, there DML export is still off by default. Change-Id: Ie8eaa1670610d92a363a8558b68064e7d7de2cdd
2013-12-18Consistently mark these as deleted on all platformsStephan Bergmann
Change-Id: I87b226fe8ade512fa5559be9cb66cff75543e383
2013-12-18fdo#54938: Convert i18npool to use cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-12-18fdo#72790 Clear interop grab bag name, once grab bag is cleared.Nikhil Walvekar
This fixes problem while exporting documents containing table styles. Change-Id: I0c39ab18eda3b4aacbccfa9d5a6b0d3ac7ab005c Reviewed-on: https://gerrit.libreoffice.org/7120 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-18Revert code that push copy of 'rPr' inside 'pPr' in DOCX exportAdam Co
There was code that was inserted by commit id '8c178a50334109b34ef456ca6aa51cd3d98699ae' that added logic to also export 'rPr' in the 'pPr' node. The 'rPr' represents the paragraph marker formatting. However - simply copying the last run's formatting and assuming it is the same for the paragraph marker should not be used. Also refer to 'aafffe6d1c3734fb2acef4b2bb1385c1e2f49043' for details on test-case disable. Change-Id: I6004e4c706abfeb5f51d86d11d3ebf46256a68c5 Reviewed-on: https://gerrit.libreoffice.org/7121 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-18Remove unnecessary macrosStephan Bergmann
Change-Id: I1d7cdea37db59f58ca100489e593b882a951d96a
2013-12-18missing boost_headers externalMatúš Kukan
Change-Id: Ib30dddbc1b105c89c5882f5f857dc20134eca7e6
2013-12-18Add a unit test trying to create every available service with default ctor.Matúš Kukan
Change-Id: I79e70aeabdb816eaf7a719d2094034d78d11c90b
2013-12-18Get more --disable-dynamic-loading code out of shlib.cxx.Matúš Kukan
It's not terribly nice, but, hopefully, better. The hope is that one day, lo_get_library_map will be no more. In lo_get_implementation_map we can specify more precisely what to link into the binary. Change-Id: I99a1854fbae05be2f70302cc56bea88e522ec129
2013-12-18bootstrap component: Split into implementation functions.Matúš Kukan
Change-Id: I91cb0177edd79485eab885e995e79b1a19a769d5
2013-12-18sax: various clean up. Move _getFactory next to the implementation.Matúš Kukan
Use more anonymous namespaces, de-duplicate code, bin some comments. Makes the library smaller. Change-Id: Id0cefdcaa72a74741303fc27e36038488ef8b059
2013-12-18Deduplicate some foo_component_getFactory declarations.Matúš Kukan
Change-Id: I9304b62134bab375b721399ae078bf66e01191d8
2013-12-18Allow UNO component libraries to have each implementation in its own function.Matúš Kukan
Demonstrating on expwrap library. There is hope, this will bring code size savings for mobile platforms, where we don't need every implementation. Change-Id: I3519fb6148fd7a47ed9df092c73779ea6add552f
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-18fix integral ambiguityMichael Stahl
Change-Id: Idf022c8a4cd78c525a5c40ec8fe7a1e304b9aecc
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
2013-12-17gbuild: remove obsolete SOLARLIBMatúš Kukan
Change-Id: I6fcf5ff3a8f543079c3c8d37a728eb0ba6e0587e
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
2013-12-17Related: #i123840# normalize SalFrame resolution type to sal_Int32Herbert Dürr
(cherry picked from commit 8a7cfd2bded9a531a034222c71ba3eda9df7d436) Conflicts: vcl/aqua/source/gdi/salgdi.cxx vcl/aqua/source/gdi/salprn.cxx vcl/aqua/source/window/salframe.cxx vcl/inc/aqua/salframe.h vcl/inc/aqua/salgdi.h vcl/inc/os2/salgdi.h vcl/os2/source/gdi/salgdi.cxx vcl/unx/generic/gdi/salgdi3.cxx Change-Id: I86f2902d765422b4b850619c72119ad4e03452d7
2013-12-17test::FiltersTest: add support for export testsMiklos Vajna
For now, this is only implemented for the Writer RTF filter. Change-Id: I0c7ae5b0e544bd4738652a38474f4d262ce65661
2013-12-17ooxml: preserve font theme color shade propertyJacobo Aragunde Pérez
Change-Id: I40fa3f172f98b319a97a855231b854651be2d784
2013-12-17ooxml: preserve font theme color propertyJacobo Aragunde Pérez
The property is called w:themeColor and it belongs to the w:color tag inside run properties. On import, the themeColor prop is stored in the character interop grab bag together with the val prop. On export, the current color of a text run is compared with the stored val prop to know if the color has been changed during the document edition. If it hasn't changed, the themeColor property must be written to the document; if it has, it must not be written to avoid overwriting the new color. Also added a unit test for this property. Change-Id: Icc95ee023aecc741adcba23d23206aadd6c30e1f
2013-12-17sw: Small code rewriteJacobo Aragunde Pérez
The purpose is improve legibility of future patches Change-Id: I15bcfdc74feab25cf3ce4dcf246969f3d9f152d2
2013-12-17sax: avoid usage of double for parsing nanoseconds here tooMichael Stahl
Change-Id: Iddf93a116cb333db6465a915dae692c33a60241a
2013-12-17SvxTextEditSourceImpl::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
2013-12-17ChildrenManagerImpl::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
2013-12-17sw: revert PaintArea change in SwAccessibleFrameMichael Stahl
76c549eb01dcb7b5bf28a271ce00e386f3d388ba changes some calls to SwAccessibleChildSList to use the PaintArea() of the given SwFrm instead of the given rVisArea, which makes SwAccessibleFrame::GetChildCount() and GetChildIndex() inconsistent with other methods such as GetChild(), GetChildAtPixel() etc. Not sure which way is better, but it should be consistent; revert the partial change for now and see. Change-Id: I7d7edf2ec3dd0860ac2331d36757096186185e4f
2013-12-17add more graphics apps to launchpad listDavid Tardon
Change-Id: I8f80b4aa07fd923aea4f50fd50d4ce68230cde06
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17...and nDigits > 9 is harmless in following for loop and need not be cappedStephan Bergmann
Change-Id: I30c4005e5983f5007edfed692b74f07b31899755
2013-12-17readUnsignedNumberMaxDigits can read more than maxDigits charsStephan Bergmann
...so that is what the std::min was good for that the previous commit erroneously removed. Change-Id: I0cb08ab79f85ce4b919232845994c9b8bae35646
2013-12-17Fix namingStephan Bergmann
Change-Id: Ia7c62d57c56a27e097dbe252b6c6cac8fba7ace5
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. Change-Id: I05e0febf413f9f9e01227a0cc4e0f46a5243fe61
2013-12-17Improve CPPUNIT_ASSERTsStephan Bergmann
Change-Id: I971602ce562ae0e11be5ac7b4d1eefbd342b625c
2013-12-17CppunitTest_sw_ooxmlexport: handle mc namespace in assertionsMiklos Vajna
Change-Id: I17c8e5b4716652585d5612a4796140e7f54aaddb
2013-12-17DOCX drawingml export: give drawinglayer pictures the correct namespaceMiklos Vajna
This is triggered by testVMLData in CppunitTest_sw_ooxmlexport when DML export is enabled in non-experimental mode. Change-Id: Id636b1ab701ff49da1b05b720fcb2173360584ba
2013-12-17touch -h requires the file to exist, funnily enoughTor Lillqvist
Change-Id: I38639236f9e7cc2ec8f4e4f9adc708822bc2f73d
2013-12-17Touch a plain file and not /dev/null to avoid problem on Cygwin at leastTor Lillqvist
Touch the "warn" file that we use to save warnings detected during configury. Change-Id: I44ad9a878f7768af6046337c0465e00061306dda
2013-12-17DocxExport::OutputDML: fix export of shapes in headersMiklos Vajna
This is triggered by testVMLData in CppunitTest_sw_ooxmlexport when DML export is enabled in non-experimental mode. Change-Id: I5e157f75909d05fc18d9a8790839030f4056860d
2013-12-17These get defined through lo.xcconfig nowTor Lillqvist
Change-Id: I4d574b728aa0a60808bcfdd36c503476c226599a
2013-12-17Fix cross-compilation "make distclean"Stephan Bergmann
2013-12-17Pass also Xcode's ARCHS, OTHER_CFLAGS and OTHER_CPLUSPLUSFLAGS in lo.xcconfigTor Lillqvist
ARCHS tells Xcode to build the architecture for which the LO code has been built. The CFLAGS properties make sure the same -D flags are used as for the LO code. Change-Id: I3c8af0ff9fba7d0b4eddbc0af9aad44fb385314c
2013-12-17Bump curl version check to 7.19.4 in configure.acDouglas Mencken
Constants CURLPROTO_HTTP, CURLPROTO_HTTPS, ... have been introduced in curl 7.19.4. With current requirement (>= 7.13.1), we would get build errors like "cmis/src/libcmis/base-session.cxx:841: error: CURLOPT_PROTOCOLS was not declared in this scope" in cases of using curl < 7.19.4. Change-Id: Ifa6c56fc71715cceb19d30bb2d6f48f0b1dbd7da Reviewed-on: https://gerrit.libreoffice.org/7050 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17convert gallery search progress dialog to .uiCaolán McNamara
Change-Id: I77d9530ebc6529d87e2484c8440794e246aab5b9
2013-12-17support setting end ellipsis from .uiCaolán McNamara
Change-Id: I426f41ffdf107b7dcff8ae713e2dc63610f915af