summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2013-07-16remove usage of removed headerLuboš Luňák1-1/+0
Change-Id: I9c53f3b269b336ecd714c5b1d67ff333b541e9e6
2013-07-16avoid unused warning in non-debug buildLuboš Luňák1-0/+1
Change-Id: I209292603b69f51d354369d99cb58fe32bc65a8d
2013-07-16Delete SvCacheStream classPalenik Mihály1-3/+2
I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-16convert versions of dialog to .uiCaolán McNamara8-303/+514
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550
2013-07-15i#108348: support DateTimeWithTimezone in user defined Document PropertiesMichael Stahl2-40/+103
- fix interface of sax::Converter to allow passing time zones (rename the parsing methods while at it to reduce pointless overloading) - SfxDocumentMetaData supports DateWithTimezone and DateTimeWithTimezone in user-defined properties - add some ugly hacks to SfxCustomPropertiesPage to preserve existing time zones (which are not displayed in UI currently) Change-Id: Ice94112b9d79c285f80b5beda15f0ace91db97f3
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl6-16/+26
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-14Mark as constTakeshi Abe1-2/+2
Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke3-3/+3
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12PCH for more librariesLuboš Luňák7-4/+870
Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
2013-07-12Resolves: fdo#66675 set alerts to non resizableCaolán McNamara1-0/+1
GNOME HIG states that "Alert windows are not resizable" so consistent with that. Change-Id: I44240f2202fafca2e6a0502e09f22683bbea4c50
2013-07-11use LanguageTag to convertEike Rathke1-7/+1
Change-Id: Id32a8a75cd24a8acc4dada689a5688767de6745b
2013-07-11use LanguageTag to convertEike Rathke1-13/+3
Change-Id: I9209b659eb88df5610882a476dc12ac45527e568
2013-07-11comparing Locales without Variant is now insufficientEike Rathke1-3/+4
Previous code also had some odd notion of inequality ... Change-Id: I0e75035a0618a3a0a177d22296155b9ae2a26185
2013-07-11use LanguageTag to convertEike Rathke1-28/+2
Change-Id: I689bb64664ee36b2e3e8386ebd20cdd95c51142b
2013-07-10removed unused language/country string member variablesEike Rathke1-22/+0
Change-Id: I7659dac1a3d17b4099f310fd7b6d17455bdda2eb
2013-07-10convert version comment dialog to .ui formatCaolán McNamara6-113/+204
Change-Id: I7bbcc19062883932bf2e2fd68928f3f5624c4748
2013-07-09Remove duplicate code for reading thumbnailsKrisztian Pinter2-97/+104
Change-Id: I51de8d07a4dc51ba03d24a1a5805df051b6e09b4 Reviewed-on: https://gerrit.libreoffice.org/4779 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09Resolves: #122707# Show a frame around toolbars in sidebar panels.Andre Fischer1-5/+9
(cherry picked from commit f6159d52f0423808eaddc9b5f3906cfc3e6baa0b) Conflicts: sfx2/source/sidebar/Theme.cxx svx/source/sidebar/text/TextPropertyPanel.hrc Change-Id: I0163d3766923a5a333214f09db4837435590d753
2013-07-09fix the sfx2->sfx log area renameLuboš Luňák6-11/+11
These were missing from d38cb53e3bcf3fd95a75e03b01c3b7a209d07b46. Change-Id: I50b2f7a2ec1ff5848802fc6c08e7a6e8e7ccb7f7
2013-07-08rename sfx2 log area to sfxMichael Stahl32-149/+149
not like there never was a sfx1 anyway... perhaps we should rename the whole module... Change-Id: I50c7302f84f15a1d778eca19507694a3bd070b22
2013-07-08fdo#65055: sfx: fix automatic version on closeMichael Stahl2-3/+6
The parameter "FailOnWarning" is passed around better now, so it arrives in SfxBaseModel::storeSelf() which considers it illegal. (regression from e2799d253b1dc62967693aa5bccd7360a9520967) Change-Id: I2a51a2ecc24e6de506e1840bd28cbe157a8ad6a5
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann1-3/+3
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-08-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)Stephan Bergmann1-2/+2
...apparently mistyped conditions happened to work as intended (E_None being 0). Change-Id: I3ffd849fc4790bfaea36d614b900eceae5f1e8eb
2013-07-08allow SfxTabDialog ok button to have custom textCaolán McNamara1-1/+1
Change-Id: Ia38a982b37568c9225c03197a085db3164602f85
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud5-127/+67
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-05cleanup src filesThomas Arnhold2-35/+0
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-05accidental push of merge in progress, sighCaolán McNamara3-840/+0
This reverts commit c61c5a240314f1899a2160a97e00e2108104e4bd.
2013-07-05Related: #i122635# Add layouting to some sidebar panels.Andre Fischer3-0/+840
(cherry picked from commit 4f9ac2af7157786ee6fba46551bd6782730d8b55) Conflicts: sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx sfx2/Package_inc.mk sfx2/inc/sfx2/sidebar/SidebarToolBox.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.cxx svx/source/sidebar/text/TextPropertyPanel.hrc svx/source/sidebar/text/TextPropertyPanel.src sw/source/ui/sidebar/PagePropertyPanel.cxx Change-Id: I94bfc87c9eeddd0c39bd979dd26b11c95b1e3c72
2013-07-04warning C4305 truncation from String* to boolMichael Stahl1-1/+1
Change-Id: Ie623a8c5def6357461db83f5df80cb45cc5a6389
2013-07-04module sot: String, bool and other clean-upNorbert Thiebaud2-3/+4
Change-Id: Ibe2bfdf20c500e9fd98c3baef66d36aa79ca4b52 Reviewed-on: https://gerrit.libreoffice.org/4710 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-03restore title on Format Number single tab dialogsCaolán McNamara1-13/+18
Allow a .ui to be given to the SingleTabDialog ctor. There are *three* single-tab Format Number dialogs, we really should combine them together into one dialog. Change-Id: I1021c9b968764bd9ad35832958ef2bd067fca798
2013-07-02fdo#61429: Stylist: try a little harder to restore "hierarchical"Michael Stahl2-19/+26
Change-Id: I30972224c5a9aa12c4ef4c2b5ca80e7aece0baad
2013-07-02... fix more -Werror=address (wrong TempFile ctor called)Michael Stahl1-1/+1
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
2013-07-02SfxMedium: fix -Werror=address (wrong TempFile ctor called)Michael Stahl1-1/+3
Change-Id: I1bafc953f21c7e139da5fc4594b37d6d75ed88de
2013-07-02drop unused SfxSpecialConfigError_ImplCaolán McNamara1-29/+0
unused since a2bf98857b675b2d10a4fd93a0413229abebf3f1 Change-Id: I73c253e763eb9239256dfd78b4b782a36bc3a30d
2013-07-02OUString convertion for unotoolsNorbert Thiebaud1-8/+8
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707 Reviewed-on: https://gerrit.libreoffice.org/4659 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-01Resolves: fdo#66027 #i122116# Remove GalleryExplorer member functionsAriel Constenla-Haile1-28/+0
(cherry picked from commit e94681fb47e3c5bdba486cd8feca92705d44840d) Conflicts: sc/source/ui/app/typemap.cxx sc/source/ui/view/galwrap.cxx sc/source/ui/view/makefile.mk sc/source/ui/view/tabvwsh9.cxx sd/source/ui/view/drviews9.cxx svx/Package_inc.mk svx/inc/GalleryControl.hxx svx/inc/galbrws2.hxx svx/inc/svx/galbrws.hxx svx/inc/svx/gallery.hxx svx/source/gallery2/GalleryControl.cxx svx/source/gallery2/galbrws.cxx svx/source/gallery2/galbrws2.cxx svx/source/gallery2/galexpl.cxx sw/source/ui/shells/basesh.cxx Change-Id: I49c2b99ca551f058b852c0e5e28cc2fe8c205031
2013-06-30misc minor tweaks to messagedialogsCaolán McNamara1-1/+1
Change-Id: I0ec4a7257d352fac43aca57269ffaec96a706651
2013-06-30Rename ValueItemList to ThumbnailValueItemListThomas Arnhold1-1/+1
The more common definition comes from svtools/valueset.hxx. Make the difference clear. Change-Id: I79b09f31007a4c00860fa97d8517a2b1f6aadeea
2013-06-29remove OUString wrap for string literalsThomas Arnhold25-88/+88
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 Arnhold1-1/+1
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29Search for char instead of 1 char long string, when possible.Thomas Arnhold1-1/+1
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold6-6/+6
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28convert pdf security page to .uiCaolán McNamara1-1/+1
Change-Id: Ie785f4b112b8992707f886720d92bd34d0823f39
2013-06-27add missing VclBuilder::stringmap argument to some builder functionsCaolán McNamara1-1/+2
Change-Id: I57e13920b4707ebe5b6a7149dbdbfc45593c0d9d
2013-06-27Use larger (96*96) icons for templatesStefan Knorr1-4/+4
Change-Id: I0a7b88de53d47a935d6290c52ba8749d08187643 Reviewed-on: https://gerrit.libreoffice.org/4458 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-06-25WaE: unused variable 'aText' [loplugin]Tor Lillqvist1-2/+0
Change-Id: I846030c5c7ad4e30e5286d1ee30130a397ad4daa
2013-06-24Resolves: fdo#66105 set max growth width for labels/edits which take pathsCaolán McNamara1-0/+2
Change-Id: I12220821f76550baacdc8ce604f2e612d260c1a1
2013-06-24Kill SfxAppToolBoxControl_ImplAriel Constenla-Haile3-361/+147
(cherry picked from commit 273121f8d7e277e35c8e5a8aad46ef0c103ebc03) Conflicts: sfx2/inc/sfx2/mnuitem.hxx sfx2/inc/sfx2/tbxctrl.hxx sfx2/source/appl/appreg.cxx sfx2/source/menu/mnuitem.cxx sfx2/source/toolbox/tbxitem.cxx Change-Id: I6d0750d89ad009f82c5552d971537b78e45426f2 Silence warning C4706 (cherry picked from commit 0b373b3e4c45d09c40a8949e9366adb9b991de4b) Change-Id: Id497469eba8288565145c47c84b7938a1316c21a
2013-06-23Fix linking error of app for iOS in optimized buildTor Lillqvist1-2/+4
ShowLockedDocumentDialog uses the DocumentLockFile API which is not compiled for non-desktop OSes (see svl/Library_svl.mk). This leads to an undefined reference to svt::DocumentLockFile::m_bAllowInteraction. As ShowLockedDocumentDialog isn't used anyway without HAVE_FEATURE_MULTIUSER_ENVIRONMENT, put it inside such an #if, too. Thanks to Tsahi Glik <tsahi.glik@cloudon.com> for noticing. Change-Id: I45d2179395b44709c52ab1871866a2bd5720c8b6