summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann1-14/+14
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 RTL_CONSTASCII_STRINGPARAM in OStringBuffer constructorNoel Grandin1-1/+1
Convert code like: OStringBuffer aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OStringBuffer aKeyName("NDX"); which compiles down to the same code Change-Id: If9c96a290bc18cc8285fb733f27be58c6958b63c
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin1-14/+14
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 Grandin1-4/+4
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-11sfx2: include <> for external includesNorbert Thiebaud1-2/+2
Change-Id: I63de4bc034020d19abd20f301194482da9a604f4
2013-09-18Resolves: fdo#69440 only ask for tabcontrol in builder dialogsCaolán McNamara1-1/+2
Change-Id: I6001f8921f3b90283525355b0094c4377c42c663
2013-07-10removed unused language/country string member variablesEike Rathke1-22/+0
Change-Id: I7659dac1a3d17b4099f310fd7b6d17455bdda2eb
2013-07-08rename sfx2 log area to sfxMichael Stahl1-4/+4
not like there never was a sfx1 anyway... perhaps we should rename the whole module... Change-Id: I50c7302f84f15a1d778eca19507694a3bd070b22
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-06-29remove OUString wrap for string literalsThomas Arnhold1-3/+3
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-06Remove remnants of help agentCaolán McNamara1-159/+3
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b but gobs of code (and UI) still existed to collect the help id and give it to the missing help agent with various UI visible options and buttons to control the help agent which isn't there Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-05-07fdo#64211 replace "%2F" to "/" in online (wiki) help URLsAndras Timar1-0/+1
It is not possible to create wiki pages with URLs that have %2F in them. Help URLs contain %2F, when invoked from dialogs that are based on .ui files, it seems this is the new HID syntax. For example for Zoom dialog LibreOffice used to call http://help.libreoffice.org/simpress/cui%2Fui%2Fzoomdialog%2Fzoomsb and it did not work. Now it calls http://help.libreoffice.org/simpress/cui/ui/zoomdialog/zoomsb and it works. Change-Id: I163cf8ec3b69f31eadbbd9085d2180839fe91e07
2013-04-09make help work againCaolán McNamara1-2/+2
This is a regression from b248624126c271c88381d3dad6e04fc954f65779 I suspect there might be more. Change-Id: I9ffbcfb8d32b0b0b4193a86eee90d0a5f481de11
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin1-8/+8
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-03limit scope of the variableMarkus Mohrhard1-1/+1
Change-Id: Ic6001ca66e85cdeb4c797aaab1138c27b9e17c67
2013-04-03maybe a bit over-engineeredMarkus Mohrhard1-11/+2
Change-Id: Ia7a491241ad78cafc542e63b3796b7c32fa5300c
2013-04-03screen space is a valuable good, don't waste itMarkus Mohrhard1-11/+7
Change-Id: I67d47ef4030ce60d1cbc160a52cad7cc3c417b34
2013-04-03this variable was unusedMarkus Mohrhard1-1/+0
Change-Id: I7ea23acbaebb02def5d7875bc07fb7c10b2af883
2013-04-03more clean-up around SfxContentHelperMarkus Mohrhard1-3/+3
Change-Id: I836a260d0e7c8b61cf4b6b6c378da854ca188a22
2013-03-04doubled namespacesThomas Arnhold1-1/+0
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-02-22String -> OUStringIvan Timofeev1-20/+23
Change-Id: I5b577a8e0675d7849ca22e24bb99ee2d8602ae6a
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev1-1/+1
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-16coverity#441015 Use after freeCaolán McNamara1-0/+3
Change-Id: Iba7b3b2969525bbb8315452962556d08773e04fd
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac1-13/+13
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-24look into active tabcontrol page on help fallback searchCaolán McNamara1-1/+14
Change-Id: I13eda8a66e437c5f428b3ee3e9106f25cc9d02b7
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-15/+9
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-10-02XubString->OUStringCaolán McNamara1-121/+115
Change-Id: Id64cdd70c2877ff71c5bc90286fab6b3d8ab7ad4
2012-09-28move layout diagnostics to vcl.layout channelCaolán McNamara1-8/+0
Change-Id: Ib33d91ea56219036182d30fdd3dc2159ce32a48c
2012-09-28convert writer, draw, impress, calc and starmath printer dialogsCaolán McNamara1-0/+12
to new-style widget layout mostly described in .ui format Change-Id: I8ead53a246a8ac3e2d446d158f06d7e2e436ce60
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-1/+2
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-05Some clean up of previous commitStephan Bergmann1-8/+5
Change-Id: I14097acf09e9663af7d7abc5f0c9d481880ecc51
2012-09-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin1-5/+3
Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-03fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin1-9/+4
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-5/+3
Change-Id: I7162523a26488b8528a91ec7abd587f55647acbb
2012-07-25delete svl/svstdarr.hxxMichael Stahl1-1/+0
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-06re-base on ALv2 code. Includes:Michael Meeks1-30/+14
Patches contributed by Mathias Bauer: cws mba34issues01: #i117713#: remove superfluous assertions about field unit fallbacks http://svn.apache.org/viewvc?view=revision&revision=1172341 cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117708#: status indicator for inactive documents http://svn.apache.org/viewvc?view=revision&revision=1172358 cws mba34issues01: #i116025#: fix typo and add missing treatment of new parameter http://svn.apache.org/viewvc?view=revision&revision=1172359 cws mba34issues01: #i117024#: rework parameter conversion for load/save slots http://svn.apache.org/viewvc?view=revision&revision=1172360 cws mba34issues01: #i116803#: possible crash on Linux when dispatch.cxx is compiled with optimization http://svn.apache.org/viewvc?view=revision&revision=1172367 cws mba34issues01: #i114600#: fix compiler warning for name clash found on Solaris http://svn.apache.org/viewvc?view=revision&revision=1172371
2012-07-03ditch String::CreateFromAsciiCaolán McNamara1-2/+2
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-06-26tidy some resource stringsCaolán McNamara1-2/+2
Change-Id: I611a276d048121084ec842d062129e042f3baea5
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-2/+2
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud1-13/+13
Change-Id: I27a092628e48b39f7bad2ed895f80aeea0d9ee35
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold1-2/+2
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-10removed unused definesTakeshi Abe1-3/+0
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-3/+3
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-16Introduced SystemShellExecuteFlags::URIS_ONLYStephan Bergmann1-1/+1
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz1-7/+7
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz1-7/+7
2012-01-10Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora1-3/+0
2012-01-10Fix for fdo43460 Part XXXIII getLength() to isEmpty()Olivier Hallot1-9/+9
Part XXXIII Modules sfx2
2011-12-22catch by const refCaolán McNamara1-6/+6
2011-11-27remove include of pch header from sfx2Norbert Thiebaud1-2/+0