[Libreoffice-commits] core.git: bridges/source sc/source

2023-03-18 Thread ektagoel12 (via logerrit)
 bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx |4 +---
 sc/source/filter/excel/xestream.cxx   |7 +++
 2 files changed, 4 insertions(+), 7 deletions(-)

New commits:
commit 307b1cc494c51c802882ae23029e33a72d57f2a3
Author: ektagoel12 
AuthorDate: Mon Mar 13 19:51:25 2023 +0530
Commit: Ilmari Lauhakangas 
CommitDate: Sat Mar 18 16:39:34 2023 +

tdf#130924 replace debugging fprintf calls with SAL_INFO/SAL_WARN

Change-Id: I1893e130af2584c1d57c3e37ee3f3ff18c07c077
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148792
Tested-by: Ilmari Lauhakangas 
Reviewed-by: Ilmari Lauhakangas 

diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx 
b/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx
index f455be45dc88..11d60fdeab44 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx
@@ -369,10 +369,8 @@ static typelib_TypeClass cpp_mediate(
 
 TypeDescription aMemberDescr( pTypeDescr->ppAllMembers[nMemberPos] );
 
-#if defined BRIDGES_DEBUG
 OString cstr( OUStringToOString( aMemberDescr.get()->pTypeName, 
RTL_TEXTENCODING_ASCII_US ) );
-fprintf( stderr, "calling %s, nFunctionIndex=%d\n", cstr.getStr(), 
nFunctionIndex );
-#endif
+SAL_WARN("bridges", "calling " << cstr.getStr() << ", nFunctionIndex=" << 
nFunctionIndex);
 
 typelib_TypeClass eRet;
 switch (aMemberDescr.get()->eTypeClass)
diff --git a/sc/source/filter/excel/xestream.cxx 
b/sc/source/filter/excel/xestream.cxx
index 467dfefd278f..374743786212 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -593,10 +593,9 @@ void XclExpBiff8Encrypter::EncryptBytes( SvStream& rStrm, 
vector& aBy
 sal_uInt16 nBlockOffset = GetOffsetInBlock(nStrmPos);
 sal_uInt32 nBlockPos = GetBlockPos(nStrmPos);
 
-#if DEBUG_XL_ENCRYPTION
-fprintf(stdout, "XclExpBiff8Encrypter::EncryptBytes: stream pos = %ld  
offset in block = %d  block pos = %ld\n",
-nStrmPos, nBlockOffset, nBlockPos);
-#endif
+SAL_INFO("sc.filter", "XclExpBiff8Encrypter::EncryptBytes: stream pos = "
+  << nStrmPos << " offset in block = " << 
nBlockOffset
+  << " block pos = " << nBlockPos);
 
 sal_uInt16 nSize = static_cast< sal_uInt16 >( aBytes.size() );
 if (nSize == 0)


[Libreoffice-commits] core.git: bridges/source sc/source svx/uiconfig

2019-08-18 Thread Andrea Gelmini (via logerrit)
 bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx |2 +-
 sc/source/core/opencl/formulagroupcl.cxx  |4 ++--
 svx/uiconfig/ui/sidebarstylespanel.ui |6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 935a2fa0f7ee5dbe6402e0d202a581c05a7b01a2
Author: Andrea Gelmini 
AuthorDate: Sun Aug 18 14:39:29 2019 +0200
Commit: Andrea Gelmini 
CommitDate: Sun Aug 18 17:21:40 2019 +0200

Fix typos

It passed "make check" on Linux

Change-Id: Ibda74a6c5bd50bac7af3b3af1f294817c3e406cc
Reviewed-on: https://gerrit.libreoffice.org/77667
Reviewed-by: Julien Nabet 
Tested-by: Jenkins

diff --git a/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx 
b/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx
index 477879f2f2a0..a07365a5943e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx
@@ -198,7 +198,7 @@ StructKind getStructKind(typelib_CompoundTypeDescription 
const * type) {
 case STRUCT_KIND_EMPTY:
 // this means an empty sub-object, which nevertheless obtains a 
byte
 // of storage (TODO: does it?), so the full object cannot be a
-// homogenous collection of float or double
+// homogeneous collection of float or double
 case STRUCT_KIND_POD:
 assert(k != STRUCT_KIND_DTOR);
 k = STRUCT_KIND_POD;
diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index 27c981758b8a..8948160c4695 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -964,7 +964,7 @@ size_t DynamicKernelStringArgument::Marshal( cl_kernel k, 
int argno, int, cl_pro
 return 1;
 }
 
-/// A mixed string/numberic vector
+/// A mixed string/numeric vector
 class DynamicKernelMixedArgument : public VectorRef
 {
 public:
@@ -1212,7 +1212,7 @@ protected:
 std::shared_ptr mpCodeGen;
 };
 
-/// A mixed string/numberic vector
+/// A mixed string/numeric vector
 class DynamicKernelMixedSlidingArgument : public VectorRef
 {
 public:
diff --git a/svx/uiconfig/ui/sidebarstylespanel.ui 
b/svx/uiconfig/ui/sidebarstylespanel.ui
index afdc241ab750..a4955472f50d 100644
--- a/svx/uiconfig/ui/sidebarstylespanel.ui
+++ b/svx/uiconfig/ui/sidebarstylespanel.ui
@@ -33,7 +33,7 @@
   
   
 True
-True
+True
   
 
   
@@ -67,7 +67,7 @@
   
   
 True
-True
+True
   
 
   
@@ -90,7 +90,7 @@
   
   
 True
-True
+True
   
 
   
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits