summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterPropHdl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 09:13:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 11:17:34 +0200
commitcb96678b3f875595e203f263e397afc33b433bb0 (patch)
tree1d6e1d19b7a9f6bdae149da9e872569ede7a2ac8 /xmloff/source/style/PageMasterPropHdl.cxx
parent9a884b3d055ffdedbadb64c7f14e6d38078dedb1 (diff)
loplugin:oncevar in xmloff
Change-Id: I0fbd37685a0006e1fbc98d2b432c2b84d13d6cc8 Reviewed-on: https://gerrit.libreoffice.org/39344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/PageMasterPropHdl.cxx')
-rw-r--r--xmloff/source/style/PageMasterPropHdl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/PageMasterPropHdl.cxx b/xmloff/source/style/PageMasterPropHdl.cxx
index 86d8829f70ae..5ebd7aa78d1d 100644
--- a/xmloff/source/style/PageMasterPropHdl.cxx
+++ b/xmloff/source/style/PageMasterPropHdl.cxx
@@ -283,13 +283,12 @@ bool XMLPMPropHdl_Print::importXML(
Any& rValue,
const SvXMLUnitConverter& ) const
{
- sal_Unicode cToken = ' ';
sal_Int32 nTokenIndex = 0;
bool bFound = false;
do
{
- bFound = (sAttrValue == rStrImpValue.getToken( 0, cToken, nTokenIndex ));
+ bFound = (sAttrValue == rStrImpValue.getToken( 0, ' ', nTokenIndex ));
}
while ( (nTokenIndex >= 0) && !bFound );