summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-24fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa
Change-Id: I41efcb94121a005d9f44cc17e8ecb5598e8ffba8 Reviewed-on: https://gerrit.libreoffice.org/5057 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24XubString->OUStringCaolán McNamara
Change-Id: Ie6b44d1f4abe1826254ab5bb178d73606bd1283c
2013-07-23expand out the U2S and S2U macros from sfxuno.hxxNoel Grandin
They are vestiges of the old string classes. Change-Id: I5dd458bd2dac5f2e867ddaa731190f159b8a3b65
2013-07-23convert sfx2 UNO services to WeakImplHelperNoel Grandin
...removing the SFX_ UNO-related macros as a result. Change-Id: I56542885847ff0adc604f309ed7e2582b7529f3f
2013-07-20callcatcher: update unused codeCaolán McNamara
Change-Id: Id12614722ed106ca595df13d22b6c5e315deb2ac
2013-07-17Move hasBigImages() from ToolboxController to SfxToolBoxController.Jan Holesovsky
We want to decide whether the images are big or not based on the real (underlying) ToolBox, not on the global setting, because we can have both toolbars with large as well as small icons visible at the same time (small in sidebar, large in toolbars). Change-Id: I046a12a495f2038df9a571f5779794a639bae6dc
2013-07-16remove usage of removed headerLuboš Luňák
Change-Id: I9c53f3b269b336ecd714c5b1d67ff333b541e9e6
2013-07-16avoid unused warning in non-debug buildLuboš Luňák
Change-Id: I209292603b69f51d354369d99cb58fe32bc65a8d
2013-07-16Delete SvCacheStream classPalenik Mihály
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 McNamara
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550
2013-07-15i#108348: support DateTimeWithTimezone in user defined Document PropertiesMichael Stahl
- 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 Stahl
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 Abe
Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
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ňák
Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
2013-07-12Resolves: fdo#66675 set alerts to non resizableCaolán McNamara
GNOME HIG states that "Alert windows are not resizable" so consistent with that. Change-Id: I44240f2202fafca2e6a0502e09f22683bbea4c50
2013-07-11use LanguageTag to convertEike Rathke
Change-Id: Id32a8a75cd24a8acc4dada689a5688767de6745b
2013-07-11use LanguageTag to convertEike Rathke
Change-Id: I9209b659eb88df5610882a476dc12ac45527e568
2013-07-11comparing Locales without Variant is now insufficientEike Rathke
Previous code also had some odd notion of inequality ... Change-Id: I0e75035a0618a3a0a177d22296155b9ae2a26185
2013-07-11use LanguageTag to convertEike Rathke
Change-Id: I689bb64664ee36b2e3e8386ebd20cdd95c51142b
2013-07-10removed unused language/country string member variablesEike Rathke
Change-Id: I7659dac1a3d17b4099f310fd7b6d17455bdda2eb
2013-07-10convert version comment dialog to .ui formatCaolán McNamara
Change-Id: I7bbcc19062883932bf2e2fd68928f3f5624c4748
2013-07-09Remove duplicate code for reading thumbnailsKrisztian Pinter
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 Fischer
(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ňák
These were missing from d38cb53e3bcf3fd95a75e03b01c3b7a209d07b46. Change-Id: I50b2f7a2ec1ff5848802fc6c08e7a6e8e7ccb7f7
2013-07-08rename sfx2 log area to sfxMichael Stahl
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 Stahl
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 Bergmann
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-08-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)Stephan Bergmann
...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 McNamara
Change-Id: Ia38a982b37568c9225c03197a085db3164602f85
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud
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 Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-05accidental push of merge in progress, sighCaolán McNamara
This reverts commit c61c5a240314f1899a2160a97e00e2108104e4bd.
2013-07-05Related: #i122635# Add layouting to some sidebar panels.Andre Fischer
(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 Stahl
Change-Id: Ie623a8c5def6357461db83f5df80cb45cc5a6389
2013-07-04module sot: String, bool and other clean-upNorbert Thiebaud
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 McNamara
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 Stahl
Change-Id: I30972224c5a9aa12c4ef4c2b5ca80e7aece0baad
2013-07-02... fix more -Werror=address (wrong TempFile ctor called)Michael Stahl
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
2013-07-02SfxMedium: fix -Werror=address (wrong TempFile ctor called)Michael Stahl
Change-Id: I1bafc953f21c7e139da5fc4594b37d6d75ed88de
2013-07-02drop unused SfxSpecialConfigError_ImplCaolán McNamara
unused since a2bf98857b675b2d10a4fd93a0413229abebf3f1 Change-Id: I73c253e763eb9239256dfd78b4b782a36bc3a30d
2013-07-02OUString convertion for unotoolsNorbert Thiebaud
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-Haile
(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 McNamara
Change-Id: I0ec4a7257d352fac43aca57269ffaec96a706651
2013-06-30Rename ValueItemList to ThumbnailValueItemListThomas Arnhold
The more common definition comes from svtools/valueset.hxx. Make the difference clear. Change-Id: I79b09f31007a4c00860fa97d8517a2b1f6aadeea
2013-06-29remove OUString wrap for string literalsThomas Arnhold
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 Arnhold
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 Arnhold
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>