summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2017-02-19remove text that is not translatableStanislav Horacek
Change-Id: I9209d1c163c7613069f3bd1abf852f6e2ad1a66e Reviewed-on: https://gerrit.libreoffice.org/34404 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-19Typos: mainly translation remnants of Objekt instead of objectJulien Nabet
Change-Id: I84c488a4a0fa96f85158d34035a16aa5e10c7c21 Reviewed-on: https://gerrit.libreoffice.org/34418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Fakabbir Amin (Aeimi) <fakabbir@gmail.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-17No need for mpWrapper memberStephan Bergmann
Change-Id: I5b0526dd6fe76735fb25b7864e71e36e4f0eeb98
2017-02-17drop now unused Resource::FreeResourceCaolán McNamara
Change-Id: Iaf075a926a61d944c6d7d959ac1aad291fd0b696
2017-02-16Move AutoLayout enum definition to its own file, and start de-duplicating itTor Lillqvist
The mysteriously named AUTOLAYOUT_ENUM had the same value as AUTOLAYOUT_TITLE_CONTENT, and was marked as "deprecated", so just use the latter instead. Use it also in xmloff instead of the magic number 1 in places where comments indicated that AUTOLAYOYT_ENUM was what the 1 meant. Will continue with the other "deprecated" and duplicated enumerators later. (Or you feel free.) Change-Id: Id5d70e07d30b3bf0d62e5d8719edb784bd23f99d
2017-02-16convert EESpellState to scoped enumNoel Grandin
and drop unused EE_SPELL_NOLANGUAGE enumerator Change-Id: I74a5f89335883a13d77b39f78b7de55bddb1f107
2017-02-15WaE: control reaches end of non-void functionDavid Tardon
Change-Id: I7186d7f6b1e51188e9ff13d654f8dcaa478fb452
2017-02-15convert EValue to scoped enumNoel Grandin
and drop unused enumerators Change-Id: I22629ee4a514053030d7120ee8a8fb8145163fad
2017-02-15drop unused PRESOBJ_IMAGENoel Grandin
Change-Id: I8fa011bea423e961a3ebe7cd8687e4bce7c4cd77
2017-02-15drop unused PaneManagerDying enumeratorNoel Grandin
Change-Id: I4b17d19b5f1f84df38cbb5372ca2d0b425f22698
2017-02-15convert ToolBarGroup to scoped enumNoel Grandin
Change-Id: I5d22dacca911211b1ebe20d86eb332db9de0cdba
2017-02-15convert EventType to scoped enumNoel Grandin
and drop unused INDEXES_CHANGED enumerator Change-Id: I25790a012c53509b8af082dac4a250193ca19bde
2017-02-15convert FocusMoveDirection to scoped enumNoel Grandin
and drop unused NONE enumerator Change-Id: I793acf12ad25517a4d5fa6f886225b589d87176d
2017-02-15convert PageObjectLayouter to scoped enumNoel Grandin
and drop unused MouseOverIndicator and Name enumerators Change-Id: I7041d0b3792939709d73fed75ee858f0e649b840
2017-02-15convert GradientColorClass to scoped enumNoel Grandin
and drop unused Base enumerator Change-Id: I48585ca945c4633f436643222697688661ef68c6
2017-02-14tdf#105682 : fixed Insert Slide buttonsSzymon Kłos
Change-Id: Ic75673026c0cd42f4143cd27e226f3077bd80e85
2017-02-14tdf#105962: added missing controls to avoid crash in impressSzymon Kłos
Change-Id: I0df6da42b02188f417964afa607ec9ea2c23f8ea
2017-02-14vcl pdf import: change test documents to test bitmap fallbackMiklos Vajna
I.e. the test documents now reflect what is created by LO if you insert a PDF image into a document manually on master. Change-Id: Ibacce15220a21b159b5e987678c381a98a29fd1a
2017-02-13vcl pdf import: use pdfium instead of draw_pdf_importMiklos Vajna
Replace creating a full Draw component with direct pdfium library calls. This also means that the result is now a bitmap, not a metafile for now. Also decouple HAVE_FEATURE_PDFIMPORT and HAVE_FEATURE_PDFIUM, the first is the "import PDF into Draw" feature, the second is the "insert PDF as image" feature. Change-Id: I72c25642ec84cc831df362e02b1520c6e6d9adcf Reviewed-on: https://gerrit.libreoffice.org/34217 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-02-13tdf#99908: Ensure non-empty unique gradient namesKatarina Behrens
for user-defined (!preset) gradients. ODF doesn't cope with nameless gradients so well ... Change-Id: I7a4ca32ccf58b22fc55ceeac8778029cd6d5cea3 Reviewed-on: https://gerrit.libreoffice.org/34001 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-13tdf#89329: use unique_ptr for pImpl in dlgctrlsyellowflash104
Change-Id: Id7294b5b3b72b873184d55db64a3477fc56a5485 Reviewed-on: https://gerrit.libreoffice.org/34182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-13convert CharCompressType to scoped enumNoel Grandin
and move it to svl, where it belongs Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
2017-02-12Typo: (trans)fomat->(trans)formatJulien Nabet
Change-Id: Id2e3024c149b14d40e58f8534946a514ededfcfc Reviewed-on: https://gerrit.libreoffice.org/34158 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-11tdf#89329: Use unique_ptr for pImpl in stlfamilyArnold Dumas
Change-Id: I0c9df5809a906dbc761f9a51c3424cebb215d0bc Reviewed-on: https://gerrit.libreoffice.org/34132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-10Remove MinGW supportStephan Bergmann
In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-09sd: argh fix the C++ integer madness againMichael Stahl
Change-Id: I47bf134a7ef0ebcd45ec3cc2c7cf805387ecadb9
2017-02-09i#124243 sd: add unit test for ODF import of glue points on SVG shapeMichael Stahl
Change-Id: Ib6434063f4dfebb5f3e180c7136b411dbf0d94d0
2017-02-09convert DestAreaType to scoped enumNoel Grandin
and drop read-only enumerators Change-Id: Ibc4c2a99448a83fc179e2779f8f3e5c8f034ae7b Reviewed-on: https://gerrit.libreoffice.org/34059 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-09convert PDFWriter::PageTransition to scoped enumNoel Grandin
and drop some read-only enumerators Change-Id: I96380efec90abe02fa02c3f766f2b6180723da0d Reviewed-on: https://gerrit.libreoffice.org/34058 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-09convert BmpConversion to scoped enumNoel Grandin
and drop unused 4BIT_TRANS and 1BIT_MATRIX enumerators Also fix a bug in x11::convertBitmapDepth where we were incorrectly passing BmpConversion enumeratirs to ReduceColors Change-Id: I903c6866750e46ee752e10a17c05fcaaf6b11242 Reviewed-on: https://gerrit.libreoffice.org/34062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-09Reapply "create ErrorHandlerFlags scoped enum for error handling flags""Noel Grandin
This effectively reverts commit 32cae6a2eaa41568888df9c8fc5605debd8d704a. Change-Id: I15bb0a5c4acaeee6d47dd93a71601d9687d701bc Reviewed-on: https://gerrit.libreoffice.org/34028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-08tdf#103567 xmloff: ODF import: fix loss of events on SVG multi-imageMichael Stahl
For SVG there are 2 draw:image children in the draw:frame, and the SdXMLEventContext::EndElement() applies the content of office:event-listeners to the shape created from the last draw:image and then MultiImageImportHelper::solveMultipleImages() throws it away because it's the bitmap fallback of the SVG. Avoid that problem by calling solveMultipleImages earlier: The ODF schema ensures that all the draw:image elements occur before the optional property-bearing child elements of draw:frame, so we just call solveMultipleImages on the first such optional element, so that all subsequent properties get applied to the one surviving shape. (likely regression from 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70) Change-Id: I2be5f6f424dbfd90ca2179ce6f9057929540e762
2017-02-08replace localresource of strings and keys with StringArrayCaolán McNamara
Change-Id: I402f5485af0c1e60677b8291c879bc7ca14633d3
2017-02-08And more blind fix for apparently buggy GCC 4.8Stephan Bergmann
Change-Id: Iaad8362ce263a19302a284554bf5925205c35ec3
2017-02-08tdf#105818 Grid and Help Lines menu does't always offer what it promisesCor Nouws
Change-Id: I7c0c4f932dc953b7892fc0b812c9e9e045230e49 Reviewed-on: https://gerrit.libreoffice.org/33990 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2017-02-08Use OUStringLiteralStephan Bergmann
Change-Id: I76b83140222cfd7e313736936b2803997c43836d
2017-02-07Revert "remove ugly operator* in DynamicErrorInfo"Michael Stahl
This reverts commit b5e3f8a5fa98a249ecd50021c33cf2a5c7a3b4fc. The problem is this: ==24217== Conditional jump or move depends on uninitialised value(s) ==24217== at 0x29A25FCE: SfxObjectShell::SetError(unsigned int, rtl::OUString const&) (objmisc.cxx:220) ==24217== by 0x29A35E6E: SfxObjectShell::ImportFrom(SfxMedium&, com::sun::star::uno::Reference<com::sun::star::text::XTextRange> const&) (objstor.cxx:2300) ==24217== by 0x29A3705C: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:765) ==24217== by 0x29A6BC48: SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (sfxbasemodel.cxx:1802) The commit is bogus because it introduces a DynamicErrorInfo::GetErrorCode(), which overloads ErrorInfo::GetErrorCode(), which is used at least in DynamicErrorInfo_Impl::RegisterEDcr() and used to return a constructor argument of DynamicErrorInfo but now returns pImpl->lErrId, which is what this statement is trying to initialize. Ultimately this causes my clang+ASAN build to fail because the uninitialized error code happens to be detected as a mere Warning: Test name: testMathMalformedXml::Import assertion failed - Expression: !xComponent.is() - loading succeeded: sw/qa/extras/ooxmlimport/data/math-malformed_xml.docx Change-Id: I9141144e0bc356ee54279948f2fce036d1831a86
2017-02-07Revert "create ErrorHandlerFlags scoped enum for error handling flags"Michael Stahl
This reverts commit 05e78bde26d8b8b257ed22a0ce20c5b386a629d1. Depends on the other commit that needs reverting
2017-02-07animation duration/scale etc don't fill horizontal spaceCaolán McNamara
Change-Id: Ie211827c2f8231384b98fb08e0371a839e3dc41c
2017-02-07create ErrorHandlerFlags scoped enum for error handling flagsNoel Grandin
Change-Id: I30c80979c87bad7bc98f36a158c31c88d80d1caf Reviewed-on: https://gerrit.libreoffice.org/33991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07remove ugly operator* in DynamicErrorInfoNoel Grandin
I can see why you'd want to hide this horrible tunnelling of information with objects registering themselves in a global list. Urrgh. Change-Id: Ib151a0d2d5a4508dc456e52883e488ce56d9a095 Reviewed-on: https://gerrit.libreoffice.org/33984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06tdf#103636: In Draw sidebar, switch fitting objs to paper format offKatarina Behrens
So FuPage::ExecuteDialog and ::ApplyItemSet misuses SID_ATTR_PAGE_EXT1 to distinguish between Impress and Draw, making fit objects to paper format on in Impress and off in Draw. That setting is not persistent, but that is a separate issue and until it is fixed, we will do the same here Change-Id: Ie55a131d375fa32d856bde4d9fda4fb54dd0d29f Reviewed-on: https://gerrit.libreoffice.org/33976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-06Add missing #includesStephan Bergmann
...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
2017-02-06Typo: s/dependend/dependent/iTor Lillqvist
Change-Id: If02798894ad6f0e0442ed60aaec6eca40e6dcb61
2017-02-06Fix copy paste errorTamás Zolnai
Change-Id: I88af4618dfbeab920163117c2da9e51fcf694d84
2017-02-05.uno:ScriptOrganizer should be menu:menuitemMaxim Monastirsky
... so it won't show as an empty submenu in the customization dialog, and allow accidentally overwriting it. Change-Id: I9431e5240485a58f63a2333850a9052e475db63e
2017-02-05tdf#31488: Background fill changes its color when saving a PPTX file to ODPTamás Zolnai
For a gradient fill we need to generate a name because ODP export works with this name. In case of shapes it works because when fill attribute changes some internal name generation is triggered. The same thing doesn't work for slide background so generate this name explicitely in oox code. Change-Id: Ic6ebf37ef3d66a9c274747ca04653363b1fe6d02 Reviewed-on: https://gerrit.libreoffice.org/33937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-02-05tdf#98034 fix alignment of delay spinboxAkshay Deep
Change-Id: Ifb6609a4315851d4eae2c7017c25f0ad7b833123 Reviewed-on: https://gerrit.libreoffice.org/33916 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
2017-02-04flatten STR_IMPRESS_PRINT_UI_OPTIONS resourceCaolán McNamara
Change-Id: Icef2a5ae31973c09620112dba062525d42bdd227
2017-02-04simplify SfxWhichIterJochen Nitschke
only one of 164 calls used the ctor with a restricting range. handle this special case. remove nFrom and nTo members. use operator[] on range pointer to highlight we access lower [0] and upper [1] range bound. remove dtor. Change-Id: I87b28502515e45bb190425eb88aa187ac0b5b2d2 Reviewed-on: https://gerrit.libreoffice.org/33911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>