Armin Le Grand
7d9bb549d4
Related: #i124638# Second step of DrawingLayer FillAttributes...
...
for Writer objects, now added support for Paragraph and PageStyle (including
Header and Footer) for direct attributes and style attributes
(cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b)
Conflicts:
cui/source/factory/dlgfact.cxx
cui/source/factory/dlgfact.hxx
cui/source/inc/bbdlg.hxx
cui/source/inc/cuires.hrc
cui/source/tabpages/bbdlg.cxx
cui/source/tabpages/bbdlg.src
cui/source/tabpages/page.cxx
cui/source/tabpages/tparea.cxx
include/svx/pagectrl.hxx
include/svx/svxdlg.hxx
include/svx/svxids.hrc
include/xmloff/PageMasterStyleMap.hxx
include/xmloff/prstylei.hxx
include/xmloff/txtprmap.hxx
svx/Package_inc.mk
svx/inc/svx/hdft.hxx
svx/source/dialog/hdft.cxx
svx/source/dialog/pagectrl.cxx
svx/source/tbxctrls/tbxcolorupdate.cxx
svx/source/unodraw/unobrushitemhelper.cxx
sw/Library_sw.mk
sw/inc/fillattributes.hxx
sw/inc/format.hxx
sw/inc/frmatr.hxx
sw/inc/frmfmt.hxx
sw/inc/hintids.hxx
sw/inc/hints.hxx
sw/inc/ndtxt.hxx
sw/inc/node.hxx
sw/inc/swunohelper.hxx
sw/inc/unobrushitemhelper.hxx
sw/inc/unoprnms.hxx
sw/source/core/attr/format.cxx
sw/source/core/attr/hints.cxx
sw/source/core/doc/docdesc.cxx
sw/source/core/doc/docdraw.cxx
sw/source/core/doc/docfmt.cxx
sw/source/core/doc/docnew.cxx
sw/source/core/doc/docredln.cxx
sw/source/core/doc/poolfmt.cxx
sw/source/core/doc/visiturl.cxx
sw/source/core/docnode/node.cxx
sw/source/core/inc/frame.hxx
sw/source/core/inc/frmtool.hxx
sw/source/core/inc/rolbck.hxx
sw/source/core/layout/atrfrm.cxx
sw/source/core/layout/fillattributes.cxx
sw/source/core/layout/findfrm.cxx
sw/source/core/layout/paintfrm.cxx
sw/source/core/txtnode/ndtxt.cxx
sw/source/core/txtnode/thints.cxx
sw/source/core/txtnode/txtedt.cxx
sw/source/core/undo/rolbck.cxx
sw/source/core/unocore/swunohelper.cxx
sw/source/core/unocore/unoframe.cxx
sw/source/core/unocore/unomap.cxx
sw/source/core/unocore/unoparagraph.cxx
sw/source/core/unocore/unoprnms.cxx
sw/source/core/unocore/unostyle.cxx
sw/source/ui/chrdlg/paradlg.src
sw/source/ui/chrdlg/pardlg.cxx
sw/source/ui/fmtui/tmpdlg.cxx
sw/source/ui/fmtui/tmpdlg.src
sw/source/uibase/app/docst.cxx
sw/source/uibase/app/docstyle.cxx
sw/source/uibase/frmdlg/colex.cxx
sw/source/uibase/shells/basesh.cxx
sw/source/uibase/shells/textsh1.cxx
sw/source/uibase/uiview/viewstat.cxx
sw/source/uibase/utlui/uitool.cxx
xmloff/inc/PageMasterImportContext.hxx
xmloff/inc/xmloff/XMLShapeStyleContext.hxx
xmloff/source/draw/XMLShapeStyleContext.cxx
xmloff/source/draw/sdpropls.hxx
xmloff/source/style/PageMasterExportPropMapper.cxx
xmloff/source/style/PageMasterImportContext.cxx
xmloff/source/style/PageMasterPropHdlFactory.cxx
xmloff/source/style/PageMasterStyleMap.cxx
xmloff/source/style/prstylei.cxx
xmloff/source/text/txtexppr.cxx
xmloff/source/text/txtprhdl.cxx
xmloff/source/text/txtprmap.cxx
xmloff/source/text/txtstyli.cxx
Conflicts:
svx/source/dialog/hdft.cxx
sw/source/core/doc/visiturl.cxx
sw/source/core/txtnode/thints.cxx
sw/source/core/txtnode/txtatr2.cxx
sw/source/core/unocore/unostyle.cxx
Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
2014-07-01 13:30:09 +02:00
Miklos Vajna
4f33a0961d
SdrObjCustomShape::AdjustTextFrameWidthAndHeight: allow external text
...
So that in Writer, in case we're using Writer TextFrames to handle the
content of a shape, it's still possible to inform the custom shape about
the automatic size of the text, just like when native editeng text is
used.
Change-Id: I2534b942a9b2d62d7aa009ffbfa8d76feb011f92
2014-06-27 15:56:05 +02:00
Michael Stahl
ca18092a78
remove spurious com::sun: ⭐ :text prefix
...
Change-Id: I98d2fc7de3c2d3f95fb96192da83761ac1146172
2014-06-25 15:04:47 +02:00
Michael Stahl
426b940a94
remove spurious ::com::sun: ⭐ :sdbcx namespace prefix
...
Change-Id: I37220af64c15259ab5bcf61b324d2a73ed8f5348
2014-06-25 15:04:46 +02:00
Noel Grandin
e2080e70fe
new compilerplugin returnbyref
...
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
class A {
struct X x;
public X* getX() { return &x; }
}
which can be:
public X& getX() { return x; }
Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
Matúš Kukan
991eeb3215
Remove unused mpOwner in SvxTextEditSource.
...
Change-Id: I824e8436945e056840386960308b8e63627a603f
2014-06-24 08:46:09 +02:00
Kohei Yoshida
1d38cb3655
fdo#71076, fdo#71767: Preserve number formats when charts are copied.
...
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19 14:46:56 -04:00
Armin Le Grand
0f61a89e51
Resolves: #i125065# handle critical cases in FillStyle/FillProperties...
...
toolbar combination
(cherry picked from commit 0ce4a90e14ddc9067d014405235a36aa959c6ea2)
Conflicts:
include/svx/fillctrl.hxx
svx/source/tbxctrls/fillctrl.cxx
Change-Id: I9a1b2490a7e9285559dddd4df7fb20c2216fd450
2014-06-17 13:59:38 +01:00
Caolán McNamara
084358a723
coverity#1209942 Uncaught exception
...
Change-Id: Ice7a4802605fbe59dfb24a27408106756a3494ba
2014-06-17 10:58:03 +01:00
Noel Grandin
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Caolán McNamara
dd00b2311a
convert Save Progress Dialog to .ui
...
Change-Id: I833e6e9c78620443325b5ef9efa403a5eef497cc
2014-06-16 13:40:05 +01:00
Stephan Bergmann
e9f405a0da
Clean up SdrModel::MigrateItemSet
...
* No need to support null pNewModel argument (the one call site that did pass in
null explicitly in sd/source/ui/func/fupate.cxx can just as well pass in
mpDoc, and all existing call sites are guaranteed to pass in a non-null
value).
* With that changed, SdrModel::MigrateItemSet can be static. (At least in
JunitTest_forms_unoapi it could happen that the call from
svx/source/sdr/properties/attributeproperites.cxx called MigrateItemSet on a
null GetSdrObject.GetModel(), which was undefined behavior even though it was
harmless.)
Change-Id: Idface48da7e889c6e5768d0e49bc67c88b4c3ec4
2014-06-16 12:05:37 +02:00
Caolán McNamara
120a04d678
coverity#983928 Uncaught exception
...
Change-Id: Ib3b25a0aab2389be68fc8339f9b08a87de419b33
2014-06-13 13:38:25 +01:00
Tor Lillqvist
3cf9f47c94
Bin obsolete pointless preprocessor trickery
...
Change-Id: Icff9a0f112c80569a4533d5c0c6e789eec3925ee
2014-06-12 00:01:55 +03:00
Stephan Bergmann
bb761be472
Change SfxTabPage ctor SfxItemSet param from ref to pointer
...
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions. There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.
Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
Stephan Bergmann
a92e973b6d
Change SfxTabPage::Reset param from ref to pointer
...
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)
Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
Stephan Bergmann
4dbeadb9c1
Change SfxTabPage::FillItemSet param from ref to pointer
...
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)
Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
Stephan Bergmann
16889f355d
-Werror,-Wtautological-undefined-compare
...
Change-Id: Id73628a33ea4fe4cd749ebeef7b3cd0a87ff4118
2014-06-10 11:52:56 +02:00
Caolán McNamara
ef955b0c5e
coverity#707245 Uncaught exception
...
Change-Id: I9579078a845cd25e25b863e08de94aec1687d596
2014-06-10 10:48:41 +01:00
Caolán McNamara
db176b0ed3
coverity#1222241 Uncaught exception
...
Change-Id: Ibaf3a5305082b60fadb8a2499712dc4a460cb449
2014-06-10 10:48:40 +01:00
Caolán McNamara
1e3eca9316
coverity#1222243 Uncaught exception
...
Change-Id: Ia0e1d109023c133104574c380a5e7abda5ae2480
2014-06-10 10:48:40 +01:00
Caolán McNamara
efd6106f09
de-virtualize these stringify methods, nothing overrides them
...
Change-Id: Id523ae3f50147fd778a1576c2851d01e1ea8c3ae
2014-06-09 16:24:40 +01:00
Noel Grandin
184a00b962
loplugin: inlinesimplememberfunctions
...
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
Noel Grandin
bf37694ab8
svx: remove SAL_THROW macro
...
Change-Id: I8bfce109e55871d48b35300be98085f383fef26f
2014-06-05 08:17:48 +02:00
Caolán McNamara
29afc48322
drop now unused RID_SVX_TABDLG_DOCRECOVERY
...
Change-Id: Ie9fd186523d78436d5a0e8f33899aa1f462d495a
2014-06-04 15:12:05 +01:00
Caolán McNamara
35c31f5f40
convert document recovery dialog to .ui
...
and move sidebar global resource defines up to the toplevel so its harder to
collide with them and adjust the define to indicate the next free resource
id.
and simplify the dialog down a good bit and remove intermediate classes
etc.
Change-Id: I8d6db17fcdfc86457368d7f432bd96f6f3aa182d
2014-06-04 15:07:36 +01:00
Noel Grandin
2537d2dd49
convert some sal_uInt8 fields to bool
...
Change-Id: Icd5845367157cc0b0c9342c6037b199c49432a76
2014-06-03 08:21:39 +02:00
Caolán McNamara
630d481210
coverity#1213461 Uncaught exception
...
Change-Id: I4c0a28ea11e0d38837a3b338928073d32d2b6abe
2014-06-02 16:59:59 +01:00
Caolán McNamara
c26ba0d35e
coverity#1209946 Uncaught exception
...
Change-Id: I875faea495a375b998c439a0c987b2241ca47ea8
2014-05-27 21:08:38 +01:00
Caolán McNamara
22b28fb784
coverity#1209949 Uncaught exception
...
Change-Id: I968c5cd5929e2587588f0e0547352acdc19e456a
2014-05-27 21:08:37 +01:00
Thomas Arnhold
92b447876d
css already means ::com::sun::star
...
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27 14:00:28 +02:00
Noel Grandin
9b6b260bcc
cid#707139 Uncaught exception
...
Change-Id: I4d821c576fef09ca7935a931b1632238ae550df9
2014-05-27 10:50:04 +02:00
Noel Grandin
4a150c2d0c
cid#707249 Uncaught exception
...
Change-Id: Ib8ae83da27b24962769737626a9b55489239bda9
2014-05-27 10:50:01 +02:00
Noel Grandin
f7679803da
cid#707251 Uncaught exception
...
Change-Id: I77a606e3200da94fcf2268c5cd6c396068a82e47
2014-05-27 10:50:01 +02:00
Noel Grandin
616011663a
cid#707271 Uncaught exception
...
Change-Id: I95d1e737004074a00100b4c7ba4f15f660df4ff5
2014-05-27 10:49:59 +02:00
Noel Grandin
388f1fc62b
cid#707272 Uncaught exception
...
Change-Id: I4ff6b2fddc0cb96ec088cb0b123a9f6185db389c
2014-05-27 10:49:59 +02:00
Noel Grandin
cf5a067ab6
cid#707273 Uncaught exception
...
Change-Id: Ic9dcbcdc73a0e7b95d665e58db291fa50a287a3c
2014-05-27 10:49:59 +02:00
Caolán McNamara
3ea1cdfa10
callcatcher: update unused code
...
a few more ResId using ctors going away
Change-Id: Ic956bc179c094d19989bf850657471192d042a01
2014-05-26 09:44:45 +01:00
Matteo Casalin
f4166f967b
sal_uInt16 to size_t
...
Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
2014-05-24 22:09:08 +02:00
Caolán McNamara
1413d6bc99
convert doc recovery save page to .ui
...
and a wizard with one page is just a dialog, so make
that simplification and conversion too
Change-Id: I9f6335007609893308d57d693a18a313bcbb9244
2014-05-24 18:07:41 +01:00
Caolán McNamara
a5219c7902
coverity#707241 Uncaught exception
...
Change-Id: Ia82b685a892c376dbdf5a5b7a8e559bf318b9134
2014-05-24 16:11:02 +01:00
Caolán McNamara
94cf259457
coverity#983802 Uncaught exception
...
Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f
2014-05-24 16:10:59 +01:00
Caolán McNamara
8bafbd2c40
coverity#983926 Uncaught exception
...
Change-Id: I2b0115d59c312bdce7bdd9c8ae133e07dfb9699a
2014-05-24 16:10:59 +01:00
Caolán McNamara
4dc0263505
coverity#1209950 Uncaught exception
...
Change-Id: I92da2ae224bab6d4781463c096a35ecaec6fecc8
2014-05-23 20:37:35 +01:00
Caolán McNamara
b695519ab9
coverity#1210006 Uncaught exception
...
Change-Id: I9db3763ed1217e5560d092e689101dddd8027efa
2014-05-23 20:37:35 +01:00
Eike Rathke
29c024afbe
+ SvxLanguageComboBox EditModifyHdl(), SaveEditedAsEntry()
...
Change-Id: I6acc7538fcbf8aa7a5e50ba72b27409252cffa15
2014-05-22 19:35:36 +02:00
Eike Rathke
cf53a5d493
we have GetEntryPos(), use it
...
Change-Id: Iebb19951efa81817793a155164862076d1198e6e
2014-05-21 18:02:09 +02:00
sk94
5690def7c8
RID_DLG_UPDATE conversion to .ui
...
Conflicts:
desktop/source/deployment/gui/descedit.hxx
Change-Id: Icf9ee3081b468f99833d1e38182887ad1da6f675
Reviewed-on: https://gerrit.libreoffice.org/9417
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-21 07:46:34 -05:00
Michael Stahl
68bc8af6b6
SvxRelativeField: set the unit from the passed stringmap
...
In the Paragraph "Indents & Spacing" tab there are fields with unit:
<object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm">
But the unit is effectively ignored, and the resulting SvxRelativeField
with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the
dialog sets cm as unit.
Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34
2014-05-20 16:44:29 +02:00
Thomas Arnhold
3db8d606d5
hrc and src files: squeeze multiple newlines
...
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done
Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00