summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2013-12-20c++03Caolán McNamara
Change-Id: I0ab5427ed39ceda17afa8a8fb8869b810c21fda0
2013-12-20These services are in fact implemented in svxcore library.Matúš Kukan
Change-Id: If260a6256a29f983e436032ef03ba36daa4ed78d
2013-12-20hidpi: Some constants changed to member variables.Jan Holesovsky
Change-Id: I14d43af872184487c2cea6acde746a0ed72b570d
2013-12-20C++11 is not everywhere, so be wiseFridrich Štrba
Change-Id: I5935caa1d3c54bc9becd01a96499ca9158ea468c
2013-12-20svx: split into direct implementation getFactoriesMatúš Kukan
Change-Id: I888f10a923dc2b97247b2a66cc6bd116eee280a7
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20hidpi: Use the default scaling algorithm.Jan Holesovsky
We are not on _that_ time critical path when setting up images for the UI, so let's have at least some quality there :-) Change-Id: I0a82106b0d60ac6a543d5e55c48fc86b6d5f60b1
2013-12-20hidpi: Forgotten logging.Jan Holesovsky
Change-Id: Ifd71f5e15ce0627f3aefd8775e588bfaf746351f
2013-12-20hidpi: Make many places Hi-DPI aware.Keith Curtis
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f
2013-12-19CID#703891 RubyDialog::GetText orthogonal to Dialog::GetTextCaolán McNamara
Change-Id: I131daae13b11b5242e9a32a94532463f6e0d925b
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17SvxTextEditSourceImpl::Notify(): attempt to fix chart2_unoapi crashMichael Stahl
Apparently SvxTextEditSourceImpl::mpView is not properly invalidated when the instance it points to is deleted; the SvxTextEditSourceImpl is registered as listener so try to handle this in Notify(); not sure if there isn't something that ought to have cleaned this up... Crash running with SAL_FORCE_IACCESSIBLE2=1: svxcorelo.dll!SdrPaintView::FindPaintWindow(const OutputDevice & rOut) Line 70 svxcorelo.dll!SvxTextEditSourceImpl::GetVisArea() Line 923 svxcorelo.dll!SvxTextEditSource::GetVisArea() Line 1113 svxlo.dll!accessibility::AccessibleTextHelper_Impl::UpdateVisibleChildren(bool bBroadcastEvents) Line 868 svxlo.dll!accessibility::AccessibleTextHelper_Impl::ProcessQueue() Line 1376 svxlo.dll!accessibility::AccessibleTextHelper_Impl::Notify(SfxBroadcaster & __formal, const SfxHint & rHint) Line 1530 svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 48 svxcorelo.dll!SvxTextEditSourceImpl::NotifyHdl(EENotify * aNotify) Line 1021 svxcorelo.dll!SvxTextEditSourceImpl::LinkStubNotifyHdl(void * pThis, void * pCaller) Line 1013 tllo.dll!Link::Call(void * pCaller) Line 123 editenglo.dll!Outliner::ImplBlockInsertionCallbacks(unsigned char b) Line 2098 editenglo.dll!Outliner::Clear() Line 2036 svxcorelo.dll!SdrOutlinerCache::disposeOutliner(SdrOutliner * pOutliner) Line 91 svxcorelo.dll!SdrModel::disposeOutliner(SdrOutliner * pOutliner) Line 1960 svxcorelo.dll!SvxTextEditSourceImpl::dispose() Line 489 svxcorelo.dll!SvxTextEditSourceImpl::Notify(SfxBroadcaster & __formal, const SfxHint & rHint) Line 458 svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 48 svxcorelo.dll!SdrModel::~SdrModel() Line 270 chartcorelo.dll!chart::DrawModelWrapper::~DrawModelWrapper() Line 191 chartcorelo.dll!chart::DrawModelWrapper::`vector deleting destructor'(unsigned int) chartcorelo.dll!boost::checked_delete<chart::DrawModelWrapper>(chart::DrawModelWrapper * x) Line 34 chartcorelo.dll!boost::detail::sp_counted_impl_p<chart::DrawModelWrapper>::dispose() Line 78 chartcorelo.dll!boost::detail::sp_counted_base::release() Line 104 chartcorelo.dll!boost::detail::shared_count::~shared_count() Line 381 chartcorelo.dll!boost::shared_ptr<chart::DrawModelWrapper>::~shared_ptr<chart::DrawModelWrapper>() chartcorelo.dll!boost::shared_ptr<chart::DrawModelWrapper>::reset() Line 626 chartcorelo.dll!chart::ChartView::~ChartView() Line 202 chartcorelo.dll!chart::ChartView::`scalar deleting destructor'(unsigned int) cppuhelper3MSC.dll!cppu::OWeakObject::release() Line 204 chartcorelo.dll!cppu::WeakImplHelper10<com::sun::star::lang::XInitialization,com::sun::star::lang::XServiceInfo,com::sun::star::datatransfer::XTransferable,com::sun::star::lang::XUnoTunnel,com::sun::star::util::XModifyListener,com::sun::star::util::XModeChangeBroadcaster,com::sun::star::util::XUpdatable,com::sun::star::beans::XPropertySet,com::sun::star::lang::XMultiServiceFactory,com::sun::star::qa::XDumper>::release() Line 115 chartcorelo.dll!com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::~Reference<com::sun::star::uno::XInterface>() Line 106 chartcorelo.dll!chart::ChartModel::~ChartModel() Line 188 chartcorelo.dll!chart::ChartModel::`vector deleting destructor'(unsigned int) cppuhelper3MSC.dll!cppu::OWeakObject::release() Line 204 Change-Id: Ife6d6275eae74750858a7a7f57153c76a1a228a4
2013-12-17ChildrenManagerImpl::AddShape: do not use member after releasing mutexMichael Stahl
This crashed here once during some JunitTest with an rDescriptor that did not match maVisibleChildren.back(). [The mrContext member used here is const so shouldn't cause problems.] Change-Id: I31e54b166badef6472127c64f0a4f49c51c73b30
2013-12-17avoid negative offsets to OUString::copyCaolán McNamara
Change-Id: I0a62f8a38694a4a7662fe376aaabc35dca817d33
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17remove unnecessary double calls to OUString constructorNoel Grandin
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-16Clean-up uno/lbnames.hStephan Bergmann
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-16convert fontwork spacing dialog to .uiCaolán McNamara
Change-Id: I0cf7fb84974741a162addb6c1fc393d3328f21cb
2013-12-16fix out of range accessCaolán McNamara
this is broken since 6e4a21ff22345a24e4d530725814c436a1bdd49a the original commit in 2001. I imagine the idea was to strip a trailing sal_Unicode(11) from the end of the string and then recalculate if the string is empty, but seeing as it has chugged away for the last 12+ years like this I'm relunctant to change it to what it might have originally been intended to do and instead just remove the stuff which was never executed. Change-Id: I73d5108ece8e716d78a4898117e0ee2d51822015
2013-12-13cppcheck: fix same expression, check once !mxTable.is()Julien Nabet
Change-Id: Ie12146f3c2f18c5ec9a49a666f327772493fcf03
2013-12-13cppcheck: Possible inefficient checkingJulien Nabet
Change-Id: I0d9f1eadb6dc863f1e5606ef2d166881e6cf6c0a
2013-12-13cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ibc34750a0f9b5a36c8fa0743e9ac88482ccfecc4
2013-12-13this NULL check, leak and copy ctor all look a bit addledCaolán McNamara
Change-Id: I5a4f80e1f6b4cc834c921d4c4780989c90cbefe2
2013-12-13WaE: field 'mxImpl' will be initialized after field 'mnPreviousSelectionCount'Tor Lillqvist
Change-Id: I7d6facb76317d8e7de3adbafdf3763f37c1b0837
2013-12-13fixes for issues checked out by coveritySteve Yin
(cherry picked from commit 6f53c4f2f46691d41ccf2c2a99ae40105606e489) Change-Id: I76e21409fee4f39bd6f048636e4fbc392807a486
2013-12-12Get rid of MAP_CHAR_LEN macroStephan Bergmann
Change-Id: I0c8af0f3acdae7eb5167ea1dd4e0e4abf0357bb2
2013-12-12Fix C++03 digraphsStephan Bergmann
Change-Id: I456469c27b60290ad8280fe12fcb82958e1a6c85
2013-12-12<: could be a digram - fix tinderbox.Jan Holesovsky
Change-Id: I128d6912ce556cfc17c38ed51267fc965c384fea
2013-12-12Do not use C++-UNO internal static_type functions in client codeStephan Bergmann
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
2013-12-12Remove unnecessary macro ITYPEStephan Bergmann
Change-Id: I9ade981c771367fd292600d73124f89b94a7a924
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11disposed but not dtoredCaolán McNamara
just die when you are supposed to, without this endless amounts of accessiblity cells remain after sorting slides with tables in them Change-Id: Ice9a86b8b806e58f9bf871341a38f7729798dda9
2013-12-11correctly dispose to avoid cyclic dependenciesCaolán McNamara
accessibility cruft is still listening to dead tables so crashes in slidesorting in main panel if moved slide has tables in it after visiting slide sorter once. Change-Id: I09f9a73b01fb2ddf059402146acdc7bd823798b9
2013-12-11too many InitsCaolán McNamara
so double acquire called, leak, keeps listening after expected death, loads and loads of crashes in draw with a11y enabled and slide switching with tables in them. regression since 60f11adb950e4f9645cc9ecb0f5af8235cc97366 Change-Id: I182b43ad4a002a8dff0683cd1e991cfd1de75eb6
2013-12-10WaE: unused variable 'aLine' [loplugin]Tor Lillqvist
Change-Id: Iddb5bd22ca5536d1de83d05b82e5d78ee39c4d56
2013-12-10n#753460: Copying slides having same master page name.Muthu Subramanian
Has part feature of getting hashes of SdPages. (Misses hashing text, images, etc).
2013-12-09Convert chart 3D scene illumination to .uiOlivier Hallot
Change-Id: I55e56196818e181d16e74ae93376ff4ff1c4c395 Reviewed-on: https://gerrit.libreoffice.org/6998 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09implicit conversion of NULL constant to 'bool' [-Werror,-Wnull-conversion]Stephan Bergmann
...after 8a8981c603d2f45d0fac656e5b4b31bcabfabc92 "GetBasic and m_pBasic are unused." Change-Id: Ie491046b34668b0aaf499c057c35be21d8b81df9
2013-12-09implicit conversion of NULL constant to 'bool' [-Werror,-Wnull-conversion]Stephan Bergmann
...after 8a8981c603d2f45d0fac656e5b4b31bcabfabc92 "GetBasic and m_pBasic are unused." Change-Id: I7ccfcdcc3a7b005185a1de3050f3cccbc741f073
2013-12-09GetBasic and m_pBasic are unusedCaolán McNamara
which is probably a good thing because it is zeroed in the copy ctor which looks rather dubious Change-Id: Ia082601982aaea5df92cf7aa9724cbe187716e0c
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-12-06Get rid of DECLARE_STL_MAPStephan Bergmann
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-12-06Get rid of DECLARE_STL_STDKEY_MAPStephan Bergmann
Change-Id: I099f94922acba0bf9cde22fbbb3eefc230776868