diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-03-02 20:31:20 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-03-02 22:14:24 +0000 |
commit | 36f8ef7f3f344086f55028f725fb70e488bc3411 (patch) | |
tree | 29c7868067954ae1fc14d9c6a98e9385e94a422a /oox/inc/oox/drawingml/customshapeproperties.hxx | |
parent | 8d7321c8eb658c409122feaef4960cc88aa63459 (diff) |
customshapes: 800k size saving, and 25% compile speedup
Use static const char * arrays and a helper function instead
of inlining umpteen OUString intern calls.
Diffstat (limited to 'oox/inc/oox/drawingml/customshapeproperties.hxx')
-rw-r--r-- | oox/inc/oox/drawingml/customshapeproperties.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/inc/oox/drawingml/customshapeproperties.hxx b/oox/inc/oox/drawingml/customshapeproperties.hxx index a36a022ed5a2..26a5a231efb6 100644 --- a/oox/inc/oox/drawingml/customshapeproperties.hxx +++ b/oox/inc/oox/drawingml/customshapeproperties.hxx @@ -114,6 +114,8 @@ struct Path2D class CustomShapeProvider { +protected: + static com::sun::star::uno::Any createStringSequence( size_t nStrings, const char **pStrings ); public: virtual PropertyMap getProperties() = 0; }; |