summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-07-22Updated coreCaolán McNamara1-0/+0
Project: help 10fd3e1326ecf705030189e233a895be7918ea72
2014-07-22deleted superfluous controls that didn't exist before conversionSzymon Kłos1-99/+3
Change-Id: Iba700d79466c24395a6a0b07300cd4190ef03ff7 Reviewed-on: https://gerrit.libreoffice.org/10450 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-22fdo#76754 Speed up registration of new listeners to SfxBroadcasterTobias Lippert8-25/+39
Also change behavior for the GetListenerCount() method which now returns the count of listeners. The previous behavior is available in method GetSizeOfVector(). Change-Id: I5b03fa55a309f4ff5aea5e8830c137786fc07e89 Reviewed-on: https://gerrit.libreoffice.org/10344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-22Add unittests for SfxBroadcasterTobias Lippert4-3/+139
Change-Id: I9ecd8fec395eafbdc2675dda9fa25ac32761123c Reviewed-on: https://gerrit.libreoffice.org/10343 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-22printf crept in.Kohei Yoshida1-1/+0
Change-Id: I18303af0a2898610566233b814e317cd2fe9f6d0
2014-07-22boost::checked_deleter will do.Kohei Yoshida8-17/+15
Change-Id: I952d9dfcffd85aaae49fc1f1eba9ba070900f672
2014-07-21Perhaps it's time we put ItemConverter etc into the right namespace.Kohei Yoshida25-126/+112
Change-Id: I8082c51ff82568b8a00f92e5ab20263c017f1265
2014-07-21LongAndWordyVariableNameReallyGetsToMyNerveReallyAndEvenMisspelled.Kohei Yoshida2-3/+4
Change-Id: Ifc6f876ca9e2ca77b2ab336ea0668697f32d4066
2014-07-21scoped_ptr will do just fine here.Kohei Yoshida1-6/+6
Change-Id: I35701126963047f3e405a6560a90930de99ed3fa
2014-07-21More on removing (unreasonable) use of std::auto_ptr.Kohei Yoshida6-54/+36
Change-Id: I98f5fb22eecb7749e4c86e1ce52965b0c73641ca
2014-07-21Remove auto_ptr from CharacterPropertyItemConverter.Kohei Yoshida14-300/+164
And adjust all that's necessary. Change-Id: I121e5aa4d117da2e5e6b11e4fd85960a8b3aa727
2014-07-21Compiler macro in lieu of literal "Label" to make it easier to track it.Kohei Yoshida7-24/+28
Change-Id: I6bc694fcc8f97b308747c097c4fa977d20524377
2014-07-21Resolves fdo#80906: Delete any control on Dialog editing window crashes LOJulien Nabet1-1/+1
Quick fix for this bt: 3 0x00002aaaab2935d2 in __GI___assert_fail (assertion=0x2aaae1f2806a "_pInterface != 0", file=0x2aaae1f28018 "/home/julien/compile-libreoffice/libreoffice/include/com/sun/star/uno/Reference.h", line=402, function=0x2aaae1f28480 <com::sun::star::uno::Reference<com::sun::star::resource::XStringResourceManager>::operator->() const::__PRETTY_FUNCTION__> "interface_type* com::sun::star::uno::Reference< <template-parameter-1-1> >::operator->() const [with interface_type = com::sun::star::resource::XStringResourceManager]") at assert.c:101 4 0x00002aaae1e2963b in com::sun::star::uno::Reference<com::sun::star::resource::XStringResourceManager>::operator-> (this=0x7fffffff2d00) at /home/julien/compile-libreoffice/libreoffice/include/com/sun/star/uno/Reference.h:402 5 0x00002aaae1eb5c87 in basctl::LocalizationMgr::implHandleControlResourceProperties (aControlAny= uno::Any {<com::sun::star::uno::XInterface> = {_vptr.XInterface = 0x8935ea8}, <No data fields>}, aDialogName="Dialog1", aCtrlName="TextField1", xStringResourceManager=empty uno::Reference, xSourceStringResolver=empty uno::Reference, eMode=basctl::LocalizationMgr::REMOVE_IDS_FROM_RESOURCE) at /home/julien/compile-libreoffice/libreoffice/basctl/source/basicide/localizationmgr.cxx:202 6 0x00002aaae1eb92a0 in basctl::LocalizationMgr::deleteControlResourceIDsForDeletedEditorObject (pEditor=0x919d820, aControlAny= uno::Any {<com::sun::star::uno::XInterface> = {_vptr.XInterface = 0x8935ea8}, <No data fields>}, aCtrlName="TextField1") at /home/julien/compile-libreoffice/libreoffice/basctl/source/basicide/localizationmgr.cxx:896 Indeed, LocalizationMgr::setControlResourceIDsForNewEditorObject just returns if !xStringResourceManager.is() So let's do the same when trying to delete ControlResources See http://opengrok.libreoffice.org/xref/core/basctl/source/basicide/localizationmgr.cxx#835 Change-Id: I4be49503cd2464f97a25840dfdc29877e5fb2b93
2014-07-21win32 fpicker: correctly set the default file nameAurimas Fišeras1-10/+9
Correctly set the default file name in win2k+ See fdo#74295 for more details. Change-Id: I30117a8e1e50b157fee96f4777b0c3f11630165c Reviewed-on: https://gerrit.libreoffice.org/10430 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-07-21Revert "Cleaning: remove use of old edt1 from dlg.h (Windows)"Aurimas Fišeras1-5/+11
This commit introduced fdo#74295. This reverts commit e9fd9c25269abe171e5f693a8c70b33ab5a01c85. Change-Id: I884c25aee137819810bdbc76ad85f2b580b2d626 Reviewed-on: https://gerrit.libreoffice.org/10429 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-07-21Most certainly meant to be plural.Kohei Yoshida1-1/+1
Change-Id: I3772091c77307892b13d75cc6a5a191ec07c7bf5
2014-07-21Scope reduction by throwing early.Kohei Yoshida1-26/+23
Change-Id: Ic0b7b69b8c4e57064b31ef62ddceaf6094ca9991
2014-07-21SaveDBDocPage: [loplugin:saloverride]Michael Stahl1-1/+1
Change-Id: I2491ec467df8874bb7eaa89e316b0e89f59c740a
2014-07-21use SvXMLExport::GetRelativeReference(), fdo#79305Eike Rathke1-11/+1
... instead of a manual approach that missed one extra package level. Change-Id: I41c76eb84677fcf49eb09830127a419ed23ec643
2014-07-21vcl: fix MetaTextArrayAction copying only half of mpDXArrayMichael Stahl1-1/+1
This causes an infinite loop in forms_unoapi test forms.OCheckBoxModel (regression from cd3d26b7edbce67805259a71e4118223e02ebdd4) Change-Id: I46715e1f1381fa92419558c34c6d47c3767de3e1
2014-07-21Rename FILED_BIBLIOGRAPHY to FIELD_BIBLIOGRAPHYJoren De Cuyper2-4/+4
Not sure why it was that way. I assume it was just a typo that never was fixed. Change-Id: I5767c8ff10abd687b12d209bacb74c3144ce7b25 Reviewed-on: https://gerrit.libreoffice.org/10443 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-07-21WaE: passing class rtl::OUString by value, rather pass by referenceTor Lillqvist2-2/+2
Change-Id: Ib332d04fa27501ec35267b5e389c2979c9c55be2
2014-07-21convert backup page to .uiCaolán McNamara8-114/+171
Change-Id: Id9a90001153fdaad51a00b68f38b1298195c5646
2014-07-21Our log area checking Clang plugin requires it to be a string literalTor Lillqvist1-12/+10
And even if that wasn't a problem, we don't use a macro for the log area anywhere else in the codebase, so why suddenly introduce such a convention here? What's the gain from that? On the contrary, haven't we been *reducing* the amount of pointless #define FOO "foo" style stuff? Change-Id: I1247dc499136cdf3ae1921e6ffe7c7f63d57cfc1
2014-07-21fdo#80902: Document grid type is not rendered properlyPriyankaGaikwad4-1/+29
XML difference : In document.xml Original : <w:docGrid w:type="lines" w:linePitch="360"/> Roundtrip : <w:docGrid w:type="default" w:linePitch="360" w:charSpace="0"/> Document grid type is not set properly while import. Change-Id: I68ec778c3138b37ad96f69942361a73ed0e85d71
2014-07-21convert TP_PREPARE to .uiCaolán McNamara7-66/+93
Change-Id: Iad0c94ffd08117f79cba5d5305f03c836ac6ada9
2014-07-21Updated coreCaolán McNamara1-0/+0
Project: help b8feecec406652bb24799a209aae9530da926f4a
2014-07-21fd0#80997: Fix for text missing which is behind textbox in RT.Rohit Deshmukh3-1/+8
Issue: -If file contains Textbox having "In front of text" wrap property, then text behind the textbox is missing after roundtrip. Change-Id: I1b4b7c7ea0e9fd2ae4594b9d5e66246974b09c2a
2014-07-22Remove unused #includesTakeshi Abe6-6/+0
Change-Id: I96775ac9a8624e12974c78c6abb93ddd80eed567
2014-07-21fdo#78663 : The File gets corrupted when saved in LOBisal Nayal6-17/+49
Problem Description: The docx file contains a word art inside a drawing tool. After RT, nesting of <txbxContent> tag is happening which is causing the corruption. Solution: Created a service in util.cxx for checking few shapetypes for which textbox with content is not allowed. This check also helps to find that if we are already inside a DML then we should purely read VML Information.An existing UT testWordArtWithinDraingtool was failing. The UT is related to same issue (word art inside drawing tool) hence changed it accordingly. Following is the commit id of the UT-Change-Id: I00e94712e912ad1977fcb65a945fefb927795d77 Change-Id: I7e456c9f6a69af80da443e29eb02a64ba7d59468 Reviewed-on: https://gerrit.libreoffice.org/10229 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Luboš Luňák <l.lunak@collabora.com>
2014-07-21fdo#81381 Objects:Icon is not editable after LO ExportRavindra_Vidhate5-5/+31
The Object's DrawAspect ="Icon" is not getting preserved. Open the exported file in MS-Office and double click on the object Icon. The object doesn't open the ppt associated with it. Because DrawAspect="Icon" property of the OLEObject is not getting prserved. The DrawAspect="Content" property is getting exported as "Content" is the hard code value. Change-Id: I2f1cbdbb4931657115f6a657b43a1cab3c5369a6 Reviewed-on: https://gerrit.libreoffice.org/10356 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Luboš Luňák <l.lunak@collabora.com>
2014-07-21fix debug build of libxml2 on windows, version 2David Tardon2-2/+2
Change-Id: I67f269e316906913b1a9b4d91907d95b869ca71f
2014-07-21fdo#80897: Preservation of text warp properties.Rohit Deshmukh9-9/+60
- Generic fix for all warp properties Change-Id: I77c37759aa49706fc3cd1a80770a85face53f0a2
2014-07-21fdo#81380: LO crashes while opening the documentdinesh_mp2-1/+2
LO crashes while opening the document because PropertySet interface is null and check for this condition was missing, so added the check. Change-Id: I04dd873ea0923a662e27f9eb2013cde31edc912b Reviewed-on: https://gerrit.libreoffice.org/10379 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Luboš Luňák <l.lunak@collabora.com>
2014-07-21Test $(DEBUG) for being non-empty instead of "1" (which it is not)Tor Lillqvist1-1/+1
Change-Id: I22e7a142bb874653344a7ffcc55e8a062669fa2a
2014-07-21split helper and fix buildCaolán McNamara4-7/+26
Change-Id: Ie479d363152d3c6a109d6e924b09c155c79511c8
2014-07-21fix debug build of libxml2 on windowsDavid Tardon1-1/+5
Change-Id: I36672c56742468cda8c0481b76ee6e3fec700983
2014-07-21coverity#707210 Uncaught exceptionCaolán McNamara1-11/+12
Change-Id: I63013222988735f901b37584345b79659f69ad8a
2014-07-21coverity#707209 Uncaught exceptionCaolán McNamara1-11/+10
Change-Id: I876e25678d68cba09099776bf303a6540761d2ed
2014-07-21coverity#707208 Uncaught exceptionCaolán McNamara1-10/+12
Change-Id: I7fe87d012acbd7bac9736ee5ff8c6abc0da3d129
2014-07-21coverity#707195 Uncaught exceptionCaolán McNamara1-10/+10
Change-Id: Idaeb36f01632cc91cc9fc3d5febd249e39e44ae2
2014-07-21coverity#707130 Uncaught exceptionCaolán McNamara1-3/+9
Change-Id: I76bbe1adb60e7662b4da1effc57feb54ad8733bd
2014-07-21coverity#706600 Uncaught exceptionCaolán McNamara1-2/+1
Change-Id: I93868e6acc8e245f15ece38e00390dfc3bd9ee8c
2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara45-151/+176
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
2014-07-21coverity#706084 Unintended sign extensionCaolán McNamara2-3/+3
and coverity#706085 Unintended sign extension Change-Id: I4bb617cd6927542dfef6dea89c5417ec4f9ed495
2014-07-21coverity#706101 Unintended sign extensionCaolán McNamara1-6/+9
Change-Id: Ic044245aef233501c03e342084f5c27a1bee8d4e
2014-07-21dest is signedCaolán McNamara1-1/+1
Change-Id: I2664fe8776f058ec2c8def730ff62baaf1e1980c
2014-07-21move type to where I can see itCaolán McNamara1-14/+15
Change-Id: I77f7e909828a67e1f095350bfdda7c5f4b00e1db
2014-07-21Revert also an other part of "Extract getGLVersion() method to OpenGLHelper"Zolnai Tamás1-4/+8
This partly reverts commit 23c876deeb357b6306712ff0586a819176151c15. Change-Id: I9ba7a2e8286b5fa6064c3b9e2d680fedf402f1a2
2014-07-21Partly revert "Extract getGLVersion() method to OpenGLHelper" to fix mac buildZolnai Tamás1-4/+8
This partly reverts commit 23c876deeb357b6306712ff0586a819176151c15. Change-Id: I1008c06ec7562e090627ad3860dd198d8fa89362