summaryrefslogtreecommitdiff
path: root/sfx2/source/view
AgeCommit message (Collapse)AuthorFilesLines
2014-02-21vcl: CUPS printing: notify user if spooling failedMichael Stahl1-0/+1
CUPS does not accept jobs for a printer that has been stopped; pop up an error message in this case instead of silently ignoring failure. Change-Id: I1bc9120c9c9f438e350c964ed7ef29924a72ce78 (cherry picked from commit cdb405f4e4b168d1e2f6dea9ac985df319a76015) Reviewed-on: https://gerrit.libreoffice.org/8115 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann1-1/+1
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. (cherry picked from commit a3f32769fc4bb23c64168b412dd10ec769a3854d) Conflicts: sc/source/ui/unoobj/nameuno.cxx sc/source/ui/unoobj/styleuno.cxx sfx2/source/appl/sfxhelp.cxx stoc/source/security/permissions.cxx sw/source/core/unocore/unocrsrhelper.cxx (None of those bogus startsWith calls seem problematic enough to warrant backporting also to libreoffice-4-2-0.) Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21 Reviewed-on: https://gerrit.libreoffice.org/7578 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin3-5/+5
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin1-1/+1
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin2-13/+13
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-18Set Referer for auto-reloadStephan Bergmann1-1/+7
Change-Id: Ie6b664bcd2021820a5baf158582fce7a07c112af
2013-11-18Move SfxFrame::IsAutoLoadLocked_Impl to frame.cxxStephan Bergmann1-0/+16
Change-Id: I7b5d4a5eeeefa6191cebeada363553c8d6d6d29c
2013-11-11sfx2: include <> for external includesNorbert Thiebaud11-50/+50
Change-Id: I63de4bc034020d19abd20f301194482da9a604f4
2013-11-08remove unnecessary use of OUString constructor in SFX2 moduleNoel Grandin2-12/+12
Change-Id: Ieafc413136a9b4b907de034914d918212e4c16e3
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-1/+1
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-03SfxFrameLoader_Impl::impl_getStaticSupportedServiceNames() silly mutexMichael Stahl1-1/+0
Change-Id: I5b9ffed3527b5be544a7aa57f67840d30b4ebff5
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-1/+1
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-28fixincludeguards.sh: sfx2Thomas Arnhold3-7/+7
Change-Id: I135d03fa8926e0fdba977005e97452045861b2a4
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist2-2/+2
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza1-10/+2
to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-17Bin --enable-desktop-gui-elementsTor Lillqvist1-1/+1
Nobody wants LO's own widgets in a touch / mobile app after all. Change-Id: I84f1e85cebce80b6ff4ec5e4e3254654b5f5e6ec
2013-10-09Improve ErrorCodeIOException messagesStephan Bergmann1-0/+1
...and clean up some includes. Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-3/+0
Change-Id: I499e5832999fd54b44774877da2ec3838d21ce75
2013-09-27cppcheck: redundantAssignmentJulien Nabet1-4/+2
Change-Id: I43ae91f0b91479fb279b0efbeb0cb4195e7b083a
2013-09-27Google Drive files don't need Checkout bar.Cao Cuong Ngo1-7/+12
Plus, the Name property has been changed to Id, that was the reason the Checkin bar disappeared. Change-Id: I03f6ef4e1399c0f8b2a347ca8acd8a42daffa497
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-20Turn sidebar back to non-experimentalCaolán McNamara1-56/+2
This reverts commit 7ce2a89f4f8fa84232896766276cb3433ada239c. Change-Id: I53f572777e84f66fd4c3d18fb686dac09095804a revert d38cb53e3bcf3fd95a75e03b01c3b7a209d07b46 Change-Id: I5b243b69e50084316aaeab250d6b01079c12b718 Revert "sidebar: disable impress task pane if sidebar is enabled." This reverts commit ee1726bfdba483623d496a3bcc09089e8b55cd65. revert 54d820a7815af03a248c1aa424fae9bf9a4881f4 Change-Id: Ie7c83d88f5427a7e42fa50879280a0c4a7c2cdd1 Revert "Only register and use the Sidebar if it is globally enabled." This reverts commit 66a5cc468cef0c6db8b42b7f25367f04208e6f2e. Conflicts: sfx2/source/view/viewfrm.cxx Change-Id: I17fe702996c4adf7f387573d36ea993f8cc32c96 Revert "disable sidebar menu option if it is disabled." This reverts commit 05f0eb57618d090fa45011120a907a3b1157accb. Revert "finally get the taskpane rendering again" This reverts commit 228bb7ffe0d404ba1225f7b4d26ca71e098577d9. Conflicts: officecfg/registry/data/org/openoffice/Office/Impress.xcu sd/source/ui/framework/factories/TaskPanelFactory.cxx sd/source/ui/framework/tools/FrameworkHelper.cxx Change-Id: I248cc9a769695cde19e78774d42ce666dc685599 Revert "don't throw up the sidebar on start." This reverts commit 645db9a2bd9b1eec381de60c491e6b7f9ee7a7b4. Conflicts: officecfg/registry/data/org/openoffice/Office/Views.xcu Change-Id: I911859757e2e019836e8ed5213d2ba69ff82aec8 Revert "update to the right service name for new URLs." This reverts commit 55f49970f4085e3a1498961edabd5303bd6bea6c. Conflicts: sd/source/ui/framework/tools/FrameworkHelper.cxx Change-Id: I1ba2762a4c969a9125ff8354a9b6035813290021 Revert "tentatively restore more UNO / task-pane goo ..." This reverts commit 052ac10a6f9b28b9b06884dd3ed41879722be6c9. Conflicts: officecfg/registry/data/org/openoffice/Office/Impress.xcu Change-Id: I7e62f27329af033df811549436718648a6447dea Revert "more reverts, first cut at making sidebar optional." This reverts commit a65a423e22fc03d0b7850bbf20dfc30f6cfa34dd. Revert "add experimental option for sidebar to 'Advanced' pane." This reverts commit 54d820a7815af03a248c1aa424fae9bf9a4881f4. Conflicts: cui/source/options/optjava.cxx sd/source/ui/framework/module/ImpressModule.cxx Change-Id: I09a6c0f7834c8ef330d05a014505aaaf09ae096f Revert "Restore FrameworkHelper taskpane URLs." This reverts commit e9c2d5b26b1e1b52bdf87192a76314b7362fa80c. more foo Change-Id: I2eaa2fbd74dc7a2f7ba937d310472cee6b5a0b57 really go to town on it Change-Id: I885dc03cd0286bbfdf05c05da9f0bbea2b78bcf4
2013-09-02CMIS properties dialogCao Cuong Ngo1-1/+1
Rename CmisPropertyValues to CmisProperty Change-Id: I7360e6b55406c1abe381c8d915be41d972498167
2013-09-02CMIS propertiesCao Cuong Ngo1-1/+1
Create a CmisPropertyValue with additional DisplayName, Updatable and Required properties. Change-Id: Ia20d76a739ac5c51d7c89ef6f1a40a299697cb0e
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-0/+1
Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-26/+6
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-29convert chunk of sfx internal code from String to OUStringNoel Grandin6-49/+49
Change-Id: Ibf728d8a80d62cb3b2bfa985d4e685b9749f7ab8
2013-08-29remove unnecessary header sfx2/source/inc/fltfnc.hxxNoel Grandin1-1/+1
the only method it declares no longer exists, to inline its includes into the places using it. Change-Id: I1fed09835f221a34722dbdd3f33a079a373d8b36
2013-08-29convert sfx2/source/view/impviewframe.hxx from String to OUStringNoel Grandin2-4/+4
Change-Id: I4b6be16e7355303f653228d3f97ba7903db02cb2
2013-08-29convert include/sfx2/doctempl.hxx from String to OUStringNoel Grandin1-2/+2
Change-Id: I0d4232afa37539bafd779b1cc9a323aabb1d6b0e
2013-08-29convert includes/sfx2/frame.hxx from String to OUStringNoel Grandin1-5/+5
Change-Id: Ia69548250beb2896cab8c19fe2e635fdc9162f4d
2013-08-29convert include/sfx2/printer.hxx from String to OUStringNoel Grandin1-1/+1
Change-Id: I3facb00170de00253a2cfa60670b5f4e847f1f8d
2013-08-29convert include/sfx2/shell.hxx from String to OUStringNoel Grandin1-1/+1
Change-Id: If8df55498c5562c397b1330a6775169030d00609
2013-08-22convert include/sfx2/viewfac.hxx from String to OUStringNoel Grandin1-3/+3
Change-Id: Ia0cea486e77e449f86cf21013dd193523868261f
2013-08-22convert include/sfx2/viewfrm.hxx from String to OUStringNoel Grandin1-1/+1
Change-Id: I0d8443b6c288449b74baa5d56593390ba3a9e419
2013-08-22convert include/sfx2/viewsh.hxx from String to OUStringNoel Grandin1-1/+1
and de-virtual JumpToMark because no-one seems to be overriding it. Change-Id: I35cf856d817f2685463ae5ef9f2ebc00e515fe3d
2013-08-22Mark as constTakeshi Abe1-1/+1
Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
2013-08-22sal_Bool to boolTakeshi Abe1-7/+7
Change-Id: I4ab448a461a9fe37ba18838357d371f71b0a496c
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks1-2/+2
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-16WaE: C4805: '==' : unsafe mix of type 'bool' and type 'sal_Bool' in operationTor Lillqvist1-1/+1
Change-Id: Ib4da1e4f488971d7508054159df3e277daea7e5f
2013-08-14convert Read/WriteUserData methods to OUString and boolIvan Timofeev2-5/+4
Change-Id: I06a8158b7f503976b19383014a7c8a867c0184ea
2013-08-14convert GetSelectionText... methods to OUString and boolIvan Timofeev1-3/+3
Change-Id: I77726f009338ae49877c5f58fe6c14d386089bbe
2013-08-03fdo#46037: remove another 1 comphelper/configurationhelper in sfx2Julien Nabet1-1/+0
Change-Id: Id419540f2c9d1fc9bfcbfcc67239362c667b75c8
2013-07-31fdo#46037: no more comphelper/configurationhelper in sfx2/viewJulien Nabet1-48/+30
Change-Id: Iba139247f3515c834d8abcfd4322964dbc3abca4 Reviewed-on: https://gerrit.libreoffice.org/5134 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl1-1/+1
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-08rename sfx2 log area to sfxMichael Stahl2-5/+5
not like there never was a sfx1 anyway... perhaps we should rename the whole module... Change-Id: I50c7302f84f15a1d778eca19507694a3bd070b22
2013-06-29remove OUString wrap for string literalsThomas Arnhold4-8/+8
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-28remove toolkit/unohlp.hxx hackThomas Arnhold2-2/+2
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-19Resolves: #i121810# Adapt SfxPrintingHint to work with...Ariel Constenla-Haile1-4/+9
the "new" XDocumentEventBroadcaster (cherry picked from commit 1bfae56dd9d633a80924bfeefc03368100d75a8f) Conflicts: sfx2/inc/sfx2/event.hxx sfx2/source/view/viewprn.cxx Change-Id: I6b3e1edc396b82d85fe059e6cdf7ad0009d5b94b
2013-06-18String to OUString (SfxStringItem and related)Matteo Casalin2-4/+4
Change-Id: I390413e9ff3efee720a6423fb8695b4c655d7efa Reviewed-on: https://gerrit.libreoffice.org/4280 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>