summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-03-03 09:44:24 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-03-03 09:44:47 +0100
commit0ba96ffcd8ee2296b5a30451a9310b5b097df514 (patch)
treef60bb77bcb9d9aaae876948e16e0543e7650cee1 /editeng
parenta39fb49535bbcdecd0a605250f82335aee690937 (diff)
editeng: fix -Werror=unused-but-set-variable
Change-Id: I14364bc833c97dbb5dfe323c65282f69ba7e393f
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index be4305b10e49..f3e564ef0225 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -659,7 +659,6 @@ void SvxRTFParser::ReadInfo()
DBG_ASSERT(m_xDocProps.is(),
"SvxRTFParser::ReadInfo: no DocumentProperties");
OUString sStr, sComment;
- long nVersNo = 0;
while( _nOpenBrakets && IsParserWorking() )
{
@@ -734,7 +733,6 @@ void SvxRTFParser::ReadInfo()
break;
case RTF_VERN:
- nVersNo = nTokenValue;
break;
case RTF_EDMINS: