From 1f145776d815a8669dbf68e4e9b2e2e9176bb034 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Jan 2017 08:12:10 +0100 Subject: New loplugin:conststringvar: desktop Change-Id: Ib7b946fd033857d7b1b436ac478c1a9ecfccaa0d --- desktop/source/migration/services/wordbookmigration.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit