summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-04-20 14:33:21 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-04-27 14:00:39 +0200
commit4bcf2dee1e669851b9d6dbbbd4eaede31ea8b307 (patch)
treea003b22242ad1c65e822a626f1d1dff60e0d1448 /sw
parentOUString: constify, avoid temporaries and concatenated appends (diff)
downloadcore-4bcf2dee1e669851b9d6dbbbd4eaede31ea8b307.tar.gz
core-4bcf2dee1e669851b9d6dbbbd4eaede31ea8b307.zip
Constify sal_uInt16
Change-Id: I760311234ae991a4819e7fbd926810e13b001eee
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index 505c251f9afe..ad27a71ec134 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -109,7 +109,7 @@ SwParaDlg::SwParaDlg(Window *pParent,
else
RemoveTabPage("labelTP_PARA_ASIAN");
- sal_uInt16 nWhich(rCoreSet.GetPool()->GetWhich(SID_ATTR_LRSPACE));
+ const sal_uInt16 nWhich(rCoreSet.GetPool()->GetWhich(SID_ATTR_LRSPACE));
bool bLRValid = SFX_ITEM_AVAILABLE <= rCoreSet.GetItemState(nWhich);
if(bHtmlMode || !bLRValid)
RemoveTabPage("labelTP_TABULATOR");