summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-12-08Remove more unnecessary header includes and use forward declaration.Kohei Yoshida
Change-Id: I88d0fb0e7c20d4b1414516e3bd2f961811b2eb8c
2014-12-08Move these to Impl and remove boost::optional include.Kohei Yoshida
Change-Id: I394d164c4d3f26d906204e2ed89efeef597ba810
2014-12-08Add Impl to SdrObject and hide ObjectUser member.Kohei Yoshida
SdrObject is quite large and we can't pimplize it in one go. Let's do it bit by bit. Change-Id: I40abe71799f6dcae90854dcc6979acc1d6ed7462
2014-12-08Copying linked graphic between components is brokenZolnai Tamás
IsLinkedGraphic() is better to use here. Reproducer steps: -Insert an image to Impress as a link. -Copy this image (CTRL+C & CTRL+V) to Writer. Result: Image is not displayed. Change-Id: Iaf9b686b5c87caf5a0cc15425f8c5988f857bfe6
2014-12-07Introduce ParaspaceIncrease/Decrease commands in Writer and CalcMaxim Monastirsky
Change-Id: Ia8933697fd7bd827bb69c0976f13112eb2131888
2014-12-05fdo#38835 strip out OUString globalsNoel Grandin
Change-Id: I8bc386ffa88e31988bdc778a845403bec0772799
2014-12-05Broken castStephan Bergmann
All the way back since 2001 (ed53aaf5842e82f9a8d4d053b39e7db61c6d62ce "#89611# react for (Beamer!)Frame->dispose() from outside," adding member SfxChildWindow_Impl::xListener), that MyStruct hack was not in sync with SfxChildWindow_Impl, so ((MyStruct*)pImp)->bVisible = false; probably corrputed pFact rather than change bVisible. The origin of that MyStruct hack is lost to history, but probably stems from an ancient time when changes across modules where prohibitively expensive, esp. when some feature had to be crammed in shortly before release... Change-Id: I13dc30c96ef70b2cc09dc117231c021910e0ce1e
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: I901ab5100e3f4fa2089bb85de1293207225d1adc
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: I877e3b362dd8b2f9c94e28d2ffa56c378d0d094e
2014-12-04be more explicitDavid Tardon
Change-Id: I33b639b3505d5db2ea8b708d80e68e576ec53308
2014-12-04impl. Clone for all subclasses of SdrPageDavid Tardon
Change-Id: Ie370161e51ff83cb605bc57d317ff945404e5611
2014-12-04ooo#93212 avoid slicing during construction of SdrPageDavid Tardon
Also hide copy ctor and assignment operator of all derived classes, to ensure that Clone() is the only method to make copies of them. Change-Id: Icb3b50c63b086abe8c9add32e3041fe19692d20b
2014-12-04HAVE_FEATURE_DESKTOP is always defined, it is 0 or 1Tor Lillqvist
One should not use #ifdef (or #if defined) on the macros from <config_features.h>. Fix mistake introduced in 663a8c79700da18e45ed5f69391f5fc1f2406229.
2014-12-04Don't use this quick hack on Android.Andrzej Hunt
It *seems* to cause missing areas (at least in Impress). (i.e. the bottom half or right side of headers on slides can sometimes go missing, not using this hack fixes the problem for me). Change-Id: I205531666e0ad12470020e5ff2568ebf16bc2f01
2014-12-04callcatcher: update unused codeCaolán McNamara
Change-Id: Ia25b857738bb7b6c3baf18c68ef0d1bc0b3e142e
2014-12-03Linked graphic is not displayedZolnai Tamás
Regression from: 17475638138c92162be1c0f34cf1f9cc95c63579 Change-Id: Ie2d484fbe065c24d19938c8c9c68818bd1076f2d
2014-12-03Factor out SdrModel::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: Ic2cc6507390edfd0bc5a38b655a3b652fd5ec33e
2014-12-01Move accessibility relations to .ui fileKatarina Behrens
Change-Id: I910f01cbe2f3a87ff9c629a72231dd8106ddf973
2014-12-01-Werror,-WswitchStephan Bergmann
Change-Id: Ibe98acde990d5c9feb6c66455e1e82fa8232ac9e
2014-12-01-Werror,-WswitchStephan Bergmann
Change-Id: Ia787aaca4a5ec4af37063e35e96c8aba06bdd8fa
2014-12-01Factor out SdrPage::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: Ida16087b1d954454c672ddeec78b8dfe0e5a45fe
2014-12-01fdo#84938: replace EVENT_ constants with enumTobias Madl
Change-Id: I8275832d8dae43b374bddd48520d11592e9a6a1f Reviewed-on: https://gerrit.libreoffice.org/13134 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-30fdo#85486 - Clean up unnecessary enumerations from xenum.hxxRadu Ioan
Removed XDashStyle Change-Id: Id14802a007a90508ee033e1dc964c57d3d5ef582 Reviewed-on: https://gerrit.libreoffice.org/13213 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-11-29fdo#82616: set limits on spinboxes according to size of workareaKatarina Behrens
Do it the same way as position'n'size dialog does, for that matter move shared code into a separate header/class. This fixes regression from .ui migration that omitted spinbox limits Change-Id: I884904719b2608dd80aecc5d7ffb3923de71774d Reviewed-on: https://gerrit.libreoffice.org/13174 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Katarina Behrens <bubli@bubli.org>
2014-11-28SdrObject::TRSetBaseGeometry: Value stored to 'fRotate' is never readMiklos Vajna
Change-Id: I3a0be6c9ac0d763e3de48ff5f1c2599392754315
2014-11-28Fold URE: Linux ure/lib/* -> program/Stephan Bergmann
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28Fold URE: Linux ure/bin/* -> program/Stephan Bergmann
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-28Factor out SdrObject::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: I043f740c73f1b39d81383f4f1eab2aae009ac2ba
2014-11-28fdo#83076: More space around the 'Custom Value'.Jan Holesovsky
Change-Id: If75b5a9dddf308972f3c86f6c3b4bf12327f858e
2014-11-27svx/_bmpmask sal_Bool -> boolJulien Nabet
Change-Id: I1e1a0ea67f2c8656bd98d478a10183312eb76950
2014-11-27fdo#86557: svx: fix crash when creating new "XML Form Document"Michael Stahl
Strangely it doesn't crash on Linux. (regression from 713735fc89b9e0222d8b62d051153da6932b3ebd) Change-Id: Ie29c795f5edec7d8fdf949027359c0c509edb15c
2014-11-27bCheckVertical is not usedMaxim Monastirsky
Change-Id: I092098a2520c4856f1d394ddbe288bbc444e7db8
2014-11-26sidebar: Try to fix initial spacing valuesMaxim Monastirsky
Process SID_ATTR_METRIC status before any other, and call SetMax methods before SetValue, so indent values won't be truncated by a wrong max value. Change-Id: I36d8c0cce9561902aa2c4d531740f56c80207012
2014-11-26Cleanup some leftovers from the line spacing popup conversionMaxim Monastirsky
Change-Id: Ia2e35461958ea5d79241fa2231bd7ef164fc378d
2014-11-26Unused includesMaxim Monastirsky
Change-Id: I262b3106bf426a12b2e826eeefd02351e67c7a9b
2014-11-25fdo#85858: svx: fix mouse dragging of table row separators in WriterMichael Stahl
Add a work-around for Writer's usage of LONG_MAX to SvxColumnDescription: on 64-bit platforms the LONG_MAX added in SwView::StateTabWin() for SID_RULER_ROWS will overflow in vcl's LogicToPixel mapping and that causes wrong positioning of the row highlight lines. Probably Writer should use something other than LONG_MAX (no reason why these types need to be bigger than 32-bit anyway) but that needs a bigger cleanup. (regression from 4c60f722afdc0be5c129ce5f5ed6786d09d0051e) Change-Id: I08147462356368d48959a85a85ef7dd8dcae0943
2014-11-25all these ids and their associated resources were unnecessaryCaolán McNamara
Change-Id: I3f538668c9c5f1727b8cf49ab72fd5879e12f156
2014-11-25We now only need one bit of information hereCaolán McNamara
whether there *is* an id, or whether there is not an id. An id of 0 seems to be used as a flag that an interface is some sort of superclass which can be subclassed by something else and have its toolbars etc reused. Convert this to a bool so we don't need an a resource id for each one and just drop the third arg for the normal "final" case and use a different define for the inheritable case Change-Id: I98380f03d73d57bf8cba02d339097e384518abaa
2014-11-25-Werror,-WuninitializedStephan Bergmann
(in SvxGraphCtrlAccessibleContext ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: Ic6791043828b7b9f69c76867e26ee02a5ee66817
2014-11-25-Werror,-WuninitializedStephan Bergmann
(in TableModel ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: I2a54a1123384bdeaee917ad9f1f0047f13c3860f
2014-11-24so these ResIds are only being used for the numerical valueCaolán McNamara
Change-Id: I21c67b56424de59d7231f8420055775cd5f67aae
2014-11-24RID_DEFAULTIMAGELIST_[L]C global fallback now known to be unusedCaolán McNamara
Change-Id: I93e358a9761f8f4fb22310239dbce8f621529eb8
2014-11-24move RID_APPTITLE to desktop where its usedCaolán McNamara
rename the other ones and remove the unused ones Change-Id: I0e636cd5d1799e0f9cb815a4bfa20b16039ecb3f
2014-11-24remove unused defines from app.hrcCaolán McNamara
Change-Id: Ib58c20897a765d81020fc440a48abc4aa966619f
2014-11-24fdo#86622 sidebar: Distorted icons in Graphic sectionMaxim Monastirsky
Similar to: 36f275cb0f19d11151abf85f3c191a2736bd73da 92a0793265c66d289828c0193097b14b7e7e2d0f Regression of: eaa89db886ba49472e22d77cea957a08c1113cd0 Change-Id: I98893989fff9f9893f6b3b52b24a43676fe7c6f7
2014-11-24Do not depend on libxml include in widely included fileStephan Bergmann
...and hope xmTextWriterPtr expanding to struct _xmlTextWriter * is a stable feature of the libxml2 API Change-Id: Ic5076df5a8b33f71c605b3aef737a99ea96b1753
2014-11-24svx: missing libxml2 externalMiklos Vajna
Change-Id: I416e504d1f16530096056ea915dcfdb74f302c4c
2014-11-24Kill unused (debugging) sidebars.Jan Holesovsky
Change-Id: I7d0af9d7c65e2d9d45b32870af495b2cd3eef749 Reviewed-on: https://gerrit.libreoffice.org/13084 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-11-23fdo#85486 - Clean up unnecessary enumerations from xenum.hxxRadu Ioan
Removed XLineStyle Reviewed on: https://gerrit.libreoffice.org/13029 Change-Id: I583575a04988ccf932374e411672ba14a3f3cb2f
2014-11-23loplugin:literaltoboolconversionStephan Bergmann
Change-Id: Ibecd561c1d27e129ad1f481bdb7f8a7bb4d0f8d8