summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:12:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:12:10 +0100
commit1f145776d815a8669dbf68e4e9b2e2e9176bb034 (patch)
treebe5c149a244d451d3529e71c44faa743b705d89a /desktop
parent0731f13cb9e272d8a8d4ea172d9eb8a7608d990d (diff)
New loplugin:conststringvar: desktop
Change-Id: Ib7b946fd033857d7b1b436ac478c1a9ecfccaa0d
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/migration/services/wordbookmigration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx
index df8a30f57082..91950c4f49a7 100644
--- a/desktop/source/migration/services/wordbookmigration.cxx
+++ b/desktop/source/migration/services/wordbookmigration.cxx
@@ -112,7 +112,7 @@ bool IsUserWordbook( const OUString& rFile )
SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( OUString(rFile), StreamMode::STD_READ );
if ( pStream && !pStream->GetError() )
{
- static const sal_Char* pVerOOo7 = "OOoUserDict1";
+ static const sal_Char* const pVerOOo7 = "OOoUserDict1";
sal_uInt64 const nSniffPos = pStream->Tell();
static std::size_t nVerOOo7Len = sal::static_int_cast< std::size_t >(strlen( pVerOOo7 ));
sal_Char pMagicHeader[MAX_HEADER_LENGTH];