summaryrefslogtreecommitdiff
path: root/sdext/source
AgeCommit message (Collapse)AuthorFilesLines
2013-10-15Minimizer: *.mini was saved w/o .odp etc. extension (and clean up)Stephan Bergmann1-24/+7
Change-Id: I4626794f7816ae455a392cdc0acbac42c866fff4
2013-10-15fdo#61950 De-extensionize presentation minimizer: post cleanDavid Ostrovsky1-4/+5
Change-Id: I7d21f1d67b13fcd83792503e8c72ccf16fbda1ec Reviewed-on: https://gerrit.libreoffice.org/6247 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-10-15could not convert from ‘const char*’ to ‘rtl::OUString’Eike Rathke4-146/+146
Since 3eb84bcb4580af50c2ded9f48749384b8455258e which apparently Clang has no problem with. Change-Id: I21af4e20dd116705e53d73a968fde478bff142bb
2013-10-15Remove unnecessary TK_LastStephan Bergmann2-6/+1
Change-Id: Ia5095646f01a76258d69df866e3c803f8691915b
2013-10-15Small simplification (and exit loop early)Stephan Bergmann1-3/+3
Change-Id: I076307174fdd63b58a8cb9c9690f50dae746c289
2013-10-15Simplify PPPOptimizerTokenEnum -> OUStringStephan Bergmann2-6/+5
Change-Id: I8be2a1d603afd26de11e737586590ebb7adcbc42
2013-10-15Simplify PPPOptimizerTokenEnum -> OUStringStephan Bergmann3-5/+5
Change-Id: I88176f00c5fb356d63ecfdd291c006e88606a604
2013-10-15Simplify TKGet(TK_FOO) -> "FOO"Stephan Bergmann6-414/+414
Change-Id: I06e3134aeef27f13969f6d9d7d81b916bc93e8e2
2013-10-14Remove unused fileStephan Bergmann1-2/+0
...was referenced from removed sdext/source/minimizer/description.xml Change-Id: I501860640eb899742f7850f626008b930bf8eab4
2013-10-14Remove file apparently unused since inceptionStephan Bergmann1-106/+0
Change-Id: Ib2522c943df37c0b299120fcbdb262a74ee5f5f7
2013-10-14No need to have com.sun.star.comp.PPPOptimizer as a serviceStephan Bergmann5-111/+17
After de-extension-alization of Presentation Minimizer, it is important that its UNO implementation names are different from the ones used by the extension (in case the extension ever is installed as shared or per-user). For com.sun.star.comp.PPPOptimizer it appears to be easiest to not advertise this as a service at all, but rather instantiate the object directly where used. (For com.sun.star.comp.PresentationMinimizerImp the necessary renaming had been done in the previous commit already.) Change-Id: I954b715f2d434cecf9abd2776b39c4ed3152c5ec
2013-10-14fdo#61950 De-extensionize presentation minimizerDavid Ostrovsky10-998/+8
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-10little String to OUString + documentationThomas Arnhold1-1/+1
Change-Id: I982e44150fd2909da0571409f16051d79377d7a3 Reviewed-on: https://gerrit.libreoffice.org/6192 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-10Normalize ENABLE_PDFIMPORT: TRUE or emptyTor Lillqvist1-1/+1
Change-Id: I962b37757dbf3569df73e70ae2d7c666d7cdf43e
2013-10-07XCanvas does no longer imply XBitmapCanvasThorsten Behrens1-0/+1
Remove the implication that XCanvas IS-A XBitmapCanvas, i.e. one can access underlying pixels. That's a preparation for display-list based canvas implementations, and was a rather silly assumption in the first place. Also fixes up all client sites. Change-Id: I7a3d6f68ef46fe94b23cce7759cc0b8b6ca4dae9
2013-10-02sdext: kill Package_pdfimport_xcu.mkMatúš Kukan1-1/+1
Change-Id: I88a402bf26852e8e216de11d71cbd42edb0aff23
2013-10-02WaE: unused variableTor Lillqvist1-1/+0
Change-Id: I0e344a64da4166b99be6887df384224042172454
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-2/+0
Change-Id: If23f88f35e5200cdcc271143d87c8c40b7fd65da
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-4/+0
Change-Id: I393816c526764c21762e5bc19318f862d0f91de5
2013-09-20fix Windows build, dbglevel=2Andras Timar1-4/+4
Change-Id: I7dba2852a32a1b1c8309b5981e6b535c6dfb1b8c
2013-08-23dummy implementation for getTranslationOffsetSiqi LIU2-0/+10
Change-Id: Ie1f71ee76af308a6eec9d38e3d629d7d6faf3596
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák11-29/+29
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-20also adjust for poppler 0.24Bjoern Michaelsen2-2/+2
Change-Id: I177cc28ec357ec5f88bb1efae1928eb120dcd9f2
2013-08-19Mark as constTakeshi Abe1-1/+1
Change-Id: Ic81dd60fadecf72f25792903985f2b387df7a7a0
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist1-2/+3
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-07-20oups.. forgot to comment out a debug lineSiqi LIU1-1/+1
Change-Id: Ib22428a305d834a635f198f94b7b82088a718893
2013-07-20remove server if no longer visibleSiqi LIU1-3/+4
Change-Id: I75902afe3040304155d164fd0502a00869e4f9d7
2013-07-20minor bug fixSiqi LIU1-2/+2
Change-Id: Ib2358feb09812a219966525d0992eb49a62dbdfc
2013-07-18comment out updateCurrentSlide(0) in presentationController constructor as ↵Siqi LIU1-1/+1
it causes remote control to receive 0 as currentSlide whereas slideshow started from the middle.
2013-07-18fdo#67045 - fix several nasty screen selection issues with presenter console.Michael Meeks1-4/+9
Also add the ability to select the external screen (whatever it is) to the configuration dialog. Change-Id: Id2d157eafff0031d7ae9fa2140d7022ae4a0cc6b
2013-07-18fdo#65457 - Provide visual clues in presenter view.Ciorba Edmond5-1/+123
Change-Id: I225ae2dfa467df824d2586a05c8b8b576a43e8dc Reviewed-on: https://gerrit.libreoffice.org/4929 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-17Fix memory leak with osl_getCurrentSecurity ().Mark Wielaard1-1/+3
The result of osl_getCurrentSecurity () should always be deleted again with osl_freeSecurityHandle (). Change-Id: If0991937fcb24207d1f78166f61c4be22d423629 Reviewed-on: https://gerrit.libreoffice.org/4947 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-16fix build with system poppler-0.23.0Petr Mladek2-2/+10
XRef *xref parameter has been added to the OutputDev::startPage method, see http://cgit.freedesktop.org/poppler/poppler/commit/?id=8eb489c355d734a72e140ce7e32470d048362499 Change-Id: I7ad875bf58f6998e639c740f0dac3795738cd1db
2013-07-09Remove warning by using the right printf commandsArnaud Versini1-1/+1
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb Reviewed-on: https://gerrit.libreoffice.org/4753 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-08fdo#38878: Upgrading internal xpdf -> popplerFridrich Štrba2-36/+2
Change-Id: I00aafb3fd275e6be3b5d0eb370320e5325110da5 Reviewed-on: https://gerrit.libreoffice.org/4770 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-05API change: osl/time.h take const pointers where appropriateLionel Elie Mamane1-1/+1
Should be backwards-compatible... Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84
2013-06-29remove OUString wrap for string literalsThomas Arnhold5-15/+15
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29remove some createFromAscii usageThomas Arnhold2-2/+2
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-25coverity#1019312 check inflateInit return valueCaolán McNamara1-2/+2
Change-Id: I5ec18176291e128c79d3e51e39b8a42b17a27b30
2013-06-24fdo#43460 sd,rsc,ucb,sdext: use isEmpty()Jelle van der Waa3-9/+9
Change-Id: I7a7a77c26b74078f7fc160fbaa1c8d4e912b844e Reviewed-on: https://gerrit.libreoffice.org/4442 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-20TypoStephan Bergmann1-1/+1
Change-Id: I73700479207c0ee594dd23709640cdff82224469
2013-06-14advance over font token during font name parsingCaolán McNamara1-39/+85
Change-Id: I457a4cae7907df6fc05535873ed51766c56220ee
2013-06-05fix field name, was mxMSF, but should have been named mxContextNoel Grandin15-55/+55
Change-Id: I4661cd84346791ddd6167ccc63335ad63255472f
2013-05-28fdo#46808, Convert awt::UnoControlDialog to new styleNoel Grandin3-33/+27
Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
2013-05-25Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann4-55/+109
This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at <http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re: fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again" appears to fix things again: The problem is that the implementation of the css.awt.UnoControlDialogModel involves UNO aggregation (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in toolkit/soruce/helper/registerservices.cxx creating a OGeometryControlModel<UnoControlDialogModel> instance that aggregates a UnoControlDialogModel instance). That means that queryInterface can return a reference to something that is technically a different object, and that's what's happening here, and explains why calling setPropertyValue in two different ways on what logically appears to be a single object can end up calling two different implementations (of two different physical objects). (UNO aggregation is known to be broken and should not be used. Nevertheless, there's still code that does---code that is a horrible mess and hard to clean up.) That all this worked as intended in the past is just sheer luck, but any way of substantially touching it is asking for trouble. I'm going to revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again. I wasn't able to revert without also reverting be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert awt::XUnoControlDialog to new style," as the two were tightly dependant. Also reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431 "-Werror,-Wuninitialized" (sans the const-ness fix in UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452 "Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again." Conflicts: basctl/source/dlged/dlged.cxx filter/source/t602/t602filter.cxx xmlscript/test/imexp.cxx Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-23Resolves: #i121857# Presentation Minimizer: fix filter namingAriel Constenla-Haile1-1/+22
(cherry picked from commit 75833fdb6ede664fdcef38a16ecf1f8d3f3adc7d) Conflicts: sdext/source/minimizer/fileopendialog.cxx Change-Id: I164cc6d9916ddf9dba9da273b5181e5728127292
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin2-13/+7
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-21fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin3-28/+20
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin4-84/+38
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-14Resolves: #i82852# Presentation Minimizer: missing icon in info dialogAriel Constenla-Haile2-39/+14
(cherry picked from commit 8fd66eeb883676c095c8360ef609e56b9bc055a3) Conflicts: sdext/source/minimizer/informationdialog.cxx sdext/source/minimizer/informationdialog.hxx Change-Id: I8f6ea8edf7c1b95fefa6c280a92030d628339e56