diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-09 09:15:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-09 09:59:47 +0100 |
commit | 8c5452044b54b00a8cd5cd98b01d61995d7e2660 (patch) | |
tree | 1d0615725724ebaf4bc81807a134836b36091934 /include/svx | |
parent | d1df071c3fc452817746a8daa13000d2df667aba (diff) |
Resolves: tdf#93135 there is no SDRATTR_TEXT_AUTOGROWSIZE property
as far as I can see there is no use of SDRATTR_TEXT_AUTOGROWSIZE anywhere,
just a reuse of SDRATTR_TEXT_AUTOGROWHEIGHT for a different mechanism to resize
the surrounding shape to fit text in custom shapes.
Note there is another different feature to resize text to fit into its frame
of SDRATTR_TEXT_FITTOSIZE.
Change-Id: Icf08966c70ef79271f462da7d4b2c6e8e855d5df
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdasitm.hxx | 4 | ||||
-rw-r--r-- | include/svx/svddef.hxx | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/svx/sdasitm.hxx b/include/svx/sdasitm.hxx index a927467a475c..6e19e3f59160 100644 --- a/include/svx/sdasitm.hxx +++ b/include/svx/sdasitm.hxx @@ -96,10 +96,6 @@ inline SdrOnOffItem makeSdrTextWordWrapItem( bool bAuto ) { return SdrOnOffItem( SDRATTR_TEXT_WORDWRAP, bAuto ); } -inline SdrOnOffItem makeSdrTextAutoGrowSizeItem( bool bAuto ) { - return SdrOnOffItem( SDRATTR_TEXT_AUTOGROWSIZE, bAuto ) ; -} - // some useful inline methods inline size_t SdrCustomShapeGeometryItem::PropertyPairHash::operator()( const SdrCustomShapeGeometryItem::PropertyPair &r1 ) const diff --git a/include/svx/svddef.hxx b/include/svx/svddef.hxx index 5b3e5e9b2945..733e6b0a103e 100644 --- a/include/svx/svddef.hxx +++ b/include/svx/svddef.hxx @@ -111,8 +111,7 @@ #define SDRATTR_XMLATTRIBUTES (SDRATTR_MISC_FIRST +23) /* 1120 */ /* 1120 */ /* 1103 */ /* Pool V2 */ #define SDRATTR_TEXT_USEFIXEDCELLHEIGHT (SDRATTR_MISC_FIRST +24) /* 1121 */ /* 1121 */ /* 1104 */ /* Pool V2 */ #define SDRATTR_TEXT_WORDWRAP (SDRATTR_MISC_FIRST +25) /* 1122 */ /* 1122 */ /* 1105 */ /* Pool V2 */ -#define SDRATTR_TEXT_AUTOGROWSIZE (SDRATTR_MISC_FIRST +26) /* 1123 */ /* 1123 */ /* 1106 */ /* Pool V2 */ -#define SDRATTR_TEXT_CHAINNEXTNAME (SDRATTR_MISC_FIRST + 27) /* 1124 */ /* 11124 */ +#define SDRATTR_TEXT_CHAINNEXTNAME (SDRATTR_MISC_FIRST +26) /* 1123 */ /* 1123 */ /* 1106 */ /* Pool V2 */ #define SDRATTR_MISC_LAST (SDRATTR_TEXT_CHAINNEXTNAME) /* 1125 */ /* 1125 */ /* 1108 */ /* Pool V1: 1056 */ #define SDRATTR_EDGE_FIRST (SDRATTR_MISC_LAST + 1) /* 1127 */ /* Pool V4 */ |