summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/inc/qprostyle.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/qprostyle.hxx')
-rw-r--r--sc/source/filter/inc/qprostyle.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/qprostyle.hxx b/sc/source/filter/inc/qprostyle.hxx
index 09aa5ffc7bd5..2fa316c29adf 100644
--- a/sc/source/filter/inc/qprostyle.hxx
+++ b/sc/source/filter/inc/qprostyle.hxx
@@ -50,7 +50,7 @@ class ScQProStyle
maFontHeight[ nIndex ] = nPtSize;
}
}
- void setFontType( sal_uInt16 nIndex, OUString &aLabel )
+ void setFontType( sal_uInt16 nIndex, const OUString &aLabel )
{ if (nIndex < maxsize) maFontType[ nIndex ] = aLabel; }
void setAlign( sal_uInt16 nIndex, sal_uInt8 nData )
{ if (nIndex < maxsize) maAlign[ nIndex ] = nData; }