summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2015-01-19Remove unused STR_SAVECOPYDOCStephan Bergmann2-5/+1
(and identical copy that is actually used is in framework/source/classes/resource.src) Change-Id: I2b010af459e6d59ab8cfae33e6f9c009ede1d514
2015-01-19fdo#86147: Do not reset r/o mode for SID_SAVETOStephan Bergmann1-2/+7
...(aka "Save Copy as...", as is used when the document is actually a DB form) but only for true "Save As..." For reasons remaining un-debugged, calling SetReadOnlyUI(false) on the former would somehow lose the connection to the embeddedobj Interceptor instance. Change-Id: I334cd6c5ebd596e408357bb6820800075217d2d1
2015-01-19Re fdo#80538: Remove read-only infobar after "Save As..."Stephan Bergmann1-0/+1
...on a doc in r/o mode, which will switch to the newly saved document in r/w mode. Was missing from c6270de939d5ee51b61dc4ac02c52f1d9b5b1e47 "fdo#80538 Show an infobar when document is in read-only mode." Change-Id: Ie17f4213f989cb4b9d3f7fc114392ec6f516a965
2015-01-19fdo#88241 Floating sidebar second call to same item should dismiss itTrent MacAlpine1-2/+11
Note that this was written to be used in combination with commit 304e2002a053e9eb54e36462165eca831da8aeb2 to give back the behavior of calling and dismissing the styles and formatting dialog. Change-Id: Ic05db180425b0a2dcd05774b6fa0227b01464731 Reviewed-on: https://gerrit.libreoffice.org/13980 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-01-19fdo#87217 Inconsistent floating sidebar close behaviorTrent MacAlpine1-11/+2
Remove code that caused an undocked sidebar to reenable a docked sidebar when you attempt to close it using the window manager. It should simply be closed instead. Change-Id: Ib058d167b6c89f42df3ce4c80e4d97435b31c31d Reviewed-on: https://gerrit.libreoffice.org/13979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-01-16Provide thumbnail size via constructor for RecentDocsViewItemTomaž Vajngerl2-5/+2
Change-Id: Ic206ebff28683da2b1daf23039820c2184788595
2015-01-14do TODO: replace ImplCallEventListeners() by CallEventListeners() in vclCaolán McNamara1-2/+2
Change-Id: If47baad0ec31f18fcb55c7db86fb2a316dd0807f
2015-01-14infobar: add buttons one by one with addButtonTomaž Vajngerl3-46/+39
Change-Id: I5c9da630fe800df8da8ff32d7bb3e6b19fc37a8d
2015-01-14infobar: reuse gathering the dark/light colors from settingsTomaž Vajngerl1-18/+21
Change-Id: I923221f502c4efd200f77d5c73f03d124490ee39
2015-01-14infobar: combine anon. namespace, light/dark color to constantTomaž Vajngerl1-57/+56
Change-Id: Ie22c9b2997031146ee3a25ad55b2198ed50ee028
2015-01-14Scale the infobar controls correctly with DPI scale factorTomaž Vajngerl1-9/+23
Change-Id: I7d5b3daf4ae4da05bb7f09e80e790edae24e0eaf
2015-01-14Further cleanup style in infobar, remove basegfx namespace in codeTomaž Vajngerl1-47/+50
Change-Id: I0201d87d631413fc75230535e25c8eac189ede10
2015-01-14Cleanup infobarTomaž Vajngerl1-67/+66
Change-Id: I2479b8df69da3c05021a82d269925a6374709c72
2015-01-14reuse Resize to set control size and placement in infobarTomaž Vajngerl1-12/+8
Change-Id: I4e11cd8f02c41f73b2dda05effbcc17db036f3fc
2015-01-14infobar: unique_ptr and make more readableTomaž Vajngerl1-26/+23
Change-Id: Iadaba3d9c16bdde3715d4836fa0d5661b90ccab4
2015-01-14ptr_vector & unique_ptr for infobarTomaž Vajngerl1-53/+31
Change-Id: Id0d9be65aff504ff6092fa64e8207ddb1b7aeea5
2015-01-14Resolves: fdo#87353 Start Center 'Help' button not functioning any moreCaolán McNamara2-2/+18
Change-Id: I81607ea1951c4a71c003e639b3ebe871a6943374
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin6-42/+18
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin4-5/+5
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin5-13/+14
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin2-36/+13
- remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721
2015-01-10Fix long/sal_IntPtr mismatch on x86_64 platform on windowsDavid Ostrovsky3-5/+5
25e291438231611823dadc195fd26d26a1b8ece4 changed Link class to use sal_IntPtr instead of long, but missed to adjust number of occurrences. Change-Id: I966185083a41b41c7385947a03369a8ce65c61b8 Reviewed-on: https://gerrit.libreoffice.org/13852 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-01-09fdo#84938: replace SYSTEMWINDOW_MODE constants with 'enum class'Noel Grandin1-3/+3
Change-Id: I1c761482cb78efc26d3beda75381557268e1bc0d
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl13-42/+40
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin2-3/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07Completed TODO: simplify appending to sequence.Matthew Pottage1-7/+3
File sfx2/source/appl/appopen.cxx. Fixed by using std::vector instead of Sequence; Simplifying the code. Change-Id: Iecb45ba3429be86d03fad5275d0f0a92b659a542 Reviewed-on: https://gerrit.libreoffice.org/13605 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin13-26/+26
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-06fdo#84938: replace BUTTONTYPE_ constants with 'enum class'Noel Grandin1-2/+2
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
2015-01-05No need for declarations in include fileStephan Bergmann2-5/+9
...of functions only accessed via dlopen Change-Id: I6b9998298fc6df68fb0d3003cef77a62ecef8976
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann2-7/+7
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
2015-01-04boost::unordered_map->std::unordered_mapCaolán McNamara8-25/+25
Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
2015-01-02Fix simple typos.Andrea Gelmini1-1/+1
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann2-4/+3
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2015-01-01de-resource SFX_PB_EDITCaolán McNamara3-9/+17
Change-Id: Ia8002d76443dee819b57779df5213707bd52f890
2015-01-01Bump copyright year to 2015Andras Timar1-1/+1
Change-Id: I18f2abfeee3b7e440aace632aec1296a1beab1f7
2014-12-31de-resource custom properties widgetsCaolán McNamara3-58/+23
Change-Id: Id0579d323016d760ec89185026a3c0803345695b
2014-12-24callcatcher: update unusedcodeCaolán McNamara2-10/+2
Change-Id: I0b75dabfcb4a53dbbe361a34a6d9661a5b4aedd2
2014-12-23fdo#39440 reduce scope of local variablesMichael Weghorn10-26/+22
This addresses some cppcheck warnings. Change-Id: I404f121ee2e5020359a662f54ffe341f466cd1d5 Reviewed-on: https://gerrit.libreoffice.org/13608 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-22de-resource FLT_LEFT_PANE_[DRAW|IMPRESS]_DOCKING_WINDOWCaolán McNamara1-21/+0
Change-Id: I5042141eaa0dfbf9d2184b86b537a9b149c9a06c
2014-12-22callcatcher: update unused codeCaolán McNamara2-11/+0
Change-Id: I62e49fbf27364bd244099a9bb247452d5a691119
2014-12-19provide a route to load ToolbarMenu things via .uiCaolán McNamara1-1/+1
Change-Id: Ic2175faf247d7c05717d397b8afdb9d90087f1d3
2014-12-18sfx2: Use appropriate OUString functions on string constantsStephan Bergmann32-120/+116
Change-Id: Iea55d87a7c7b2afc408e3822121f79234481eccc
2014-12-18framework: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5
2014-12-18comphelper: Use appropriate OUString functions on string constantsStephan Bergmann2-3/+3
Change-Id: Id1d5c3cf2f76dbb33606cec1c0f17d4a1f282247
2014-12-17allow NULL SfxChildWindowCaolán McNamara1-3/+3
Change-Id: I841b9b3f74a9822fe8c477a280bbe2f4904ed64c
2014-12-17try to get reasonable sizes for docking windowsCaolán McNamara1-5/+1
start docked, move to undocked start undocked, move to dock, back to undocked start undocked, with and without size saved in settings and restored Change-Id: I0bfdceb11aabdf9fdb855b97433b2af0532e4d03
2014-12-17implement loading docking windows from .ui formatCaolán McNamara1-0/+49
Change-Id: I90375232aefbe40412614ca0f30ba467cf393f2e
2014-12-16fdo#87031 Sidebar tabs not visible when Sidebar deck is shownSamuel Mehrbrodt1-1/+1
Change-Id: I292421770f02436819d1361c4ba9a6fa4dbaf35c Reviewed-on: https://gerrit.libreoffice.org/13312 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-15java: remove some unused fields and variablesNoel Grandin1-1/+0
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12sfx2: Use appropriate OUString functions on string constantsStephan Bergmann10-59/+48
Change-Id: I28ca30da980b81dbf3328495291916afca654999