summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-21 08:58:16 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-21 11:43:35 +0000
commit64b315df9b7f90621db92062c6ce62f487325388 (patch)
treeef077227543eca2913b5952ca3050c978e449d23 /sw/inc
parentcf3318f6edc93bfb0d8951a3c1d74ecfbc393a8d (diff)
GetOutlineRuleName: return OUString instead of char*
Change-Id: I79cd722aa2d3bb0292f9b0f7fb6989e2e17d0ff0 Reviewed-on: https://gerrit.libreoffice.org/5563 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/numrule.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index a01e0b5a0438..850d4128cd9c 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -115,7 +115,6 @@ private:
/// default list level properties for position-and-space mode LABEL_ALIGNMENT
static SwNumFmt* aLabelAlignmentBaseFmts [ RULE_END ][ MAXLEVEL ];
static sal_uInt16 nRefCount;
- static char* pDefOutlineName;
SwNumFmt* aFmts[ MAXLEVEL ];
@@ -208,7 +207,7 @@ public:
void SetNumRuleMap(
boost::unordered_map<OUString, SwNumRule *, OUStringHash>* pNumRuleMap );
- static char* GetOutlineRuleName() { return pDefOutlineName; }
+ static OUString GetOutlineRuleName();
static sal_uInt16 GetNumIndent( sal_uInt8 nLvl );
static sal_uInt16 GetBullIndent( sal_uInt8 nLvl );