summaryrefslogtreecommitdiffstats
path: root/sdext
Commit message (Collapse)AuthorAgeFilesLines
* ENABLE_MINIMIZER Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud2013-08-301-1/+1
| | | | | | | Change-Id: I10c52844c6e83f6b88cf736c03d93e710a69432a Reviewed-on: https://gerrit.libreoffice.org/5705 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* dummy implementation for getTranslationOffsetSiqi LIU2013-08-232-0/+10
| | | | Change-Id: Ie1f71ee76af308a6eec9d38e3d629d7d6faf3596
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-2111-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
* also adjust for poppler 0.24Bjoern Michaelsen2013-08-202-2/+2
| | | | Change-Id: I177cc28ec357ec5f88bb1efae1928eb120dcd9f2
* Mark as constTakeshi Abe2013-08-191-1/+1
| | | | Change-Id: Ic81dd60fadecf72f25792903985f2b387df7a7a0
* Use subfolder names from <config_folders.h>Tor Lillqvist2013-08-181-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
* oups.. forgot to comment out a debug lineSiqi LIU2013-07-201-1/+1
| | | | Change-Id: Ib22428a305d834a635f198f94b7b82088a718893
* remove server if no longer visibleSiqi LIU2013-07-201-3/+4
| | | | Change-Id: I75902afe3040304155d164fd0502a00869e4f9d7
* minor bug fixSiqi LIU2013-07-201-2/+2
| | | | Change-Id: Ib2358feb09812a219966525d0992eb49a62dbdfc
* comment out updateCurrentSlide(0) in presentationController constructor as ↵Siqi LIU2013-07-181-1/+1
| | | | it causes remote control to receive 0 as currentSlide whereas slideshow started from the middle.
* fdo#67045 - fix several nasty screen selection issues with presenter console.Michael Meeks2013-07-181-4/+9
| | | | | | | Also add the ability to select the external screen (whatever it is) to the configuration dialog. Change-Id: Id2d157eafff0031d7ae9fa2140d7022ae4a0cc6b
* fdo#65457 - Provide visual clues in presenter view.Ciorba Edmond2013-07-185-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>
* Fix memory leak with osl_getCurrentSecurity ().Mark Wielaard2013-07-171-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>
* fix build with system poppler-0.23.0Petr Mladek2013-07-162-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
* poppler: make it build on Mac.Norbert Thiebaud2013-07-091-1/+1
| | | | Change-Id: Ie74632a6bd5d43a094fa5ea696c099bb537a7e6e
* Remove warning by using the right printf commandsArnaud Versini2013-07-091-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>
* Don't link with libraries that are not neededFridrich Štrba2013-07-081-1/+0
| | | | Change-Id: I44119601f36db98382b85e09614e5c552ec36ab6
* No day witout typoFridrich Štrba2013-07-081-1/+1
| | | | Change-Id: Ie6da18aea2bdd119e08f3670f2e175ec69fbb198
* Some tag -> spacesFridrich Štrba2013-07-081-2/+2
| | | | Change-Id: Ie3350972b39631e66e5fd2f5bbf90347f5dbef06
* fdo#38878: Upgrading internal xpdf -> popplerFridrich Štrba2013-07-083-36/+8
| | | | | | | Change-Id: I00aafb3fd275e6be3b5d0eb370320e5325110da5 Reviewed-on: https://gerrit.libreoffice.org/4770 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
* API change: osl/time.h take const pointers where appropriateLionel Elie Mamane2013-07-051-1/+1
| | | | | | Should be backwards-compatible... Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84
* remove OUString wrap for string literalsThomas Arnhold2013-06-295-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>
* remove some createFromAscii usageThomas Arnhold2013-06-292-2/+2
| | | | | | | | there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
* coverity#1019312 check inflateInit return valueCaolán McNamara2013-06-251-2/+2
| | | | Change-Id: I5ec18176291e128c79d3e51e39b8a42b17a27b30
* fdo#43460 sd,rsc,ucb,sdext: use isEmpty()Jelle van der Waa2013-06-243-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>
* TypoStephan Bergmann2013-06-201-1/+1
| | | | Change-Id: I73700479207c0ee594dd23709640cdff82224469
* advance over font token during font name parsingCaolán McNamara2013-06-141-39/+85
| | | | Change-Id: I457a4cae7907df6fc05535873ed51766c56220ee
* fix field name, was mxMSF, but should have been named mxContextNoel Grandin2013-06-0515-55/+55
| | | | Change-Id: I4661cd84346791ddd6167ccc63335ad63255472f
* fdo#46808, Convert awt::UnoControlDialog to new styleNoel Grandin2013-05-283-33/+27
| | | | Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
* Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann2013-05-254-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
* Resolves: #i121857# Presentation Minimizer: fix filter namingAriel Constenla-Haile2013-05-231-1/+22
| | | | | | | | | (cherry picked from commit 75833fdb6ede664fdcef38a16ecf1f8d3f3adc7d) Conflicts: sdext/source/minimizer/fileopendialog.cxx Change-Id: I164cc6d9916ddf9dba9da273b5181e5728127292
* Use the new type-checking Reference constructor to reduce code noiseNoel Grandin2013-05-222-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>
* fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin2013-05-213-28/+20
| | | | Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
* fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin2013-05-214-84/+38
| | | | Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
* Resolves: #i82852# Presentation Minimizer: missing icon in info dialogAriel Constenla-Haile2013-05-142-39/+14
| | | | | | | | | | (cherry picked from commit 8fd66eeb883676c095c8360ef609e56b9bc055a3) Conflicts: sdext/source/minimizer/informationdialog.cxx sdext/source/minimizer/informationdialog.hxx Change-Id: I8f6ea8edf7c1b95fefa6c280a92030d628339e56
* Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqualHerbert Dürr2013-05-101-15/+1
| | | | | | | | | | | | | | | | | | unify the various c-string compares and hashes. (cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92) Conflicts: oox/inc/oox/export/shapes.hxx oox/source/export/shapes.cxx sal/inc/rtl/string.hxx sdext/source/minimizer/pppoptimizertoken.cxx svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx vcl/source/glyphs/gcach_ftyp.cxx writerfilter/source/resourcemodel/TagLogger.cxx xmloff/source/draw/EnhancedCustomShapeToken.cxx Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
* fdo#56995 Created global option to disable presenter console in Impressmmeof2013-05-092-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes made are as Follows /officecfg/registry/schema/org/openoffice/Office/Impress.xcs To add the new global checkbox to Libreoffice Impress>General>Start A new xml block for EnablePresenterScreen was added <prop oor:name="EnablePresenterScreen" oor:type="xs:boolean" > /sd/source/ui/app/optsitem.cxx To add the setter/getter for the new checkbox button, namely: SetEnablePresenterScreen IsEnablePresenterScreen EnablePresenterScreen added to index number 26 of: GetPropNameArray() /sd/source/ui/dlg/tpoption.cxx SdTpOptionsMisc() editted to attach EnablePresenterScreen to CBX_ENABLE_PRESENTER_SCREEN aCbxEnablePresenterScreen ( this, SdResId( CBX_ENABLE_PRESENTER_SCREEN)) Also Added to FillItemSet() and Reset() functions /sd/source/ui/dlg/tpoption.src b/sd/source/ui/dlg/tpoption.src enableSdRemote size changed to Size = MAP_APPFONT ( 116 , 10 ) ; Pos = MAP_APPFONT ( 12 , 171 ) ; 158 was correct but 171 was added on request To allow enableSdRemote(CBX_ENABLE_SDREMOTE) and enablePresenterScreen( CBX_ENABLE_PRESENTER_SCREEN) to be drawn adjacent. enablePresenterScreen checkbox CBX_ENABLE_PRESENTER_SCREEN added /sd/source/ui/inc/optsitem.hxx Set default value for enablePresenterScreen as 1 or TRUE sal_Bool bEnablePresenterScreen : 1; Added getter/setter named same as above for interface definition sd/source/ui/inc/tpoption.hrc Defined CBX_ENABLE_PRESENTER_SCREEN as 42nd checkbox #define CBX_ENABLE_PRESENTER_SCREEN 42 /sd/source/ui/inc/tpoption.hxx Added interface declaration of aCbxEnablePresenterScreen which was attached to CBX_ENABLE_PRESENTER_SCREEN /sdext/source/presenter/PresenterScreen.hxx Added interface declaration of bool isPresenterScreenEnabled() to PresenterScreen class to allow presenterscreen to get if the option is checked /sdext/source/presenter/PresenterScreen.cxx Added definition of isPresenterScreenEnabled(const css::uno::Reference<css::uno::XComponentContext>& rxContext) Input : Current Process Context Output : The 0/1 value of EnablePresenterScreen from presenterconfig In PresenterScreenListener::notifyEvent( ) Added if(mpPresenterScreen->isPresenterScreenEnabled(mxComponentContext) mpPresenterScreen->InitializePresenterScreen() To initialize PresenterScreen only when enabled Change-Id: If8242e607323df57d8e78d08cf2129d03c0c9e4f Reviewed-on: https://gerrit.libreoffice.org/3762 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* zlib: remove ExternalPackage_zlibMichael Stahl2013-05-083-16/+4
| | | | Change-Id: I5bce88b2044279a6563fd68c35f9c1ac824c8850
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-061-1/+1
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* pdf2xml implicitely needs cppunit headers.Thorsten Behrens2013-04-301-0/+1
| | | | Change-Id: I070ed7ebc0b470bf03be17031455f682b7872087
* Fix warning: unused variable 'aIniUrl' [loplugin]Tor Lillqvist2013-04-301-1/+1
| | | | Change-Id: I11a2a7e8e1f3f089c3b475df1147cefafecdb376
* WaE: 'SAL_OVERRIDE' macro redefinedTor Lillqvist2013-04-301-6/+2
| | | | Change-Id: Ic8af47b52b06ef440b3fdaa966075780fb7a609b
* pdfunzip rather needs ~no office libraries.Thorsten Behrens2013-04-301-4/+0
| | | | Change-Id: I27df97ab6e35b03dfe70c7a979dd06f977086069
* Make pdf2xml usable at least from within buildenv again.Thorsten Behrens2013-04-302-27/+13
| | | | | | | Seems this had bitrotted quite a lot. Calling it now like a cppunit test works again. Change-Id: I27479c3c3e1c1fe0639629e9bf8844456e0b0515
* Add unit test for pdfimport image import.Thorsten Behrens2013-04-301-1/+5
| | | | Change-Id: Ifd51f0c25418085ba8a6e8d331ac5c6d8139d18a
* Fix import of images from pdf.Thorsten Behrens2013-04-302-72/+89
| | | | | | | | | Seems poppler changed outputdev virt func signatures with version 12, so with system poppler, we never got any image import functions called. Added override annotation to prevent this from happening in the future. Change-Id: I565de80ce218e831e276d3a1d88ded3baee876e7
* fdo#46808 Convert awt::Pointer to new styleNoel Grandin2013-04-252-11/+3
| | | | Change-Id: Ic2ff491e656ab7bcf0bd5994b601818a26478243
* gbuild: drop empty use_packages callsDavid Tardon2013-04-242-6/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-8/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* move URE headers to include/David Tardon2013-04-242-6/+0
| | | | | | | Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>