summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2013-02-25loplugin: improve indentationThomas Arnhold
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#38838,::rtl::OUString_to_OUStringelixir
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab Reviewed-on: https://gerrit.libreoffice.org/2330 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25Remove useless SfxStringEncode and SfxStringDecodeThomas Arnhold
They return empty strings. SearchAndReplace is a stray declaration from historic misc.cxx. Change-Id: Ia7aa970a8ca200bd7bdc5ed688a8f00d092c9561
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23sal: update log areasThomas Arnhold
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22String -> OUStringIvan Timofeev
Change-Id: I5b577a8e0675d7849ca22e24bb99ee2d8602ae6a
2013-02-22Better debugging messagesStephan Bergmann
Change-Id: I7c10329f87edfe5d6f801c0aa70e1f6860780c8b
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22fix sfx2 buildCaolán McNamara
Change-Id: I17b8ab426e7aabeb5db9d49391e0c1be99e63a51
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-21Fix type unkown -> unknownJulien Nabet
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
2013-02-21HIG, consistent border width for properties pageCaolán McNamara
Change-Id: Iacaa53c167230d40bd7e68216ff9deb97c528063
2013-02-21clone documentfontsdialog from sw, add method to SfxDocumentInfoDialog add tabNoel Power
Change-Id: I9cfb4f65e27a73921ac7944376677c5ddecdf9a9
2013-02-21change lib:widget delimiter from : to -Caolán McNamara
because glade catalogs don't allow : in widgetnames which blocks making a catalog for our custom widgets Change-Id: I3d590ce7451264b49fa5a82a752dac44e47bbd81
2013-02-20Some cppcheck cleaningJulien Nabet
Change-Id: I0b9d3b5f8283e2fddc96b220a755ba6bcdd11606
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-16coverity#441015 Use after freeCaolán McNamara
Change-Id: Iba7b3b2969525bbb8315452962556d08773e04fd
2013-02-15coverity#738978: Fix use after free.Jan Holesovsky
This was a corner case after the container types removal. Change-Id: I2200b7fc2d38946403d289e62ad602a63bd1cf6e
2013-02-15various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I0bd09c023be622ced9d3fa508e5e3463a3a5e5b2
2013-02-15use stock buttonCaolán McNamara
Change-Id: I203eac7e8f4b49524c9255924725f5f1de4b9979
2013-02-14appdde.cxx: try to fix MSVC buildMichael Stahl
Change-Id: I14baa8bc0a462492ada6e4aeb8d8f90a0de2a51d
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac
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-02-14CMIS: made it work with Lotus LiveCédric Bosdonnat
Making libcmis and LibreOffice work with Lotus Live service needed a few hacks to either better implement CMIS or workaround some bad implementations. As a general improvement, the CheckOut InfoBar isn't shown if the document can't be checked out.
2013-02-13Fix member variables not initialized in the constructorJulien Nabet
Change-Id: Ibd7138a185e4d4f87f36d59acd398387a52e9d34
2013-02-13move print options .ui to sfx2 and adapt codeCaolán McNamara
Change-Id: I8a7b1d15a002cbe74ac0fb97fcd8ce60a47a4e61
2013-02-13Some cppcheck cleaningJulien Nabet
Change-Id: I3d515fabc272e5c14f2e2779da1c43f92514f290
2013-02-12Remove commented linesJulien Nabet
Change-Id: Iaf07d9f4bc0a133c1127d93bf635b6653fe1479a
2013-02-12fdo#46808, convert some svtools code to XComponentContextNoel Grandin
Change-Id: Icf939095f130e684db88a8563c56f4eb1e6079bc
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-12Templates Manager: if the title can't be edited, don't update it in UICédric Bosdonnat
Conflicts: sfx2/inc/sfx2/templatelocalview.hxx sfx2/source/control/templatelocalview.cxx sfx2/source/control/templateview.cxx Change-Id: Id16431fb3517c831a5e81ff72fafaa8569f99ef1
2013-02-11Templates Manager: UI for renaming templates and folders, fdo#60579Cédric Bosdonnat
After thinking this was a feature regression, I finally discovered that the old template manager couldn't rename templates. This commit is bringing back some previously unused code dropped in an ealier commit. Even though this is a UI change, no new string is added by this commit.
2013-02-11Fixed SfxDocTplService_Impl::setTitleForURL to keep all streams.Cédric Bosdonnat
After commit 117fdb98, the setTitleForURL only wrote the meta.xml file to the odf container, dropping all the other streams. Use storeToStorage as in the old implementation to fix the problem. Even though marginal, this problem is important for templates renaming.
2013-02-11fdo#46808, use service constructor for document::DocumentIOLogRingNoel Grandin
Change-Id: I39f6d9f671dcb03779d594df5af60c9a0e3ca451
2013-02-11fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-10embeddedobj: log some exceptionsMichael Stahl
Change-Id: I2e565bc6e57f7bf59fdd6eb5fc577e0b3d58b9f6
2013-02-09Remove unused methodsThomas Arnhold
GetOptimalSizePixel and GetHCtrlWidth are never called Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
2013-02-08fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-06remove obsolete hidother.src filesAndras Timar
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06String->OUStringCaolán McNamara
Change-Id: I42193a40a0b5b905a721cb511d69836385bfcb40
2013-02-05Resolves: fdo#60144 only delete *unposted* SfxRequests accumulated during lockCaolán McNamara
When the dispatched is locked, SfxRequests accumulate in aReqArr for later dispatch when unlocked via Post The pointers are typically deleted in Post, so only if we never get around to posting them do we delete the unposted requests. regression from 528aba3a9cf91da5ce70c6d631d7b82e203f8086 Change-Id: I4c214791d356ce0e5401a87b968b53e4866f6174
2013-02-04String to OUString.Kohei Yoshida
Change-Id: I3a0eff8ca0c8b654a38ee2df1022ca162bcb67aa
2013-02-05SfxCommonTemplateDialog_Impl::SelectStyle:Michael Stahl
Deselect everything before selecting a style. Fixes the problem that travelling around with the cursor leads to accumulating multiple selection of every style the cursor runs across. (regression from 439ac45925039aa7a537feedab3e731e8a60a8e5) Change-Id: I5d51122a719a160c6428e196b32264a90f984579
2013-02-01Increase test timeoutStephan Bergmann
...it now matches the duration of another nearby timeout in the code, and it happened to cause a parallel "make check" to sometimes fail on a slow MacBook. Change-Id: If8bddb82a05c46637fdc2fcc3373411fcb37a466
2013-01-31fdo#59022: revert "SfxMedium::GetOutputStream(): re-use existing XStream"Michael Stahl
Revert commit 0c2206081de38a41597aadfb2255540d6308be63, since this apparently causes failure to open ODF files via SMB on Linux. Instead of changing SfxMedium, adjust the ScExportTest: when saving XLSX files interactively, the SfxFilter::lFormat is always 0, which causes SfxObjectShell::SaveTo_Impl not to call SfxMedium::GetOutputStorage() at all, working around the locking issue on WNT. Change-Id: I0ab8b4262475e4c8425eebb1413997457e5e9417
2013-01-31Template Manager: show some icons if there is no thumbnailCédric Bosdonnat
2013-01-31bnc#437516: Hide minimum password info in the password dialog.Kohei Yoshida
When launching it from the Security tab of the PDF Options dialog during PDF export. Change-Id: Ife2d3a7b508ba2e077018d11478ad680d18d3f0d
2013-01-31tell the options dialog to relayout if a pane queue-resizesCaolán McNamara
Change-Id: I44686ea724873181018bf00253a08afa58c9a10b