[Libreoffice-commits] core.git: stoc/source

2020-01-28 Thread Efdal İncesu (via logerrit)
 stoc/source/loader/dllcomponentloader.cxx |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit c8a27f91dad1d84da76f0862954956570b56a602
Author: Efdal İncesu 
AuthorDate: Tue Jan 28 10:28:24 2020 +0300
Commit: Muhammet Kara 
CommitDate: Tue Jan 28 09:56:42 2020 +0100

tdf#88205:  Adapt uses of css::uno::Sequence to use initializer_list ctor

Change-Id: Ie23019fe0b86f16820dd68c647c4ce1542dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87575
Tested-by: Jenkins
Reviewed-by: Muhammet Kara 

diff --git a/stoc/source/loader/dllcomponentloader.cxx 
b/stoc/source/loader/dllcomponentloader.cxx
index fe88d1b74746..43f20ad0a5e4 100644
--- a/stoc/source/loader/dllcomponentloader.cxx
+++ b/stoc/source/loader/dllcomponentloader.cxx
@@ -86,8 +86,7 @@ sal_Bool SAL_CALL DllComponentLoader::supportsService( const 
OUString& ServiceNa
 
 Sequence SAL_CALL DllComponentLoader::getSupportedServiceNames(  )
 {
-Sequence< OUString > seqNames { "com.sun.star.loader.SharedLibrary" };
-return seqNames;
+return { "com.sun.star.loader.SharedLibrary" };
 }
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2020-01-27 Thread Efdal İncesu (via logerrit)
 svx/source/form/navigatortree.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a27a8f0c03436916e20e3362e8b5ed2410da3b23
Author: Efdal İncesu 
AuthorDate: Sun Jan 26 17:09:50 2020 +0300
Commit: Muhammet Kara 
CommitDate: Mon Jan 27 14:37:45 2020 +0100

tdf#75280: Convert inappropriate use of sal_uIntPtr to better integer types

Change-Id: I1f9c143eee8da149d87668063cc2da16d22312db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87464
Tested-by: Jenkins
Reviewed-by: Muhammet Kara 

diff --git a/svx/source/form/navigatortree.cxx 
b/svx/source/form/navigatortree.cxx
index 32f1bcf482fb..12995e5c7167 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -656,7 +656,7 @@ namespace svxform
 
 // selection can be modified during deletion,
 // but because I disabled SelectionHandling, I have to do it later
-sal_uIntPtr nExpectedSelectionCount = GetSelectionCount();
+sal_uLong nExpectedSelectionCount = GetSelectionCount();
 
 GetModel()->Remove(pEntry);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: include/sfx2 sc/inc test/source

2020-01-25 Thread Efdal İncesu (via logerrit)
 include/sfx2/checkin.hxx   |6 ++
 sc/inc/calcmacros.hxx  |5 +
 sc/inc/columnset.hxx   |5 +
 sc/inc/strings.hxx |4 +---
 test/source/isheadless.hxx |5 +
 5 files changed, 6 insertions(+), 19 deletions(-)

New commits:
commit 99c5669b4f54a3e55625ec0896852ed4154d2765
Author: Efdal İncesu 
AuthorDate: Sat Jan 25 16:24:28 2020 +0300
Commit: Muhammet Kara 
CommitDate: Sat Jan 25 18:58:16 2020 +0100

tdf#124176: Use pragma once instead of include guard

Change-Id: Ic525a57880067fc589346b87237c08fae4644ac5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87403
Tested-by: Jenkins
Reviewed-by: Muhammet Kara 

diff --git a/include/sfx2/checkin.hxx b/include/sfx2/checkin.hxx
index 680160cedd97..78535f7aab9d 100644
--- a/include/sfx2/checkin.hxx
+++ b/include/sfx2/checkin.hxx
@@ -6,8 +6,8 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
-#ifndef INCLUDED_SFX2_CHECKIN_HXX
-#define INCLUDED_SFX2_CHECKIN_HXX
+
+#pragma once
 
 #include 
 
@@ -28,6 +28,4 @@ public:
 bool IsMajor() const;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/calcmacros.hxx b/sc/inc/calcmacros.hxx
index ca51c62adb54..c0c68d4487cf 100644
--- a/sc/inc/calcmacros.hxx
+++ b/sc/inc/calcmacros.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SC_INC_CALCMACROS_HXX
-#define INCLUDED_SC_INC_CALCMACROS_HXX
+#pragma once
 
 #define DEBUG_COLUMN_STORAGE 0
 #define DEBUG_PIVOT_TABLE 0
@@ -35,6 +34,4 @@ using std::cerr;
 using std::endl;
 #endif
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/columnset.hxx b/sc/inc/columnset.hxx
index 879c9098b9d6..d7d9a4de5ec6 100644
--- a/sc/inc/columnset.hxx
+++ b/sc/inc/columnset.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SC_INC_COLUMNSET_HXX
-#define INCLUDED_SC_INC_COLUMNSET_HXX
+#pragma once
 
 #include "types.hxx"
 
@@ -36,6 +35,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/strings.hxx b/sc/inc/strings.hxx
index dcd76c281aa9..f21fccf77b6a 100644
--- a/sc/inc/strings.hxx
+++ b/sc/inc/strings.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SC_INC_STRINGS_HXX
-#define INCLUDED_SC_INC_STRINGS_HXX
+#pragma once
 
 #define SCSTR_FIELDSEP  
",\t44\t;\t59\t:\t58\t{%TAB}\t9\t{%SPACE}\t32 "
 #define SCSTR_TEXTSEP   "\"\t34\t'\t39"
@@ -23,6 +22,5 @@
 #define STR_ACC_RIGHTAREA_DESCR ""
 #define STR_ACC_HEADER_DESCR""
 #define STR_ACC_FOOTER_DESCR""
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
diff --git a/test/source/isheadless.hxx b/test/source/isheadless.hxx
index 8a3e81e6ee72..c9f22232bd15 100644
--- a/test/source/isheadless.hxx
+++ b/test/source/isheadless.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_TEST_SOURCE_ISHEADLESS_HXX
-#define INCLUDED_TEST_SOURCE_ISHEADLESS_HXX
+#pragma once
 
 #include 
 
@@ -32,6 +31,4 @@ inline bool isHeadless() {
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: configmgr/source

2020-01-25 Thread Efdal İncesu (via logerrit)
 configmgr/source/winreg.hxx |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit e7c6ceb862e997a56b51212e2c4351ba8ce13602
Author: Efdal İncesu 
AuthorDate: Sat Jan 25 14:58:47 2020 +0300
Commit: Muhammet Kara 
CommitDate: Sat Jan 25 17:46:02 2020 +0100

tdf#124176: Use pragma once instead of include guard

Change-Id: Ifec221d1dbffa3adcc9e3cc7ed13dcf82f1182d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87384
Tested-by: Jenkins
Reviewed-by: Muhammet Kara 

diff --git a/configmgr/source/winreg.hxx b/configmgr/source/winreg.hxx
index fb880ac0c564..132a1f6d4206 100644
--- a/configmgr/source/winreg.hxx
+++ b/configmgr/source/winreg.hxx
@@ -8,8 +8,7 @@
  *
  */
 
-#ifndef INCLUDED_CONFIGMGR_SOURCE_WINREG_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_WINREG_HXX
+#pragma once
 
 namespace configmgr {
 
@@ -19,6 +18,4 @@ bool dumpWindowsRegistry(OUString* pFileURL, WinRegType 
eType);
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits