summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-20 11:08:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-21 09:15:11 +0200
commit8c8f2a528534c31708028825d327601d7bec804c (patch)
treec7905b70ed9dac0f53f72eef4efc33e1e7cf1c0d /filter
parent841e1a6f3619054ecc9240e061cd83d4e41d1ca9 (diff)
remove unnecessary explicit linefeeds from end of SAL and OSL log calls
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/querytokenizer.cxx4
-rw-r--r--filter/source/msfilter/mscodec.cxx6
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
-rw-r--r--filter/source/msfilter/msoleexp.cxx6
4 files changed, 9 insertions, 9 deletions
diff --git a/filter/source/config/cache/querytokenizer.cxx b/filter/source/config/cache/querytokenizer.cxx
index 84ec1ba60bff..cb2b3744fc2f 100644
--- a/filter/source/config/cache/querytokenizer.cxx
+++ b/filter/source/config/cache/querytokenizer.cxx
@@ -39,7 +39,7 @@ QueryTokenizer::QueryTokenizer(const OUString& sQuery)
if (equal == 0)
m_bValid = false;
- OSL_ENSURE(m_bValid, "QueryTokenizer::QueryTokenizer()\nFound non boolean query parameter ... but its key is empty. Will be ignored!\n");
+ OSL_ENSURE(m_bValid, "QueryTokenizer::QueryTokenizer() Found non boolean query parameter ... but its key is empty. Will be ignored!");
OUString sKey;
OUString sVal;
@@ -53,7 +53,7 @@ QueryTokenizer::QueryTokenizer(const OUString& sQuery)
if (find(sKey) != end())
m_bValid = false;
- OSL_ENSURE(m_bValid, "QueryTokenizer::QueryTokenizer()\nQuery contains same param more than once. Last one wins :-)\n");
+ OSL_ENSURE(m_bValid, "QueryTokenizer::QueryTokenizer() Query contains same param more than once. Last one wins :-)");
(*this)[sKey] = sVal;
}
diff --git a/filter/source/msfilter/mscodec.cxx b/filter/source/msfilter/mscodec.cxx
index f6a4a575bcc4..83dee6c37223 100644
--- a/filter/source/msfilter/mscodec.cxx
+++ b/filter/source/msfilter/mscodec.cxx
@@ -176,7 +176,7 @@ bool MSCodec_Xor95::InitCodec( const uno::Sequence< beans::NamedValue >& aData )
mnHash = (sal_uInt16)aHashData.getUnpackedValueOrDefault("XOR95PasswordHash", (sal_Int16)0 );
}
else
- OSL_FAIL( "Unexpected key size!\n" );
+ OSL_FAIL( "Unexpected key size!" );
return bResult;
}
@@ -315,10 +315,10 @@ bool MSCodec97::InitCodec( const uno::Sequence< beans::NamedValue >& aData )
lcl_PrintDigest(m_aDocId.data(), "DocId value");
}
else
- OSL_FAIL( "Unexpected document ID!\n" );
+ OSL_FAIL( "Unexpected document ID!" );
}
else
- OSL_FAIL( "Unexpected key size!\n" );
+ OSL_FAIL( "Unexpected key size!" );
return bResult;
}
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index b27da930012e..52b5df44ff81 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -7215,7 +7215,7 @@ SdrOle2Obj* SvxMSDffManager::CreateSdrOLEFromStorage(
}
catch( const uno::Exception& )
{
- OSL_FAIL( "Could not set visual area of the object!\n" );
+ OSL_FAIL( "Could not set visual area of the object!" );
}
}
diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx
index 7f8ca54ec11a..b3bbcd5d7f9b 100644
--- a/filter/source/msfilter/msoleexp.cxx
+++ b/filter/source/msfilter/msoleexp.cxx
@@ -108,7 +108,7 @@ bool UseOldMSExport()
{
}
- OSL_FAIL( "Could not get access to configuration entry!\n" );
+ OSL_FAIL( "Could not get access to configuration entry!" );
return false;
}
@@ -244,13 +244,13 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotSt
}
catch( const embed::NoVisualAreaSizeException& )
{
- OSL_FAIL( "Could not get visual area size!\n" );
+ OSL_FAIL( "Could not get visual area size!" );
aSize.Width = 5000;
aSize.Height = 5000;
}
catch( const uno::Exception& )
{
- OSL_FAIL( "Unexpected exception while getting visual area size!\n" );
+ OSL_FAIL( "Unexpected exception while getting visual area size!" );
aSize.Width = 5000;
aSize.Height = 5000;
}