diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-03 19:42:24 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-03 19:42:24 +0200 |
commit | 91fd138dfed7075f50525a4ccd042c689d3e1b3d (patch) | |
tree | 0f49138f46541deb483e95c6a399a11f1fe12789 /writerperfect/source/filter/FilterInternal.hxx | |
parent | 1a4467ea3aee785243cca5270952103a5f55bf7c (diff) |
Get rid of some warnings
Diffstat (limited to 'writerperfect/source/filter/FilterInternal.hxx')
-rw-r--r-- | writerperfect/source/filter/FilterInternal.hxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/writerperfect/source/filter/FilterInternal.hxx b/writerperfect/source/filter/FilterInternal.hxx index 7bb7edbfe055..6b7a78ef24b8 100644 --- a/writerperfect/source/filter/FilterInternal.hxx +++ b/writerperfect/source/filter/FilterInternal.hxx @@ -43,34 +43,4 @@ struct ltstr } }; -static WPXString propListToStyleKey(const WPXPropertyList & xPropList) -{ - WPXString sKey; - WPXPropertyList::Iter i(xPropList); - for (i.rewind(); i.next(); ) - { - WPXString sProp; - sProp.sprintf("[%s:%s]", i.key(), i()->getStr().cstr()); - sKey.append(sProp); - } - - return sKey; -} - -static WPXString getParagraphStyleKey(const WPXPropertyList & xPropList, const WPXPropertyListVector & xTabStops) -{ - WPXString sKey = propListToStyleKey(xPropList); - - WPXString sTabStops; - sTabStops.sprintf("[num-tab-stops:%i]", xTabStops.count()); - WPXPropertyListVector::Iter i(xTabStops); - for (i.rewind(); i.next();) - { - sTabStops.append(propListToStyleKey(i())); - } - sKey.append(sTabStops); - - return sKey; -} - #endif |