summaryrefslogtreecommitdiff
path: root/include/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2014-10-29Resolves: fdo#85111 put a border around the custom properties boxCaolán McNamara1-2/+3
Change-Id: Ibdbfb4a88c1c75aaf5d33672d8639a9ea55afbac
2014-10-23Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky4-11/+11
This reverts commit 47a2d7642d249d70b5da0c330a73f3a0032e4bba. Conflicts: cui/source/tabpages/transfrm.cxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx tools/source/generic/rational.cxx Change-Id: I4849916f5f277a4afef0e279b0135c76b36b9d15
2014-10-23Fraction: Revert "do not forward-declare templates"Jan Holesovsky3-5/+5
This reverts commit 091742e86aeb5287f7236f666fee48946ab4c67b.
2014-10-23Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky4-8/+8
This reverts commit 582ef22d3e8e30ffd58f092d37ffda30bd07bd9e. Conflicts: svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx Change-Id: I80abc7abdeddc267eaabc9f8ab49611bb3f8ae83
2014-10-22callcatcher: update unused codeCaolán McNamara2-26/+5
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
2014-10-21The only SID supported by PropExec/State_Impl is SID_ATTR_UNDO_COUNTStephan Bergmann1-12/+0
...apparently, given that the SID_ATTR_UNDO_COUNT entry in sfx2/sdi/appslots.sdi is the only place that mentions those functions. That reveals that all the other SIDs mentioned there are completely unused. (Also, there seems to be no need to wrap the remaining PropExec/State_Impl functionality in #ifndef DISABLE_SCRIPTING.) Change-Id: Iea7a41aa323b7876d316794cebe962e6e086236d
2014-10-21Remove unused SfxInterface::GetResManager_ImplStephan Bergmann1-2/+0
Change-Id: Ia9ad8072b07f0121af18377445c90480ff7c2600
2014-10-21Remove unused pSfxFormalArgs_ImplStephan Bergmann1-4/+1
Change-Id: I0c1e8c42fd03bd861323cbff172031f5405c1597
2014-10-20fdo#84938: replace TIB_ constants with enumNoel Grandin1-1/+1
Change-Id: I435ce2331fb49e7ce9fe97bdfddfaef706759a84 Reviewed-on: https://gerrit.libreoffice.org/12023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17SID_TOGGLE_MENUBAR (aka slot:6661, .uno:MenuBarVisible) is deadStephan Bergmann1-1/+0
...since introduction of XLayoutManager's private:resource/menubar/menubar in 3fb2acf5b77bff59909f616c44c7de17048b64d7 "INTEGRATION: CWS layoutmanager (1.52.10); FILE MERGED" etc. and final removal of SID_TOGGLE_MENUBAR bits in f605b16e395e8ccc3d1aba7907b0792039016f69 "INTEGRATION: CWS sfxcleanup (1.119.8); FILE MERGED" etc. What still needs fixing are extensions/source/activex/SOActiveX.cxx odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java odk/examples/OLE/activex/SOActiveX.cpp in a similar way as e.g. 0273d3d81d29d5c1f6c387cca633cd99722c100e "INTEGRATION: CWS jl18 (1.6.8); FILE MERGED." Change-Id: I52a43fc7186a4f60929ab6246a2da2e715be7510
2014-10-17Remove some completely unused SID_sStephan Bergmann2-7/+0
Change-Id: I1a259f9af77bbbffc4f0bc85beb7945e3d74ff77
2014-10-16fdo#84854 it seems long is not enough on 32 bitDavid Tardon4-8/+8
Fraction used BigInt internally for computations, rational does nothing like that. Change-Id: I3e9b25074f979bc291208f7c6362c3c40eb77ff5
2014-10-15coverity#735333 flush out pointless calls to IsRemote and IsOpenCaolán McNamara1-9/+9
etc. Change-Id: I588d4486071b1e31897d4e6468a2c634d6856832
2014-10-15SfxMedium::IsRemote can be made constCaolán McNamara1-1/+1
Change-Id: Id6b14366d11c15ec1440482cfb725e497807fa2e
2014-10-15remove unused DECL_OBJHINT and IMPL_OBJHINT macrosNoel Grandin1-1/+11
these have been unused since we switch to using normal C++ RTTI with the SfxHint subclasses Change-Id: Ia271cfa01d2f49ed335e90f78309cd26d6ec9d8f
2014-10-14Missing ModelessDialog -> ModalDialogStephan Bergmann1-1/+1
Change-Id: I83a3eb34138c75dbc5a0239a9d761d22c6cd98a0
2014-10-14Resolves: fdo#72587 make template dialog ModalCaolán McNamara1-1/+1
Change-Id: Iefb63bc7cdbff2217f16c1a72fc271361227588b
2014-10-14do not forward-declare templatesDavid Tardon3-5/+5
Change-Id: I3b0a145f70406f0c8a12b6c4b7876c4148f76e93
2014-10-11convert SFX_CALLMODE constants to SfxCallMode enum classNoel Grandin3-16/+41
and fix a couple of bugs in SC and SW where the call mode was being passed to the hints parameter by accident Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58 Reviewed-on: https://gerrit.libreoffice.org/11916 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-10Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann1-2/+1
Change-Id: I4add22edf2bcfe9c1d5ef1641eabee08d402191d
2014-10-10Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann1-2/+1
Change-Id: Id535824a9429576a469cf88d9bdbb6b53c5e314b
2014-10-10Use better castsStephan Bergmann1-2/+2
Change-Id: Ibcf2d715ac306bd4bedae716ad82c614f136d1bc
2014-10-09fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca4-11/+11
* Added rational util functions used by Fraction class not available in the boost::rational class. * Replaced usage of Fraction by boost::rational<long> * Removed code that relies on: 1. fraction.IsValid() -- rational only allow valid values, ie denominator() != 0 2. rational.denominator() == 0 -- always false 3. rational.denominator() < 0 -- always false but implementation detail: http://www.boost.org/doc/libs/release/libs/rational/rational.html#Internal%20representation * Simplified code that relies on: 1. rational.denominator() != 0 -- always true * BUGS EXIST because Fraction allows the creation of invalid values but boost::rational throws the exception boost::bad_rational Change-Id: I84970a4956afb3f91ac0c8f726547466319420f9 Reviewed-on: https://gerrit.libreoffice.org/11551 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-10-09typo: Lable -> LabelAndras Timar1-1/+1
Change-Id: I8b9e9f75dd22ee5bff678c5bc0e1fa9381a103de
2014-10-06Remove pointless commented-out 'virtual' keywordsTor Lillqvist1-1/+1
Nobody knows any more what such a metacomment was supposed to mean, if it had any deeper meaning at all. Change-Id: Iefb4fedc7b833c09ee0e39b3eb28202229323ef2
2014-10-06Remove unused macrosStephan Bergmann1-150/+0
Change-Id: Id76b285d70acb4de3ab27dbf2f0f0bb4b46735c7
2014-10-06fdo#73151 Always open Styles&Formatting dialog in the sidebarSamuel Mehrbrodt2-11/+0
Change-Id: I05b63dc00023945d92fd837bd64042135d3f9aed Reviewed-on: https://gerrit.libreoffice.org/11648 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-03loplugin: cstylecastNoel Grandin1-6/+6
Change-Id: I011a0eae37d01606d28c00f8ab3839f20bf309ce
2014-10-02loplugin: cstylecastNoel Grandin3-5/+6
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
2014-10-01coverity#735489 constant guards dead codeCaolán McNamara1-1/+0
Change-Id: I387dcfb34dd6f1fc74ed929cb6b2833ae8e0f574
2014-10-01coverity#1242662 unused memberCaolán McNamara1-1/+0
Change-Id: Ie089a4afabb07e3b119563dafb162da427bb635d
2014-10-01loplugin: cstylecastNoel Grandin1-1/+1
Change-Id: I6ea98852ba775d85ccd54823b67224ea7f587c65
2014-09-30fdo#82577: Handle RegionNoel Grandin1-1/+1
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-29sfx2: std::auto_ptr -> std::unique_ptrStephan Bergmann6-8/+8
Change-Id: I7bac4105494cdbbadd4c4d78ce1fcf03b8ccae6c
2014-09-26fdo#75757: remove inheritance to std::vectorTakeshi Abe1-3/+18
from SfxFoundCacheArr_Impl, by typedef'ing it as boost::ptr_vector<SfxFoundCache_Impl>. Change-Id: Id0e50370b440fb53dbb56dabca9743b27a08b90d Reviewed-on: https://gerrit.libreoffice.org/11650 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25Start Center Template Manager TweaksEfe Gürkan YALAMAN1-0/+31
Template Manager and the related Start Center view has same transparent highlight color as Recent Documents. Also Template thumbnail containers should have the same size as Recent Docs view. Change-Id: I22e417a5c5ca5a849577d5a438a193371368fe24 Reviewed-on: https://gerrit.libreoffice.org/11467 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25Revert "fdo#73151 Always open Styles&Formatting dialog in the sidebar"Stephan Bergmann2-0/+11
This reverts commit 473ed449a4b6f550dc1af47a07c6e0ef243a98b2, which made JunitTest_toolkit_unoapi fail, as AccessibleDropDownListBox.createTestEnvironment (qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java) was no longer able to find its AccessilbeRole.COMBO_BOX AccessibleDropDownListBox, which it apparently expected to find in a docked stylist (cf. DesktopTools.dockStylist in AccessibleDropDownListBox.initialize).
2014-09-24fdo#73151 Always open Styles&Formatting dialog in the sidebarSamuel Mehrbrodt2-11/+0
This removes the floating window for Styles&Formatting as discussed in fdo#73151. Change-Id: I352d27a4d30632dcfda8963c23629e62ab850524 Reviewed-on: https://gerrit.libreoffice.org/11253 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-23fdo#82577: Handle WindowNoel Grandin56-186/+186
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-22remove unused fields pName and pMethodName in SfxSlot classNoel Grandin1-8/+4
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
2014-09-19fdo#62947 make IDs unique, fixes, better namesTomaž Vajngerl2-0/+2
Change-Id: I6cbfd43f037fe89e0f753c67c9368b981b85bd35
2014-09-18fdo#82577: Handle FontNoel Grandin1-1/+1
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-17Add writer document font colors to color palettesKrisztian Pinter1-0/+2
Change-Id: If3fedc45586eee068c40e92da87d5d550a456a64
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann1-1/+1
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin1-8/+1
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06FloatingWindows are no longer loaded from resource filesCaolán McNamara2-8/+0
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
2014-09-05convert RID_SCROLL_NAVIGATION_WIN floating window to .uiCaolán McNamara1-0/+4
Change-Id: I92d13856fc4d206323d5517a8a48671bba683fec
2014-09-03convert RID_SVXTBX_UNDO_REDO_CTRL floating window to .uiCaolán McNamara1-3/+4
Change-Id: I88a5e0aec20170dfb71bf28cb35e860773657937
2014-09-03Related fdo#82088: removing another bunch of aliasStefan Weiberg7-79/+69
Change-Id: I6e2ab6d20723803aedb530b4d25aa79ec0edbb8f Reviewed-on: https://gerrit.libreoffice.org/11260 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-02fdo#44081 don't remove 'edit' pop-up menu entry from form in design modeLionel Elie Mamane2-1/+6
Change-Id: I009b0e1a155c298bd7f461547125df4ba76805d9 Reviewed-on: https://gerrit.libreoffice.org/11230 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>