core.git: Changes to 'refs/tags/mimo-7.6.7.2.M5'

2024-09-27 Thread Aron Budea (via logerrit)
Tag 'mimo-7.6.7.2.M5' created by Aron Budea  at 
2024-09-27 12:42 +

mimo-7.6.7.2.M5

Changes since mimo-7.6.7.2.M4-1:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-6' - 2 commits - canvas/source configure.ac

2024-09-27 Thread Aron Budea (via logerrit)
 canvas/source/vcl/canvashelper.cxx |   25 +++--
 configure.ac   |2 +-
 2 files changed, 4 insertions(+), 23 deletions(-)

New commits:
commit 1c3b876576bce38f0469e76d5ac026095958823a
Author: Aron Budea 
AuthorDate: Fri Sep 27 18:12:11 2024 +0930
Commit: Aron Budea 
CommitDate: Fri Sep 27 18:12:11 2024 +0930

Bump version to 7.6.7.2.M5

Change-Id: I38b8662f0d15582754dd7ac718d7d34761c9784c

diff --git a/configure.ac b/configure.ac
index 3f5e603e7bcb..5387075f50d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.6.7.2.M4],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.6.7.2.M5],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard
commit 42c282997666e84ef2be30e051dac21751393750
Author: Mike Kaganski 
AuthorDate: Wed Sep 25 15:52:44 2024 +0500
Commit: Aron Budea 
CommitDate: Fri Sep 27 17:04:45 2024 +0930

tdf#163145: revert commit 6f224a17dbf635319503a81ce4038b1ae2ad6de0

I can't reproduce the problem from tdf#136933 anymore (using kf5
and qt5), while it's reproducible using v.7.0 bibisect repo with
qt5. I conclude, that the problem got resolved in the meanwhile.
So it seems to make sense to just revert the problematic commit.
The incorrect line drawing still may need to be fixed eventually.

There seem to be no way to test SlideImpl::getCurrentSlideBitmap,
which eventually calls CanvasHelper::strokePolyPolygon. So this
change has no unit test, unfortunately.

Change-Id: I1d82b6f734a4f69d93c9d61732f55ef8158cfbe6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173933
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 
(cherry picked from commit 12e08b3cba0e75f1bd3a42f30e4830d723b24ece)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173910
Reviewed-by: Xisco Fauli 
(cherry picked from commit f3e221388e10826aaac6d31631f81709951aae2a)

diff --git a/canvas/source/vcl/canvashelper.cxx 
b/canvas/source/vcl/canvashelper.cxx
index cbbd18a376d9..3aa16f1baf4e 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -315,31 +315,12 @@ namespace vclcanvas
 ::basegfx::B2DPolyPolygon aPolyPoly(
 
::basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(xPolyPolygon) );
 
-std::vector aDashArray;
-if( strokeAttributes.DashArray.hasElements() )
-aDashArray = ::comphelper::sequenceToContainer< 
std::vector >(strokeAttributes.DashArray);
-
-// First try to draw directly using VCL.
-bool directFailed = false;
-setupOutDevState( viewState, renderState, LINE_COLOR );
-for( sal_uInt32 i=0; igetOutDev().DrawPolyLineDirect( 
aMatrix, aPolyPoly.getB2DPolygon(i),
-strokeAttributes.StrokeWidth, 0, !aDashArray.empty() ? 
&aDashArray : nullptr,
-b2DJoineFromJoin(strokeAttributes.JoinType), 
unoCapeFromCap(strokeAttributes.StartCapType)))
-{
-directFailed = true;
-break;
-}
-}
-if(!directFailed)
-return uno::Reference< rendering::XCachedPrimitive >(nullptr);
-
-// Do it all manually.
-
 // apply dashing, if any
 if( strokeAttributes.DashArray.hasElements() )
 {
+const std::vector& aDashArray(
+::comphelper::sequenceToContainer< std::vector 
>(strokeAttributes.DashArray) );
+
 ::basegfx::B2DPolyPolygon aDashedPolyPoly;
 
 for( sal_uInt32 i=0; i

core.git: Changes to 'refs/tags/mimo-7.6.7.2.M4'

2024-09-18 Thread Aron Budea (via logerrit)
Tag 'mimo-7.6.7.2.M4' created by Aron Budea  at 
2024-09-18 12:21 +

mimo-7.6.7.2.M4

Changes since mimo-7.6.7.2.M3-1:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-6' - configure.ac

2024-09-11 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8927e65b27fc57fc1c4dba2e8e7aa64df11e33ae
Author: Aron Budea 
AuthorDate: Thu Sep 12 12:18:33 2024 +0930
Commit: Aron Budea 
CommitDate: Thu Sep 12 12:18:33 2024 +0930

Bump version to 7.6.7.2.M4

Change-Id: Id142520cc10ead702c3207f35fb3de84c278e247

diff --git a/configure.ac b/configure.ac
index d3d44a3d2b80..3f5e603e7bcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.6.7.2.M3],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.6.7.2.M4],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/mimo-7.3.7.2.M11'

2024-08-29 Thread Aron Budea (via logerrit)
Tag 'mimo-7.3.7.2.M11' created by Aron Budea  at 
2024-08-29 11:59 +

mimo-7.3.7.2.M11

Changes since mimo-7.3.7.2.M10-10:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-3' - configure.ac

2024-08-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 76e9bf65d8ba5a60b0ff9e48d293ff421399f421
Author: Aron Budea 
AuthorDate: Wed Aug 28 11:38:42 2024 +0200
Commit: Aron Budea 
CommitDate: Wed Aug 28 11:38:42 2024 +0200

Bump version to 7.3.7.2.M11

Change-Id: Id9757ebafc626b255d54fb978eabd37d0bb5615b

diff --git a/configure.ac b/configure.ac
index 587b6b1a9769..9b1e3f231e84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.3.7.2.M10],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.3.7.2.M11],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/collabora/co-24.04.6' - sc/source

2024-08-27 Thread Aron Budea (via logerrit)
 sc/source/ui/unoobj/docuno.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c2a5918cd5f01fba83301871c71808d4f9f6121a
Author: Aron Budea 
AuthorDate: Sat Aug 24 23:53:55 2024 +0200
Commit: Aron Budea 
CommitDate: Tue Aug 27 14:04:21 2024 +0200

sc: fix crash in ScModelObj::initializeForTiledRendering()

Crashreport signature:

> Fatal signal received: SIGSEGV code: 1 for address: 0xd2
> program/libsclo.so
>   ScDocShell::CalcOutputFactor()
>   sc/source/ui/docshell/docsh3.cxx:382
> program/libsclo.so
>   
ScModelObj::initializeForTiledRendering(com::sun::star::uno::Sequence
 const&)
>   sc/source/ui/unoobj/docuno.cxx:1346
> program/libmergedlo.so
>   doc_initializeForRendering
>   include/com/sun/star/uno/Sequence.hxx:120
> /usr/bin/coolforkit
>   Document::load(std::shared_ptr const&, std::string 
const&)
>   bundled/include/LibreOfficeKit/LibreOfficeKit.hxx:578

Change-Id: Id31229001951f781d173bf89d3e981f61b99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172365
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 
(cherry picked from commit 4edf109f9ccc31c3daa880df91bcb81c55ff6ede)

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 2efedd61b856..804fdfa3f0c1 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1337,7 +1337,8 @@ void ScModelObj::initializeForTiledRendering(const 
css::uno::SequenceSetInputOptions(aInputOptions);
-pDocShell->CalcOutputFactor();
+if (pDocShell)
+pDocShell->CalcOutputFactor();
 
 // when the "This document may contain formatting or content that cannot
 // be saved..." dialog appears, it is auto-cancelled with tiled rendering,


core.git: sc/source

2024-08-27 Thread Aron Budea (via logerrit)
 sc/source/ui/unoobj/docuno.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2cad06de3f7d9b6a6a9b4365badc40bcc9f24649
Author: Aron Budea 
AuthorDate: Sat Aug 24 23:53:55 2024 +0200
Commit: Caolán McNamara 
CommitDate: Tue Aug 27 11:19:20 2024 +0200

sc: fix crash in ScModelObj::initializeForTiledRendering()

Crashreport signature:

> Fatal signal received: SIGSEGV code: 1 for address: 0xd2
> program/libsclo.so
>   ScDocShell::CalcOutputFactor()
>   sc/source/ui/docshell/docsh3.cxx:382
> program/libsclo.so
>   
ScModelObj::initializeForTiledRendering(com::sun::star::uno::Sequence
 const&)
>   sc/source/ui/unoobj/docuno.cxx:1346
> program/libmergedlo.so
>   doc_initializeForRendering
>   include/com/sun/star/uno/Sequence.hxx:120
> /usr/bin/coolforkit
>   Document::load(std::shared_ptr const&, std::string 
const&)
>   bundled/include/LibreOfficeKit/LibreOfficeKit.hxx:578

Change-Id: Id31229001951f781d173bf89d3e981f61b99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172365
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 
(cherry picked from commit 4edf109f9ccc31c3daa880df91bcb81c55ff6ede)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172412
Tested-by: Jenkins

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index dce8f566f733..4853629bbac2 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1338,7 +1338,8 @@ void ScModelObj::initializeForTiledRendering(const 
css::uno::SequenceSetInputOptions(aInputOptions);
-pDocShell->CalcOutputFactor();
+if (pDocShell)
+pDocShell->CalcOutputFactor();
 
 // when the "This document may contain formatting or content that cannot
 // be saved..." dialog appears, it is auto-cancelled with tiled rendering,


core.git: Branch 'distro/collabora/co-24.04' - sc/source

2024-08-25 Thread Aron Budea (via logerrit)
 sc/source/ui/unoobj/docuno.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4edf109f9ccc31c3daa880df91bcb81c55ff6ede
Author: Aron Budea 
AuthorDate: Sat Aug 24 23:53:55 2024 +0200
Commit: Caolán McNamara 
CommitDate: Sun Aug 25 11:36:39 2024 +0200

sc: fix crash in ScModelObj::initializeForTiledRendering()

Crashreport signature:

> Fatal signal received: SIGSEGV code: 1 for address: 0xd2
> program/libsclo.so
>   ScDocShell::CalcOutputFactor()
>   sc/source/ui/docshell/docsh3.cxx:382
> program/libsclo.so
>   
ScModelObj::initializeForTiledRendering(com::sun::star::uno::Sequence
 const&)
>   sc/source/ui/unoobj/docuno.cxx:1346
> program/libmergedlo.so
>   doc_initializeForRendering
>   include/com/sun/star/uno/Sequence.hxx:120
> /usr/bin/coolforkit
>   Document::load(std::shared_ptr const&, std::string 
const&)
>   bundled/include/LibreOfficeKit/LibreOfficeKit.hxx:578

Change-Id: Id31229001951f781d173bf89d3e981f61b99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172365
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 2efedd61b856..804fdfa3f0c1 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1337,7 +1337,8 @@ void ScModelObj::initializeForTiledRendering(const 
css::uno::SequenceSetInputOptions(aInputOptions);
-pDocShell->CalcOutputFactor();
+if (pDocShell)
+pDocShell->CalcOutputFactor();
 
 // when the "This document may contain formatting or content that cannot
 // be saved..." dialog appears, it is auto-cancelled with tiled rendering,


core.git: Branch 'distro/collabora/libreoffice-7-6+backports' - configure.ac

2024-08-16 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 17d0ea170e9017c066b9ca5073cc991fdcb642dd
Author: Aron Budea 
AuthorDate: Sat Aug 17 02:58:17 2024 +0200
Commit: Aron Budea 
CommitDate: Sat Aug 17 02:58:17 2024 +0200

Bump version to 7.6.7.4

Change-Id: I66eaa8ed3db7e25df1615dc8545d9c660601738f

diff --git a/configure.ac b/configure.ac
index e7f6db397644..bec80c9bfb24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.6.7.3],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.6.7.4],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-3' - configure.ac desktop/source download.lst extensions/source external/curl external/libcmis include/curlinit.hxx svl/source ucb/source

2024-08-16 Thread Aron Budea (via logerrit)
 configure.ac   
  |   18 
 desktop/source/app/updater.cxx 
  |4 
 desktop/source/minidump/minidump.cxx   
  |4 
 download.lst   
  |8 
 extensions/source/update/check/download.cxx
  |4 
 external/curl/README   
  |2 
 
external/libcmis/0001-rename-class-GetObject-to-avoid-name-clash-on-Window.patch
 |   69 
 external/libcmis/UnpackedTarball_libcmis.mk
  |8 
 external/libcmis/libcmis-boost-string.patch
  |   11 
 external/libcmis/libcmis-libxml2_compatibility.patch   
  |   14 
 external/libcmis/libcmis_gdrive.patch.1
  |  702 ++
 external/libcmis/libcmis_oauth_pw_as_refreshtoken.patch.1  
  |  185 ++
 external/libcmis/libcmis_onedrive.patch
  |  445 ++
 include/curlinit.hxx   
  |   59 
 svl/source/crypto/cryptosign.cxx   
  |6 
 ucb/source/ucp/cmis/auth_provider.hxx  
  |8 
 ucb/source/ucp/cmis/cmis_content.cxx   
  |4 
 ucb/source/ucp/ftp/ftploaderthread.cxx 
  |4 
 ucb/source/ucp/webdav-curl/CurlSession.cxx 
  |2 
 19 files changed, 1463 insertions(+), 94 deletions(-)

New commits:
commit 4619d5b41155335cb0c30b3e092d5b0a8ebd5a38
Author: Aron Budea 
AuthorDate: Sat Aug 17 02:46:47 2024 +0200
Commit: Aron Budea 
CommitDate: Sat Aug 17 02:54:27 2024 +0200

Revert "Update to curl-8.2.1.tar.xz" and others

This reverts commit 226651260fef867060e4b1d7807acea4dbedf6d8.

Revert "curl: upgrade to release 8.1.2"
This reverts commit d3d0c5ec145c4d593e18cf08f02d662a85d7f1bb.

Revert "curl: mitigate migration to OpenSSL on Linux"
This reverts commit a961590014d083501a88e41d26d8219e0550cfc0.

Revert "libcmis: upgrade to 0.6.2"
This reverts commit e90310fe103d6c847b6673de98f9b3381604e9de.

Revert "upgrade libcmis"
This reverts commit 26ff405ae214f35b3046f02d02ae47c04fc0f4f0.

Revert "upgrade to libcmis 0.6.0"
This reverts commit a7d25603e43be13a7df338c9956325d6bc5d99f3.

Reason: probably not needed, and seemed to cause regression.
Change-Id: Idb9fb9f4e41c1ab48d2d4f2cc95acbd3a9261739

diff --git a/configure.ac b/configure.ac
index 4a80c4cc662a..587b6b1a9769 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7326,7 +7326,7 @@ dnl Check for system libcmis
 dnl ===
 # libcmis requires curl and we can't build curl for iOS
 if test "$test_cmis" = "yes" -a "$enable_cmis" = "yes"; then
-libo_CHECK_SYSTEM_MODULE([libcmis],[LIBCMIS],[libcmis-0.6 >= 0.6.1])
+libo_CHECK_SYSTEM_MODULE([libcmis],[LIBCMIS],[libcmis-0.5 >= 0.5.2])
 ENABLE_LIBCMIS=TRUE
 else
 ENABLE_LIBCMIS=
@@ -7357,12 +7357,28 @@ elif test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then
 fi
 save_CXXFLAGS=$CXXFLAGS
 CXXFLAGS="$CXXFLAGS $flag -Werror"
+if test "$SYSTEM_LIBCMIS" = TRUE; then
+CXXFLAGS="$CXXFLAGS -DSYSTEM_LIBCMIS $LIBCMIS_CFLAGS"
+fi
 AC_LANG_PUSH([C++])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include 
 #include 
 #include 
 
+#if defined SYSTEM_LIBCMIS
+// See ucb/source/ucp/cmis/auth_provider.hxx:
+#if !defined __clang__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated"
+#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
+#endif
+#include 
+#if !defined __clang__
+#pragma GCC diagnostic pop
+#endif
+#endif
+
 void f(std::vector & v, std::function fn) {
 std::sort(v.begin(), v.end(), fn);
 }
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index c1fe24e055d8..2748373e5f62 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -37,8 +37,6 @@
 #include 
 #include 
 #include 
-
-#include 
 #include 
 
 #include 
@@ -548,8 +546,6 @@ std::string download_content(const OString& rURL, bool 
bFile, OUString& rHash)
 if (!curl)
 return std::string();
 
-::InitCurl_easy(curl.get());
-
 curl_easy_setopt(curl.get(), CURLOPT_URL, rURL.getStr());
 curl_easy_setopt(curl.get(), CURLOPT_USERAGENT, kUserA

core.git: Branch 'distro/collabora/co-24.04' - configure.ac

2024-08-13 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3bffaff6d3cd1bd64e031bc2bfa323c4d7fa781f
Author: Aron Budea 
AuthorDate: Wed Aug 14 02:51:01 2024 +0200
Commit: Aron Budea 
CommitDate: Wed Aug 14 02:51:01 2024 +0200

Bump version to 24.04.6.2

Change-Id: I22cdb98b67e9c4aadb5d9fd81038e528b3c08aee

diff --git a/configure.ac b/configure.ac
index 890f2f396bd8..11949778d553 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[24.04.6.1],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[24.04.6.2],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-2' - configure.ac

2024-08-09 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0b624ec349a71f503a2f7e8c094beef0ff1d6128
Author: Aron Budea 
AuthorDate: Fri Aug 9 18:22:42 2024 +0200
Commit: Aron Budea 
CommitDate: Fri Aug 9 18:22:42 2024 +0200

Bump version to 7.2.7.2.M18

Change-Id: I16a28499433a5da327adecd806aadf6877670965

diff --git a/configure.ac b/configure.ac
index 63ca25a5d9b7..10788148dd3e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.2.7.2.M17],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.2.7.2.M18],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/cp-24.04.5-3'

2024-08-09 Thread Aron Budea (via logerrit)
Tag 'cp-24.04.5-3' created by Andras Timar  at 
2024-08-09 15:47 +

cp-24.04.5-3

Changes since cp-24.04.5-2-7:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-6-4' - configure.ac

2024-08-09 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 656275cb2d318dee6e69d51f95e4275125339e62
Author: Aron Budea 
AuthorDate: Fri Aug 9 17:18:46 2024 +0200
Commit: Aron Budea 
CommitDate: Fri Aug 9 17:18:46 2024 +0200

Bump version to 6.4.7.2.M12

Change-Id: I00b179504356f150a33e90a4a7f18521e1ba11af

diff --git a/configure.ac b/configure.ac
index cc54360ef53c..76b8cfeac0f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[6.4.7.2.M11],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[6.4.7.2.M12],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-5' - configure.ac

2024-08-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit decf6aaec6b00af40e4cfe8a51aefb3a6352dbd2
Author: Aron Budea 
AuthorDate: Thu Aug 8 06:48:05 2024 +0200
Commit: Aron Budea 
CommitDate: Thu Aug 8 06:48:05 2024 +0200

Bump version to 7.5.9.2.M4

Change-Id: I83436f75fe83eb5c47ebf64cb246a7c93b636ecd

diff --git a/configure.ac b/configure.ac
index 805f15aea0f2..a833cadf0a98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.5.9.2.M3],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.5.9.2.M4],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-6' - configure.ac

2024-08-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 566ff0d63a70af58213050e49974ab5d357940c9
Author: Aron Budea 
AuthorDate: Thu Aug 8 05:44:57 2024 +0200
Commit: Aron Budea 
CommitDate: Thu Aug 8 05:44:57 2024 +0200

Bump version to 7.6.7.2.M3

Change-Id: I361ab105112466c2b68ed72263ee597eb0bdd2ac

diff --git a/configure.ac b/configure.ac
index 0e83fe31f76a..d3d44a3d2b80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.6.7.2.M2],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.6.7.2.M3],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/cp-24.04.5-5'

2024-08-06 Thread Aron Budea (via logerrit)
Tag 'cp-24.04.5-5' created by Aron Budea  at 
2024-08-06 12:39 +

cp-24.04.5-5

Changes since cp-24.04.5-4-1:
---
 0 files changed
---


core.git: Branch 'distro/collabora/co-24.04.5' - configure.ac

2024-08-04 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 787fef37197ea237630b56d8139ac6764af64970
Author: Aron Budea 
AuthorDate: Mon Aug 5 03:13:00 2024 +0200
Commit: Aron Budea 
CommitDate: Mon Aug 5 03:13:00 2024 +0200

Bump version to 24.04.5.4

Change-Id: I234ac5e56b0c59bf1b2b8e92707836d1833648de

diff --git a/configure.ac b/configure.ac
index e1d6f25419f0..cc483a99f42e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[24.04.5.3],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[24.04.5.4],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/cp-24.04.6-1'

2024-07-31 Thread Aron Budea (via logerrit)
Tag 'cp-24.04.6-1' created by Aron Budea  at 
2024-07-31 19:38 +

cp-24.04.6-1

Changes since cp-24.04.5-1-88:
---
 0 files changed
---


core.git: Branch 'distro/collabora/co-24.04' - configure.ac

2024-07-31 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cd7968a4dd2965f3e44fa29f528007aa4a54dc97
Author: Aron Budea 
AuthorDate: Wed Jul 31 16:01:59 2024 +0200
Commit: Aron Budea 
CommitDate: Wed Jul 31 16:01:59 2024 +0200

Bump version to 24.04.6.1

Change-Id: Ia649da7a8ce3a047413d14c1ae542f6c55c310b6

diff --git a/configure.ac b/configure.ac
index 7f0ccc560913..0ce4189dd881 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[24.04.5.3],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[24.04.6.1],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/collabora/co-24.04' - configure.ac

2024-07-30 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6eef1dbd3b4508daabc49d429da2430e3244d83e
Author: Aron Budea 
AuthorDate: Tue Jul 23 05:45:55 2024 +0200
Commit: Aron Budea 
CommitDate: Tue Jul 30 15:47:25 2024 +0200

Bump version to 24.04.5.3

Change-Id: I9b02b3a8d7cb2f2c6f3f45a8413847223cdf7026

diff --git a/configure.ac b/configure.ac
index 0d42a8d1364a..e1d6f25419f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[24.04.5.2],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[24.04.5.3],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: desktop/source

2024-07-29 Thread Aron Budea (via logerrit)
 desktop/source/lib/init.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d671bceed0ba7195eae1e063d4a363074f8483a0
Author: Aron Budea 
AuthorDate: Sun Jul 28 07:18:40 2024 +0200
Commit: Aron Budea 
CommitDate: Tue Jul 30 01:54:45 2024 +0200

LOK: Mention name of unknown command in exception

Change-Id: I665c9aebaa4e215b8bc4622f3e245e5f2c47deab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171133
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Mike Kaganski 
(cherry picked from commit 8fe4ca79d4b3cc2a62c59b7dfd2849b7a79d9437)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171196
Tested-by: Jenkins
Reviewed-by: Aron Budea 

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 4fab9477f330..aee74ec28d73 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6762,7 +6762,7 @@ static char* doc_getCommandValues(LibreOfficeKitDocument* 
pThis, const char* pCo
 }
 else
 {
-SetLastExceptionMsg(u"Unknown command, no values returned"_ustr);
+SetLastExceptionMsg(OUString::fromUtf8(aCommand) + u" : Unknown 
command, no values returned"_ustr);
 return nullptr;
 }
 }


core.git: Branch 'distro/collabora/co-24.04' - desktop/source

2024-07-29 Thread Aron Budea (via logerrit)
 desktop/source/lib/init.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8fe4ca79d4b3cc2a62c59b7dfd2849b7a79d9437
Author: Aron Budea 
AuthorDate: Sun Jul 28 07:18:40 2024 +0200
Commit: Mike Kaganski 
CommitDate: Mon Jul 29 17:57:31 2024 +0200

LOK: Mention name of unknown command in exception

Change-Id: I665c9aebaa4e215b8bc4622f3e245e5f2c47deab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171133
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Mike Kaganski 

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 54ff08f36c07..c0151e79b397 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6805,7 +6805,7 @@ static char* doc_getCommandValues(LibreOfficeKitDocument* 
pThis, const char* pCo
 }
 else
 {
-SetLastExceptionMsg(u"Unknown command, no values returned"_ustr);
+SetLastExceptionMsg(OUString::fromUtf8(aCommand) + u" : Unknown 
command, no values returned"_ustr);
 return nullptr;
 }
 }


core.git: Changes to 'refs/tags/cp-24.04.5-4'

2024-07-22 Thread Aron Budea (via logerrit)
Tag 'cp-24.04.5-4' created by Aron Budea  at 
2024-07-23 03:48 +

cp-24.04.5-4

Changes since cp-24.04.5-3:
Aron Budea (1):
  Bump version to 24.04.5.3

---
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---


core.git: Branch 'distro/collabora/co-24.04.5' - configure.ac

2024-07-22 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8b60b23ef2d85d7dbb951987023c7b20bf788e55
Author: Aron Budea 
AuthorDate: Tue Jul 23 05:45:55 2024 +0200
Commit: Aron Budea 
CommitDate: Tue Jul 23 05:45:55 2024 +0200

Bump version to 24.04.5.3

Change-Id: I9b02b3a8d7cb2f2c6f3f45a8413847223cdf7026

diff --git a/configure.ac b/configure.ac
index 0d42a8d1364a..e1d6f25419f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[24.04.5.2],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[24.04.5.3],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/mimo-7.6.7.2.M2'

2024-07-22 Thread Aron Budea (via logerrit)
Tag 'mimo-7.6.7.2.M2' created by Aron Budea  at 
2024-07-23 01:35 +

mimo-7.6.7.2.M2

Changes since mimo-7.6.7.2.M1-1:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-6' - 2 commits - configure.ac svgio/qa svgio/source

2024-07-12 Thread Aron Budea (via logerrit)
 configure.ac  |2 -
 svgio/qa/cppunit/SvgImportTest.cxx|   19 +
 svgio/qa/cppunit/data/tdf161985.svg   |   14 +
 svgio/source/svgreader/svgstyleattributes.cxx |   37 ++
 4 files changed, 60 insertions(+), 12 deletions(-)

New commits:
commit 54f976a603b9ff5156a54392f9d16353aa311173
Author: Aron Budea 
AuthorDate: Sat Jul 13 00:22:44 2024 +0200
Commit: Aron Budea 
CommitDate: Sat Jul 13 00:22:44 2024 +0200

Bump version to 7.6.7.2.M2

Change-Id: I2a68ff5dc4d7d61508bcb9611d1153e0043ba3be

diff --git a/configure.ac b/configure.ac
index a281be1b45d8..0e83fe31f76a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.6.7.2.M1],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.6.7.2.M2],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard
commit f72c0ec7a115b3ec0ceaf45e58fae6459c294f37
Author: Xisco Fauli 
AuthorDate: Thu Jul 11 14:22:58 2024 +0200
Commit: Aron Budea 
CommitDate: Fri Jul 12 17:39:53 2024 +0200

tdf#161985: getOpacity is also called from other places

Partially revert 56039daae4a436d7ea1b093a02cf0e8ad3bda4a9
"tdf#149673: only check opacity from parent..." to make
getOpacity behave as before and move the new behaviour
of getOpacity inside add_postProcess

Change-Id: If475cddbc4967308fa06adacda621cb3790c6f70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170351
Reviewed-by: Aron Budea 
Tested-by: Jenkins
(cherry picked from commit d023ef070990e242df62d6c1951cc953fd60e7db)

diff --git a/svgio/qa/cppunit/SvgImportTest.cxx 
b/svgio/qa/cppunit/SvgImportTest.cxx
index 262c5cadcc68..660d763f85b7 100644
--- a/svgio/qa/cppunit/SvgImportTest.cxx
+++ b/svgio/qa/cppunit/SvgImportTest.cxx
@@ -385,6 +385,25 @@ CPPUNIT_TEST_FIXTURE(Test, testFontsizeRelative)
 assertXPath(pDocument, "/primitive2D/transform/textsimpleportion[2]", 
"familyname", "serif");
 }
 
+CPPUNIT_TEST_FIXTURE(Test, testTdf161985)
+{
+Primitive2DSequence aSequenceTdf161985 = 
parseSvg(u"/svgio/qa/cppunit/data/tdf161985.svg");
+CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf161985.getLength()));
+
+drawinglayer::Primitive2dXmlDump dumper;
+xmlDocUniquePtr pDocument = dumper.dumpAndParse(aSequenceTdf161985);
+
+CPPUNIT_ASSERT (pDocument);
+
+// Without the fix in place, this test would have failed with
+// - Expected: 0
+// - Actual  : 1
+assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", 0);
+
+assertXPath(pDocument, "/primitive2D/transform/textsimpleportion", 1);
+assertXPath(pDocument, "/primitive2D/transform/textsimpleportion", "text", 
u"This is a test file.");
+}
+
 CPPUNIT_TEST_FIXTURE(Test, testTdf145896)
 {
 Primitive2DSequence aSequence = 
parseSvg(u"/svgio/qa/cppunit/data/tdf145896.svg");
diff --git a/svgio/qa/cppunit/data/tdf161985.svg 
b/svgio/qa/cppunit/data/tdf161985.svg
new file mode 100644
index ..781811b15dbf
--- /dev/null
+++ b/svgio/qa/cppunit/data/tdf161985.svg
@@ -0,0 +1,14 @@
+http://www.w3.org/2000/svg";>
+  
+ #help { font-size:12px; }
+  
+  
+
+  
+
+
+This is a test file.
+
+  
+
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx 
b/svgio/source/svgreader/svgstyleattributes.cxx
index 826f00b6687a..d099d34f1638 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -1164,7 +1164,24 @@ namespace svgio::svgreader
 drawinglayer::primitive2d::Primitive2DContainer&& rSource,
 const std::optional& pTransform) const
 {
-const double fOpacity(getOpacity().solve(mrOwner));
+// default is 1
+double fOpacity(1.0);
+
+if(maOpacity.isSet())
+{
+fOpacity = maOpacity.solve(mrOwner);
+}
+else
+{
+// if opacity is not set, check the css style
+if (const SvgStyleAttributes* pSvgStyleAttributes = 
getCssStyleParent())
+{
+if (pSvgStyleAttributes->maOpacity.isSet())
+{
+fOpacity =  
pSvgStyleAttributes->maOpacity.solve(mrOwner);
+}
+}
+}
 
 if(basegfx::fTools::equalZero(fOpacity))
 {
@@ -1292,7 +1309,7 @@ namespace svgio::svgreader
 maBaselineShift(BaselineShift::Baseline),
 maBaselineShiftNumber(0),
   

core.git: Changes to 'refs/tags/mimo-7.6.7.2.M1'

2024-07-10 Thread Aron Budea (via logerrit)
Tag 'mimo-7.6.7.2.M1' created by Aron Budea  at 
2024-07-11 04:28 +

mimo-7.6.7.2.M1

Changes since mimo-7-6-branch-point-13:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-6' - 3 commits - cui/source cui/uiconfig include/unotools officecfg/registry sc/source sfx2/source sw/source unotools/source xmloff/source

2024-07-10 Thread Aron Budea (via logerrit)
 cui/source/options/optinet2.cxx|4 
 cui/source/options/securityoptions.cxx |   39 +
 cui/source/options/securityoptions.hxx |   20 
 cui/uiconfig/ui/securityoptionsdialog.ui   |  406 -
 include/unotools/securityoptions.hxx   |4 
 officecfg/registry/schema/org/openoffice/Office/Common.xcs |   36 +
 sc/source/filter/xml/xmlexprt.cxx  |   10 
 sfx2/source/doc/objcont.cxx|3 
 sfx2/source/doc/objserv.cxx|   10 
 sfx2/source/doc/objstor.cxx|3 
 sw/source/filter/ww8/docxattributeoutput.cxx   |   12 
 sw/source/filter/ww8/docxtableexport.cxx   |6 
 unotools/source/config/securityoptions.cxx |   36 +
 xmloff/source/draw/sdxmlexp.cxx|3 
 xmloff/source/text/XMLRedlineExport.cxx|6 
 xmloff/source/text/txtflde.cxx |3 
 16 files changed, 443 insertions(+), 158 deletions(-)

New commits:
commit ae2b52659ff563ead15c22ceeb406071b40564dc
Author: Aron Budea 
AuthorDate: Wed Jul 10 15:37:27 2024 +0200
Commit: Aron Budea 
CommitDate: Wed Jul 10 15:38:50 2024 +0200

Related tdf#157484 hide new checkboxes in 7.6

Change-Id: I51a654f5198b08f7e8f1c7f35f79067d04967481

diff --git a/cui/uiconfig/ui/securityoptionsdialog.ui 
b/cui/uiconfig/ui/securityoptionsdialog.ui
index 6de08c6a461e..51aefd543a1b 100644
--- a/cui/uiconfig/ui/securityoptionsdialog.ui
+++ b/cui/uiconfig/ui/securityoptionsdialog.ui
@@ -415,7 +415,7 @@
 
   
 Keep track changes 
information
-True
+False
 True
 False
 20
@@ -431,7 +431,7 @@
 
   
 Keep document user 
informations
-True
+False
 True
 False
 20
@@ -447,7 +447,7 @@
 
   
 Keep author name and date of 
notes
-True
+False
 True
 False
 20
@@ -463,7 +463,7 @@
 
   
 Keep document version 
information
-True
+False
 True
 False
 20
commit fb6a5085a810d54686ad7ef82cf2cca625106def
Author: Balazs Varga 
AuthorDate: Wed Oct 18 13:52:16 2023 +0200
Commit: Aron Budea 
CommitDate: Wed Jul 10 11:39:35 2024 +0200

tdf#156336 - sc ods: fix can't remove Calc comment metadata

Remove Calc comment metadata (author, date) during ods export
if the Remove personal information option is enable.

Change-Id: I814aabb734cff4160dccf1913a33aa270c2edbf6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158116
Tested-by: Jenkins
Tested-by: Gabor Kelemen 
Reviewed-by: Gabor Kelemen 
(cherry picked from commit 87e1a77a9aadb883386816dc4ebc3dad64c81892)

diff --git a/sc/source/filter/xml/xmlexprt.cxx 
b/sc/source/filter/xml/xmlexprt.cxx
index d6afd59f5dc3..c016a7e2d379 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -3693,16 +3693,22 @@ void ScXMLExport::exportAnnotationMeta( const 
uno::Reference < drawing::XShape >
 if (xCurrentShape.get()!=xShape.get())
 return;
 
+bool bRemovePersonalInfo = SvtSecurityOptions::IsOptionSet(
+SvtSecurityOptions::EOption::DocWarnRemovePersonalInfo) && 
!SvtSecurityOptions::IsOptionSet(
+SvtSecurityOptions::EOption::DocWarnKeepNoteAuthorDateInfo);
+
 const OUString& sAuthor(pNote->GetAuthor());
 if (!sAuthor.isEmpty())
 {
 SvXMLElementExport aCreatorElem( *this, XML_NAMESPACE_DC,
 XML_CREATOR, true,
 false );
-Characters(sAuthor);
+Characters( bRemovePersonalInfo
+? "Author" + OUString::number(SvXMLExport::GetInfoID(sAuthor))
+: sAuthor );
 }
 
-const OUString& aDate(pNote->GetDate());
+const OUString& aDate(bRemovePersonalInfo ? OUString("1970-01-01") : 
pNote->GetDate()); // Epoch time
 if (pDoc)
 {
 SvNumberFormatter* pNumForm = pDoc->GetFormatTable();
commit 98db4b1f420464fb702313bd339fa63839080164
Author: Balazs Varga 
AuthorDate: Wed Oct 18 11:05:50 2023 +0200
Commit: Aron Budea 
CommitDate: Wed Jul 10 11:38:31 2024 +0200

tdf#157484 UI: Add UI controls for per

core.git: Changes to 'distro/mimo/mimo-7-6'

2024-07-10 Thread Aron Budea (via logerrit)
New branch 'distro/mimo/mimo-7-6' available with the following commits:
commit 1c06f87405f3f0e733d0bf27d312f0766b1020e8
Author: Aron Budea 
Date:   Tue Jul 9 07:05:10 2024 +0200

Bump version to 7.6.7.2.M1

Change-Id: Ice6d181d663e04ce1affc1ac89d83b857b2d3151

commit c27198025ff5727dd88fe24f195de4ac2a8c0f1c
Author: Aron Budea 
Date:   Fri Jun 28 06:09:33 2024 +0200

tdf#161310 Translate My AutoText in Insert toolbar

Use same pattern as 42e6e26255b21c1bfde893f5aaf23d4a37ecee91
and dffdc0b1995e2b24304ce0651ca886bbf9cf4f95

Change-Id: If36ecdcbb771bfcde9836203e84586045d039c8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169693
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 
(cherry picked from commit 696eb4b4e55ce26cee9aee2c76a7125df91ae0d6)

commit 3f284940f492fed11ba0f008cbdb72035824f084
Author: Justin Luth 
Date:   Tue Mar 19 15:28:32 2024 -0400

related tdf#147583 sw find: fix backwards search for string at end of para

Prior to this fix, it was finding every single character in the document
when searching for ".$".

Interestingly, the unit test worked even before the patch.
Not sure how that could be possible...

make CppunitTest_sw_uiwriter7 \
CPPUNIT_TEST_NAME=testTdf147583_backwardSearch

Change-Id: I20779898c01736eb39ecd7db7d66c2c24e4358b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165037
Tested-by: Jenkins
Reviewed-by: Justin Luth 
Reviewed-by: Mike Kaganski 
Reviewed-by: Miklos Vajna 
(cherry picked from commit e830394c068c229bb840018f2f0e8810da6a1487)

commit 86c2d8179889150220033d72572f74242f03801c
Author: Justin Luth 
Date:   Fri Mar 15 20:01:39 2024 -0400

tdf#147583 sw find: fix backwards search for emptyPara/endOfPara

A comment added 10 years ago thought that it had never worked.

The very last paragraph end cannot be selected manually,
and so of course it can't work in find either.
It didn't work earlier either.

Everything goes ballistic if searching inside comments,
but that would be handled elsewhere anyway I guess.
It didn't work earlier either.

Keeping the search "inside the selection" didn't work earlier either.
That should be fixed now.

make CppunitTest_sw_uiwriter7 \
CPPUNIT_TEST_NAME=testTdf147583_backwardSearch

Change-Id: I48a72084d277b8c270255de9296a2743162937cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164892
Tested-by: Jenkins
Reviewed-by: Justin Luth 
Reviewed-by: Miklos Vajna 
(cherry picked from commit 8b58007fc5a619012b58a1f8d8731a753bc1c40d)

commit 50a9b15fd97be45ffec45aa39952ea36985e76b4
Author: Timur Gadzo 
Date:   Mon Jul 8 14:56:09 2024 +0200

pre-checked Universal accessibility (PDF/UA) property in PDF export dialog 
box

Change-Id: I688814edb441692130d4b59de8945248a9fa2176
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170161
Tested-by: Andras Timar 
Reviewed-by: Andras Timar 

commit 4ec3769a9702ca65a217af56a876eab26b67cba0
Author: Andras Timar 
Date:   Wed Jul 3 13:53:23 2024 +0100

Update git submodules

* Update helpcontent2 from branch 'distro/mimo/mimo-7-6'
  to 078a22a0d3f9cb6f3d502a41fb79152db4876907
  - Too big enviroment on Windows can cause failure with xargs

Change-Id: I5d796dbf6ad4d93dd133583a1dac95a210674ef9

commit 0737beace2abeff6ab7d6e1c5a903b4ad63a31b0
Author: Andras Timar 
Date:   Tue Aug 23 21:57:10 2022 +0200

Debian package names must not contain uppercase letters

MIMO packageversion string contains capital M.

Change-Id: Iefa3d8102e1c7ebb779e84a246abb7262bbad384

commit c33dc31cb05c8afe5e6cfb7faa5a8be5930a8d26
Author: Andras Timar 
Date:   Tue Aug 23 21:14:10 2022 +0200

Linux languagepacks take the first from the language list

Change-Id: Id470e88f16b502aeb576a8512f55cd34c56f3500

commit 8e2095488d463a36d075cf22cd5bc3a183f1123f
Author: Andras Timar 
Date:   Wed Mar 30 11:08:43 2022 +0200

[MIMO] disable Donate and GetInvolved infobars

Change-Id: I991cf07a89b417fde332fb665a5d2df9930015a4

commit 7a41bee29a3b474ddb88b5064cb2f18dcb47d097
Author: Andras Timar 
Date:   Mon Jun 7 09:00:47 2021 +0200

no MinimumWidth of Sidebar for MIMO

Change-Id: I66fc17b1d791e06debe95248a8952986171a4596

commit ac09bb3f13464ad35b961aad5f2f998e849993f1
Author: Andras Timar 
Date:   Tue May 25 10:16:03 2021 +0200

Dictionary list required by MIMO

Change-Id: Idefb9480460ae4ba946d7171811fde432c3c0927



dictionaries.git: Changes to 'refs/tags/cp-22.05.23-1'

2024-06-25 Thread Aron Budea (via logerrit)
Tag 'cp-22.05.23-1' created by Andras Timar  at 
2024-06-25 07:36 +

cp-22.05.23-1

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


core.git: Branch 'distro/collabora/libreoffice-7-6+backports' - configure.ac

2024-06-17 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5acf31d950b43e7c8ba55c4a46768170d20b9c30
Author: Aron Budea 
AuthorDate: Mon Jun 17 13:58:04 2024 +0200
Commit: Aron Budea 
CommitDate: Mon Jun 17 13:58:04 2024 +0200

Bump version to 7.6.7.3

Change-Id: I547bf0d4c6f6e67a0bf66bdd4a3789626c20e11f

diff --git a/configure.ac b/configure.ac
index 78b36d57c82d..e7f6db397644 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.6.7.2],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.6.7.3],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/mimo-7.5.9.2.M3'

2024-06-03 Thread Aron Budea (via logerrit)
Tag 'mimo-7.5.9.2.M3' created by Aron Budea  at 
2024-06-03 19:55 +

mimo-7.5.9.2.M3

Changes since mimo-7.5.9.2.M2-1:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-7.3.7.2.M10'

2024-06-03 Thread Aron Budea (via logerrit)
Tag 'mimo-7.3.7.2.M10' created by Aron Budea  at 
2024-06-03 19:45 +

mimo-7.3.7.2.M10

Changes since mimo-7.3.7.2.M9-1:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-7.2.7.2.M17'

2024-06-03 Thread Aron Budea (via logerrit)
Tag 'mimo-7.2.7.2.M17' created by Aron Budea  at 
2024-06-03 19:44 +

mimo-7.2.7.2.M17

Changes since mimo-7.2.7.2.M15-3:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-7.1.8.1.M7'

2024-06-03 Thread Aron Budea (via logerrit)
Tag 'mimo-7.1.8.1.M7' created by Aron Budea  at 
2024-06-03 19:38 +

7.1.8.1.M7

Changes since mimo-7.1.8.1.M6-3:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-1' - 3 commits - configure.ac external/libassuan

2024-05-30 Thread Aron Budea (via logerrit)
 configure.ac|2 
 external/libassuan/ExternalProject_libassuan.mk |1 
 external/libassuan/UnpackedTarball_libassuan.mk |1 
 external/libassuan/w32-stdc.patch   |   74 
 4 files changed, 77 insertions(+), 1 deletion(-)

New commits:
commit 7ab2c2bf6de922060f8d95c2fbf0b208d66fc7a3
Author: Aron Budea 
AuthorDate: Thu May 30 21:24:11 2024 +0200
Commit: Aron Budea 
CommitDate: Thu May 30 21:24:11 2024 +0200

Bump version to 7.1.8.1.M7

Change-Id: Ic65717343b8be6e016871b1e90769db2d4491da9

diff --git a/configure.ac b/configure.ac
index 77405709ee0a..d6157c2dee9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.1.8.1.M6],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.1.8.1.M7],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard
commit 1f683fe50fe0e850a7a978228a71c84356b38cf6
Author: Stephan Bergmann 
AuthorDate: Fri Apr 22 21:52:50 2022 +0200
Commit: Aron Budea 
CommitDate: Thu May 30 21:20:48 2024 +0200

external/libassuan: Fix fallout of defining __STDC__ on Windows

...since 1bb0e177124d5d6661b72df6c7d848fb23639652 "Fix autoconf>=2.70
gcc-wrapper breakage", which had the side effect of preventing various
deprecated function declarations in system headers (e.g., isascii in 
addition to
__isascii).  This went unnoticed so far due to the traditionally lax 
handling of
missing function declarations in C, and only now started to cause

> conversion.c(94,9): error: call to undeclared function 'isascii'; ISO C99 
and later do not support implicit function declarations 
[-Wimplicit-function-declaration]
>   if ((isascii (*istr) && isprint (*istr)) || (*istr >= 0x80))
>^

etc. with clang-cl 15 trunk after


"[C11/C2x] Change the behavior of the implicit function declaration 
warning".

Where undeclared functions have been used in Windows-only code, they have 
been
replaced with their __STDC__-declared counterparts, and for occurrences in
shared code Windows-only macro definitions have been introduced (as would 
have
done in the system headers too, if __STDC__ was not defined) to not clutter 
the
shared code with #ifdefs.

Also, for getpid (resp. _getpid), the #include  was apparently
missing from the upstream code, even without our __STDC__ hack in
external/libassuan/ExternalProject_libassuan.mk (but never caused errors 
until
now, either).

Change-Id: I7442394d0c6e633bca1f6c7331d7ee51651179a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/19
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann 
(cherry picked from commit 8279d89d6e037def78f50c72fab2116ca56bef52)

diff --git a/external/libassuan/UnpackedTarball_libassuan.mk 
b/external/libassuan/UnpackedTarball_libassuan.mk
index 295b87d49677..3604fa36a395 100644
--- a/external/libassuan/UnpackedTarball_libassuan.mk
+++ b/external/libassuan/UnpackedTarball_libassuan.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libassuan, \
 $(if $(filter MSC,$(COM)),external/libassuan/w32-build-fixes.patch.1) \
 external/libassuan/w32-build-fixes-2.patch \
 $(if $(filter LINUX,$(OS)),external/libassuan/rpath.patch) \
+external/libassuan/w32-stdc.patch \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/external/libassuan/w32-stdc.patch 
b/external/libassuan/w32-stdc.patch
new file mode 100644
index ..def3dea833af
--- /dev/null
+++ b/external/libassuan/w32-stdc.patch
@@ -0,0 +1,74 @@
+--- src/assuan-handler.c
 src/assuan-handler.c
+@@ -938,7 +938,7 @@
+ #if defined(HAVE_W32CE_SYSTEM)
+ fdarray[n++] = (void*)fileno (ctx->outbound.data.fp);
+ #elif defined(HAVE_W32_SYSTEM)
+-fdarray[n++] = (void*)_get_osfhandle (fileno (ctx->outbound.data.fp));
++fdarray[n++] = (void*)_get_osfhandle (_fileno 
(ctx->outbound.data.fp));
+ #else
+ fdarray[n++] = fileno (ctx->outbound.data.fp);
+ #endif
+--- src/assuan-logging.c
 src/assuan-logging.c
+@@ -30,10 +30,15 @@
+ # ifdef HAVE_WINSOCK2_H
+ #  include 
+ # endif
++# include 
++# define getpid _getpid
+ # include 
+ #endif /*HAVE_W32_SYSTEM*/
+ #include 
+ #include 
++#if defined HAVE_W32_SYSTEM
++#define isascii __isascii
++#endif
+ 
+ #include "assuan-defs.h"
+ 
+--- src/assuan-pipe-connect.c
 src/assuan-pipe-connect.c
+@@ -47,6 +47,8 @@
+ # ifdef HAVE_WINSOCK2_H
+ #  inclu

core.git: Branch 'distro/mimo/mimo-6-2' - configure.ac

2024-05-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a31d38b3497d4ebf53dfead97f199639165f123d
Author: Aron Budea 
AuthorDate: Tue May 28 22:08:19 2024 +0200
Commit: Aron Budea 
CommitDate: Tue May 28 22:08:19 2024 +0200

Bump version to 6.2.8.2.M14

Change-Id: Ibdc345ab70b708b23803356e6e8c45f7b23e7f55

diff --git a/configure.ac b/configure.ac
index d71d2b3ad3c0..05ecb1bae5e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[6.2.8.2.M13],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[6.2.8.2.M14],[],[],[http://documentfoundation.org/])
 
 AC_PREREQ([2.59])
 


core.git: Branch 'distro/mimo/mimo-6-4' - configure.ac

2024-05-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 266658425b659623688c2f0d82b8409c8ee9c053
Author: Aron Budea 
AuthorDate: Tue May 28 22:06:00 2024 +0200
Commit: Aron Budea 
CommitDate: Tue May 28 22:06:00 2024 +0200

Bump version to 6.4.7.2.M11

Change-Id: Ie73a4e2c173e6c8eb4c1419ec30d217fbe4032f8

diff --git a/configure.ac b/configure.ac
index 8eeb0760a846..cc54360ef53c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[6.4.7.2.M10],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[6.4.7.2.M11],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-0' - configure.ac

2024-05-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e778e914171165dc671c158d2bfba3ca57c1a1a9
Author: Aron Budea 
AuthorDate: Tue May 28 22:02:31 2024 +0200
Commit: Aron Budea 
CommitDate: Tue May 28 22:02:31 2024 +0200

Bump version to 7.0.7.0.M15

Change-Id: I061601c833902f599f6d63438f41cbe35d1ec5b6

diff --git a/configure.ac b/configure.ac
index d469483c2a1a..3b86331be522 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.0.7.0.M14],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.0.7.0.M15],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-2' - configure.ac

2024-05-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 225f20fdc1101b62bd8c4c4985d8a47285e8896d
Author: Aron Budea 
AuthorDate: Tue May 28 22:00:46 2024 +0200
Commit: Aron Budea 
CommitDate: Tue May 28 22:00:46 2024 +0200

Bump version to 7.2.7.2.M17

Change-Id: Ia09a6b6d20a8abe22f2504d19b1288bba698e906

diff --git a/configure.ac b/configure.ac
index 59b390d8c07a..63ca25a5d9b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.2.7.2.M16],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.2.7.2.M17],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-3' - configure.ac

2024-05-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 31005fd29bba4dc38fbaed5ea3865307040b24ab
Author: Aron Budea 
AuthorDate: Tue May 28 21:55:50 2024 +0200
Commit: Aron Budea 
CommitDate: Tue May 28 21:55:50 2024 +0200

Bump version to 7.3.7.2.M10

Change-Id: I1c8481b2397abefcc83b41466c2c2e2b815f996a

diff --git a/configure.ac b/configure.ac
index c0f0d23ba16a..587b6b1a9769 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.3.7.2.M9],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.3.7.2.M10],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-5' - configure.ac

2024-05-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 899d5754159b79aa7dad273171a0a605a5ffb1f7
Author: Aron Budea 
AuthorDate: Tue May 28 21:30:08 2024 +0200
Commit: Aron Budea 
CommitDate: Tue May 28 21:30:08 2024 +0200

Bump version to 7.5.9.2.M3

Change-Id: I5aa435f6084956520bf3a7f97276c1d7400bf2c9

diff --git a/configure.ac b/configure.ac
index 1c88358d44a6..805f15aea0f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.5.9.2.M2],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.5.9.2.M3],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/collabora/co-24.04' - 47 commits - bin/find-can-be-private-symbols.functions.results configure.ac cui/source cui/uiconfig dbaccess/source download.lst drawinglayer/source edit

2024-05-08 Thread Aron Budea (via logerrit)
 bin/find-can-be-private-symbols.functions.results  |5 
 configure.ac   |4 
 cui/source/tabpages/paragrph.cxx   |   10 
 cui/uiconfig/ui/optviewpage.ui |3 
 dbaccess/source/ui/relationdesign/RTableConnectionData.cxx |5 
 dbaccess/source/ui/relationdesign/RelationTableView.cxx|   10 
 download.lst   |8 
 drawinglayer/source/primitive2d/textlayoutdevice.cxx   |   67 
 drawinglayer/source/processor2d/vclprocessor2d.cxx |   28 
 editeng/source/editeng/impedit3.cxx|2 
 extras/source/tipoftheday/formdocuments.svg|2 
 include/drawinglayer/primitive2d/textlayoutdevice.hxx  |2 
 include/formula/tokenarray.hxx |2 
 include/svl/numformat.hxx  |   31 
 include/svl/zformat.hxx|   12 
 include/vcl/outdev.hxx |7 
 include/vcl/vcllayout.hxx  |5 
 odk/docs/install.html  |2 
 readlicense_oo/license/CREDITS.fodt| 3327 ++---
 sc/Module_sc.mk|7 
 sc/inc/interpretercontext.hxx  |4 
 sc/qa/uitest/pasteSpecial/tdf160765.py |  109 
 sc/qa/unit/data/ods/tdf160329_sortWithHiddenRows.ods   |binary
 sc/qa/unit/scshapetest.cxx |   37 
 sc/source/core/data/queryevaluator.cxx |2 
 sc/source/core/data/table3.cxx |   78 
 sc/source/core/tool/interpr4.cxx   |   49 
 sc/source/ui/miscdlgs/inscodlg.cxx |4 
 sc/source/ui/navipi/content.cxx|2 
 sc/source/ui/view/viewfun3.cxx |3 
 sc/uiconfig/scalc/ui/conditionalentry.ui   |  343 -
 sd/qa/unit/data/odg/adjust-to-contour.fodg |   52 
 sd/qa/unit/layout-tests.cxx|   48 
 sfx2/source/doc/objstor.cxx|6 
 svgio/inc/svgcharacternode.hxx |8 
 svgio/inc/svgstyleattributes.hxx   |8 
 svgio/qa/cppunit/SvgImportTest.cxx |  150 
 svgio/qa/cppunit/data/contextStroke.svg|   14 
 svgio/qa/cppunit/data/tdf160773.svg|5 
 svgio/source/svgreader/svgcharacternode.cxx|  115 
 svgio/source/svgreader/svgdocumenthandler.cxx  |   83 
 svgio/source/svgreader/svgmarkernode.cxx   |2 
 svgio/source/svgreader/svgstyleattributes.cxx  |   38 
 svl/source/items/itemset.cxx   |   18 
 svl/source/numbers/zforlist.cxx|   15 
 svl/source/numbers/zformat.cxx |   12 
 svx/source/dialog/svxruler.cxx |2 
 sw/qa/core/text/data/Broken indent demo.odt|binary
 sw/qa/core/text/data/tdf156146.fodt|  281 +
 sw/qa/core/text/text.cxx   |   62 
 sw/qa/extras/odfexport/odfexport2.cxx  |6 
 sw/qa/extras/uiwriter/data/table-in-table.fodt |   29 
 sw/qa/extras/uiwriter/uiwriter9.cxx|   14 
 sw/qa/uitest/writer_tests2/formatParagraph.py  |2 
 sw/source/core/crsr/crsrsh.cxx |   12 
 sw/source/core/text/inftxt.hxx |6 
 sw/source/core/text/itratr.hxx |2 
 sw/source/core/text/itrtxt.hxx |2 
 sw/source/filter/html/htmlctxt.cxx |3 
 sysui/desktop/menus/calc.desktop   |2 
 sysui/desktop/menus/draw.desktop   |2 
 sysui/desktop/menus/impress.desktop|2 
 sysui/desktop/menus/math.desktop   |2 
 sysui/desktop/menus/writer.desktop |2 
 vcl/inc/qt5/QtTransferable.hxx |   31 
 vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx |   12 
 vcl/qa/cppunit/pdfexport/pdfexport2.cxx|6 
 vcl/qt5/QtClipboard.cxx|2 
 vcl/qt5/QtTransferable.cxx |   81 
 vcl/skia/gdiimpl.cxx   |2 
 vcl/source/app/svapp.cxx   |1 
 vcl/source/bitmap/BitmapEx.cxx |   11 
 vcl/source/filter/webp/reader.cxx  |4 
 vcl/source/gdi/pdfw

core.git: oox/inc oox/source

2024-05-01 Thread Aron Budea (via logerrit)
 oox/inc/drawingml/customshapeproperties.hxx|   33 ++--
 oox/source/drawingml/customshapegeometry.cxx   |   30 +++
 oox/source/drawingml/customshapeproperties.cxx |   99 -
 oox/source/drawingml/shape.cxx |2 
 oox/source/drawingml/transform2dcontext.cxx|   12 +--
 5 files changed, 113 insertions(+), 63 deletions(-)

New commits:
commit 2a5fc2a414517bfcef164f527ef7ab1658fcef5d
Author: Aron Budea 
AuthorDate: Tue Apr 30 03:39:15 2024 +0200
Commit: Aron Budea 
CommitDate: Thu May 2 06:32:02 2024 +0200

tdf#148616 Speed up finding custom shape guide value

Use a lookup hash map instead of linear search

Change-Id: I54c9509740d90ca3f7479dfc16a6aeffd82a405d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166879
Tested-by: Jenkins
Reviewed-by: Noel Grandin 
Reviewed-by: Aron Budea 

diff --git a/oox/inc/drawingml/customshapeproperties.hxx 
b/oox/inc/drawingml/customshapeproperties.hxx
index 4b9ee40503cd..1c627ec7448f 100644
--- a/oox/inc/drawingml/customshapeproperties.hxx
+++ b/oox/inc/drawingml/customshapeproperties.hxx
@@ -42,6 +42,28 @@ struct CustomShapeGuide
 OUString   maFormula;
 };
 
+class CustomShapeGuideContainer
+{
+public:
+sal_Int32 GetCustomShapeGuideValue( const OUString& rFormulaName ) const;
+sal_Int32 SetCustomShapeGuideValue( const CustomShapeGuide& rGuide );
+
+void push_back( const CustomShapeGuide& rGuide );
+size_t size() const { return maGuideList.size(); };
+bool empty() const { return maGuideList.empty(); };
+std::vector< CustomShapeGuide >::const_iterator begin() const { return 
maGuideList.begin(); };
+std::vector< CustomShapeGuide >::const_iterator end() const { return 
maGuideList.end(); };
+const CustomShapeGuide& operator[](size_t nIndex) const { return 
maGuideList[ nIndex ]; };
+
+private:
+std::vector< CustomShapeGuide > maGuideList;
+mutable std::unordered_map< OUString, sal_Int32 > maGuideListLookupMap;
+mutable bool mbLookupMapStale = false;
+mutable sal_Int32 mnPreviousActSize = 0;
+
+void ActualizeLookupMap() const;
+};
+
 struct AdjustHandle
 {
 boolpolar;
@@ -106,8 +128,8 @@ public:
 boolgetShapeTypeOverride() const { return 
mbShapeTypeOverride; };
 voidsetShapeTypeOverride( bool 
bShapeTypeOverride ) { mbShapeTypeOverride = bShapeTypeOverride; };
 
-std::vector< CustomShapeGuide >&getAdjustmentGuideList(){ return 
maAdjustmentGuideList; };
-std::vector< CustomShapeGuide >&getGuideList(){ return maGuideList; };
+CustomShapeGuideContainer&  getAdjustmentGuideList(){ return 
maAdjustmentGuideList; };
+CustomShapeGuideContainer&  getGuideList(){ return maGuideList; };
 std::vector< AdjustHandle >&getAdjustHandleList(){ return 
maAdjustHandleList; };
 std::vector< ConnectionSite >&  getConnectionSiteList(){ return 
maConnectionSiteList; };
 std::optional< GeomRect >&  getTextRect(){ return maTextRect; };
@@ -119,9 +141,6 @@ public:
 voidsetTextCameraZRotateAngle( sal_Int32 
nAngle ) { mnTextCameraZRotateAngle = nAngle; };
 voidsetTextAreaRotateAngle(sal_Int32 
nAngle) { moTextAreaRotateAngle = nAngle; };
 
-static sal_Int32 SetCustomShapeGuideValue( std::vector< CustomShapeGuide 
>& rGuideList, const CustomShapeGuide& rGuide );
-static sal_Int32 GetCustomShapeGuideValue( const std::vector< 
CustomShapeGuide >& rGuideList, std::u16string_view rFormulaName );
-
 sal_Int32 getArcNum() { return mnArcNum++; }
 sal_Int32 countArcTo() { return mnArcNum; }
 PropertyMap& getExtrusionPropertyMap() { return maExtrusionPropertyMap; }
@@ -136,8 +155,8 @@ private:
 
 sal_Int32   mnShapePresetType;
 boolmbShapeTypeOverride;
-std::vector< CustomShapeGuide > maAdjustmentGuideList;
-std::vector< CustomShapeGuide > maGuideList;
+CustomShapeGuideContainer   maAdjustmentGuideList;
+CustomShapeGuideContainer   maGuideList;
 std::vector< AdjustHandle > maAdjustHandleList;
 std::vector< ConnectionSite >   maConnectionSiteList;
 std::optional< GeomRect >   maTextRect;
diff --git a/oox/source/drawingml/customshapegeometry.cxx 
b/oox/source/drawingml/customshapegeometry.cxx
index 01b86b4eea1b..b029957959d8 100644
--- a/oox/source/drawingml/customshapegeometry.cxx
+++ b/oox/source/drawingml/customshapegeometry.cxx
@@ -224,7 +224,7 @@ static EnhancedCustomShapeParameter GetAdjCoordinate( 
CustomShapeProperties& rCu
 aGuide.maName = rValue;
 aGuide.maFormula = "logheight" ;
 
-aRet.Value <<= 
CustomShapeProperties::SetCustomShapeGuideValue( 
rCustomShapeProperties.getGuideList(), aGuide );
+aRe

core.git: Changes to 'refs/tags/cp-23.05.11-1'

2024-05-01 Thread Aron Budea (via logerrit)
Tag 'cp-23.05.11-1' created by Aron Budea  at 
2024-05-01 15:50 +

cp-23.05.11-1

Changes since co-23.05.10-1-25:
---
 0 files changed
---


core.git: Branch 'distro/collabora/co-23.05' - configure.ac

2024-04-30 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 47028e9e99e418d064c93bbb9c6d322f7e84c150
Author: Aron Budea 
AuthorDate: Tue Apr 30 23:06:13 2024 +0200
Commit: Aron Budea 
CommitDate: Tue Apr 30 23:06:13 2024 +0200

Bump version to 23.05.11.1

Change-Id: I334fcc501e067d6a7e11fda2931228c97b3aa424

diff --git a/configure.ac b/configure.ac
index ea178f56c8e4..bae560edb635 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[23.05.10.1],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[23.05.11.1],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Changes to 'refs/tags/cp-24.04.1-4'

2024-04-24 Thread Aron Budea (via logerrit)
Tag 'cp-24.04.1-4' created by Aron Budea  at 
2024-04-24 11:42 +

cp-24.04.1-4

Changes since cp-24.04.1-3-5:
---
 0 files changed
---


core.git: Branch 'distro/collabora/co-24.04' - configure.ac

2024-04-24 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 91ae3cd2d8d77b19fdda6e819fae5f2d15395db5
Author: Aron Budea 
AuthorDate: Wed Apr 24 13:24:20 2024 +0200
Commit: Aron Budea 
CommitDate: Wed Apr 24 13:24:20 2024 +0200

Bump version to 24.04.1.4

Change-Id: I94576bbd5fde3526450640cc7aeee5859d6da504

diff --git a/configure.ac b/configure.ac
index 50351e596c1e..9919fc0ea251 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[24.04.1.3],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[24.04.1.4],[],[],[https://collaboraoffice.com/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'libreoffice-24-2' - vcl/source

2024-04-08 Thread Aron Budea (via logerrit)
 vcl/source/gdi/sallayout.cxx |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit beff8cb9344f13ddbcdc667ad6b73d2d405fa21d
Author: Aron Budea 
AuthorDate: Sat Apr 6 22:48:07 2024 +0200
Commit: Xisco Fauli 
CommitDate: Mon Apr 8 16:55:48 2024 +0200

tdf#160342 Unwanted space before end of line when printing

Also adjust some numeric literals to reflect they're
floating point values in the expressions.

Regression from 172b500ccbc8dac0496cc2936a9bcca793c0b594.

Change-Id: I8281ba7c7d480135471ba94b11d447d76fd33063
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165860
Tested-by: Jenkins
Reviewed-by: Aron Budea 
(cherry picked from commit 357f07bfd96da6cca87fcf0ef339495c2fea6937)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165836
Reviewed-by: خالد حسني 
Reviewed-by: Xisco Fauli 

diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index af281127ba86..d052ab53221b 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -292,7 +292,7 @@ void GenericSalLayout::Justify(double nNewWidth)
 std::vector::iterator pGlyphIter;
 // count stretchable glyphs
 int nStretchable = 0;
-double nMaxGlyphWidth = 0;
+double nMaxGlyphWidth = 0.0;
 for(pGlyphIter = m_GlyphItems.begin(); pGlyphIter != pGlyphIterRight; 
++pGlyphIter)
 {
 if( !pGlyphIter->IsInCluster() )
@@ -303,7 +303,7 @@ void GenericSalLayout::Justify(double nNewWidth)
 
 // move rightmost glyph to requested position
 nOldWidth -= pGlyphIterRight->origWidth();
-if( nOldWidth <= 0 )
+if( nOldWidth <= 0.0 )
 return;
 if( nNewWidth < nMaxGlyphWidth)
 nNewWidth = nMaxGlyphWidth;
@@ -312,10 +312,10 @@ void GenericSalLayout::Justify(double nNewWidth)
 
 // justify glyph widths and positions
 double nDiffWidth = nNewWidth - nOldWidth;
-if( nDiffWidth >= 0) // expanded case
+if( nDiffWidth >= 0.0 ) // expanded case
 {
 // expand width by distributing space between glyphs evenly
-int nDeltaSum = 0;
+double nDeltaSum = 0.0;
 for( pGlyphIter = m_GlyphItems.begin(); pGlyphIter != pGlyphIterRight; 
++pGlyphIter )
 {
 // move glyph to justified position


core.git: vcl/source

2024-04-07 Thread Aron Budea (via logerrit)
 vcl/source/gdi/sallayout.cxx |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1a856fcede54b37701089849a838b6d52bb04b8c
Author: Aron Budea 
AuthorDate: Sat Apr 6 22:48:07 2024 +0200
Commit: Aron Budea 
CommitDate: Sun Apr 7 09:35:19 2024 +0200

tdf#160342 Unwanted space before end of line when printing

Also adjust some numeric literals to reflect they're
floating point values in the expressions.

Regression from 172b500ccbc8dac0496cc2936a9bcca793c0b594.

Change-Id: I8281ba7c7d480135471ba94b11d447d76fd33063
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165860
Tested-by: Jenkins
Reviewed-by: Aron Budea 

diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 3240e481578f..28138c3f61fd 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -304,7 +304,7 @@ void GenericSalLayout::Justify(double nNewWidth)
 std::vector::iterator pGlyphIter;
 // count stretchable glyphs
 int nStretchable = 0;
-double nMaxGlyphWidth = 0;
+double nMaxGlyphWidth = 0.0;
 for(pGlyphIter = m_GlyphItems.begin(); pGlyphIter != pGlyphIterRight; 
++pGlyphIter)
 {
 if( !pGlyphIter->IsInCluster() )
@@ -315,7 +315,7 @@ void GenericSalLayout::Justify(double nNewWidth)
 
 // move rightmost glyph to requested position
 nOldWidth -= pGlyphIterRight->origWidth();
-if( nOldWidth <= 0 )
+if( nOldWidth <= 0.0 )
 return;
 if( nNewWidth < nMaxGlyphWidth)
 nNewWidth = nMaxGlyphWidth;
@@ -324,10 +324,10 @@ void GenericSalLayout::Justify(double nNewWidth)
 
 // justify glyph widths and positions
 double nDiffWidth = nNewWidth - nOldWidth;
-if( nDiffWidth >= 0) // expanded case
+if( nDiffWidth >= 0.0 ) // expanded case
 {
 // expand width by distributing space between glyphs evenly
-int nDeltaSum = 0;
+double nDeltaSum = 0.0;
 for( pGlyphIter = m_GlyphItems.begin(); pGlyphIter != pGlyphIterRight; 
++pGlyphIter )
 {
 // move glyph to justified position


core.git: Branch 'distro/collabora/co-23.05' - desktop/source sfx2/source

2024-03-31 Thread Aron Budea (via logerrit)
 desktop/source/lib/init.cxx  |2 ++
 sfx2/source/control/unoctitm.cxx |2 ++
 2 files changed, 4 insertions(+)

New commits:
commit f74a502670dc7b4cba3100df58ed0d07b6906c67
Author: Aron Budea 
AuthorDate: Tue Mar 12 18:20:24 2024 +1030
Commit: Aron Budea 
CommitDate: Mon Apr 1 02:18:18 2024 +0200

lok: Send Accept / RejectTrackedChangedToNext state change

Change-Id: I194c0c3260fe90273f5b5f50c18a63e48ae85449
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164699
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Aron Budea 
(cherry picked from commit ee979fc26c6509e077be0b746d907d6e13619954)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165586

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 323d0751cb6d..a81b0410d81e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3755,6 +3755,8 @@ static void doc_iniUnoCommands ()
 OUString(".uno:ParaspaceDecrease"),
 OUString(".uno:AcceptTrackedChange"),
 OUString(".uno:RejectTrackedChange"),
+OUString(".uno:AcceptTrackedChangeToNext"),
+OUString(".uno:RejectTrackedChangeToNext"),
 OUString(".uno:ShowResolvedAnnotations"),
 OUString(".uno:InsertBreak"),
 OUString(".uno:InsertEndnote"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 10d2230007db..0e3a092cd8b3 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1037,6 +1037,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, 
SfxViewFrame* pViewFra
  aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
  aEvent.FeatureURL.Path == "AcceptTrackedChange" ||
  aEvent.FeatureURL.Path == "RejectTrackedChange" ||
+ aEvent.FeatureURL.Path == "AcceptTrackedChangeToNext" ||
+ aEvent.FeatureURL.Path == "RejectTrackedChangeToNext" ||
  aEvent.FeatureURL.Path == "NextTrackedChange" ||
  aEvent.FeatureURL.Path == "PreviousTrackedChange" ||
  aEvent.FeatureURL.Path == "FormatGroup" ||


core.git: Changes to 'refs/tags/mimo-7.5.9.2.M2'

2024-03-29 Thread Aron Budea (via logerrit)
Tag 'mimo-7.5.9.2.M2' created by Aron Budea  at 
2024-03-29 16:07 +

mimo-7.5.9.2.M2

Changes since mimo-7.5.9.2.M1-4:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-7.3.7.2.M9'

2024-03-29 Thread Aron Budea (via logerrit)
Tag 'mimo-7.3.7.2.M9' created by Aron Budea  at 
2024-03-29 16:05 +

mimo-7.3.7.2.M9

Changes since mimo-7.3.7.2.M8-3:
---
 0 files changed
---


core.git: Branch 'distro/mimo/mimo-7-2' - configure.ac

2024-03-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 14040f2d6ea496eeaedceff94eb24209fb356df6
Author: Aron Budea 
AuthorDate: Fri Mar 29 02:41:19 2024 +1030
Commit: Aron Budea 
CommitDate: Fri Mar 29 02:41:19 2024 +1030

Bump version to 7.2.7.2.M16

Change-Id: Ic985d8b1508c29e504bed77d8ea418b5155f63e9

diff --git a/configure.ac b/configure.ac
index fe45aab0dfe3..59b390d8c07a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.2.7.2.M15],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.2.7.2.M16],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-5' - configure.ac

2024-03-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3bc3fd766378649e8c48226a82ef65d986fbc826
Author: Aron Budea 
AuthorDate: Fri Mar 29 00:55:42 2024 +1030
Commit: Aron Budea 
CommitDate: Fri Mar 29 00:55:42 2024 +1030

Bump version to 7.5.9.2.M2

Change-Id: If0ed93f823717fab42d5797f88f7e9397558ba69

diff --git a/configure.ac b/configure.ac
index a1578171e7b6..1c88358d44a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.5.9.2.M1],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.5.9.2.M2],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-3' - configure.ac

2024-03-28 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9e9714f9c27f3608b7c19f361aff6af98a7cad6
Author: Aron Budea 
AuthorDate: Fri Mar 29 00:52:19 2024 +1030
Commit: Aron Budea 
CommitDate: Fri Mar 29 00:52:19 2024 +1030

Bump version to 7.3.7.2.M9

Change-Id: I245b17cedfbc84a1224f998b24e1f30d4c892d23

diff --git a/configure.ac b/configure.ac
index 2568674a71f5..c0f0d23ba16a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.3.7.2.M8],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.3.7.2.M9],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/collabora/co-23.05' - sc/source

2024-03-25 Thread Aron Budea (via logerrit)
 sc/source/ui/view/gridwin.cxx  |2 --
 sc/source/ui/view/viewdata.cxx |   26 --
 2 files changed, 28 deletions(-)

New commits:
commit 8f695dd653031863673b099c14fa20841df2cd88
Author: Aron Budea 
AuthorDate: Mon Mar 25 14:55:29 2024 +1030
Commit: Aron Budea 
CommitDate: Mon Mar 25 08:20:41 2024 +0100

Revert "lok calc: show cell cursor on in place editing"

Causes calc/focus_spec.js to fail in COOL.
Or when clicking into formula bar, cell takes back focus.

This reverts commit cc88ad715f80b13efb29744673d044df9c16550c.

Change-Id: I9b43c5893a721fc4c42bf1e5f2ef0f514c127ee5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165263
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Aron Budea 

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index fbb6bceb0e5c..3cf47209647c 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6107,8 +6107,6 @@ void ScGridWindow::UpdateAllOverlays()
 
 void ScGridWindow::DeleteCursorOverlay()
 {
-if (comphelper::LibreOfficeKit::isActive() && 
mrViewData.HasEditView(eWhich))
-return;
 ScTabViewShell* pViewShell = mrViewData.GetViewShell();
 pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CELL_CURSOR, "EMPTY");
 SfxLokHelper::notifyOtherViews(pViewShell, LOK_CALLBACK_CELL_VIEW_CURSOR, 
"rectangle", "EMPTY");
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index c7bd25aabb51..c2ec647d203b 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -71,7 +71,6 @@
 
 #include 
 #include 
-#include 
 
 using namespace com::sun::star;
 
@@ -1519,22 +1518,6 @@ tools::Rectangle ScViewData::GetEditArea( ScSplitPos 
eWhich, SCCOL nPosX, SCROW
 GetEditArea( pPattern, bForceToTop );
 }
 
-namespace {
-
-void notifyCellCursorAt(const ScTabViewShell* pViewShell, SCCOL nCol, SCROW 
nRow,
-const tools::Rectangle& rCursor)
-{
-std::stringstream ss;
-ss << rCursor.getX() << ", " << rCursor.getY() << ", " << 
rCursor.GetWidth() << ", "
-   << rCursor.GetHeight() << ", " << nCol << ", " << nRow;
-
-pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CELL_CURSOR, 
ss.str().c_str());
-SfxLokHelper::notifyOtherViews(pViewShell, LOK_CALLBACK_CELL_VIEW_CURSOR, 
"rectangle",
-   ss.str().c_str());
-}
-
-}
-
 void ScViewData::SetEditEngine( ScSplitPos eWhich,
 ScEditEngineDefaulter* pNewEngine,
 vcl::Window* pWin, SCCOL nNewX, SCROW nNewY )
@@ -1650,9 +1633,6 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich,
 tools::Rectangle aOutputArea = pWin->PixelToLogic( aPixRect, 
GetLogicMode() );
 pEditView[eWhich]->SetOutputArea( aOutputArea );
 
-if (bLOKPrintTwips)
-notifyCellCursorAt(GetViewShell(), nNewX, nNewY, aPTwipsRect);
-
 if ( bActive && eWhich == GetActivePart() )
 {
 // keep the part that has the active edit view available after
@@ -2141,9 +2121,6 @@ void ScViewData::EditGrowX()
 
 pCurView->SetOutputArea(aArea);
 
-if (bLOKPrintTwips)
-notifyCellCursorAt(GetViewShell(), nEditCol, nEditRow, aAreaPTwips);
-
 //  In vertical mode, the whole text is moved to the next cell 
(right-aligned),
 //  so everything must be repainted. Otherwise, paint only the new area.
 //  If growing in centered alignment, if the cells left and right have 
different sizes,
@@ -2257,9 +2234,6 @@ void ScViewData::EditGrowY( bool bInitial )
 
 pCurView->SetOutputArea(aArea);
 
-if (bLOKPrintTwips)
-notifyCellCursorAt(GetViewShell(), nEditCol, nEditRow, aAreaPTwips);
-
 if (nEditEndRow >= nBottom || bMaxReached)
 {
 if (!(nControl & EVControlBits::AUTOSCROLL))


core.git: desktop/source sfx2/source

2024-03-12 Thread Aron Budea (via logerrit)
 desktop/source/lib/init.cxx  |2 ++
 sfx2/source/control/unoctitm.cxx |2 ++
 2 files changed, 4 insertions(+)

New commits:
commit d3ae37902ee2ded2926b1a41816b33404f1cda1d
Author: Aron Budea 
AuthorDate: Tue Mar 12 18:20:24 2024 +1030
Commit: Aron Budea 
CommitDate: Tue Mar 12 19:24:12 2024 +0100

lok: Send Accept / RejectTrackedChangedToNext state change

Change-Id: I194c0c3260fe90273f5b5f50c18a63e48ae85449
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164699
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Aron Budea 
(cherry picked from commit 9358d70f57ffd2ea40a3ae71db14b26307fce92e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164685
Tested-by: Jenkins

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index d2525bcddcb3..90bddb4fb899 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3781,6 +3781,8 @@ static void doc_iniUnoCommands ()
 u".uno:ParaspaceDecrease"_ustr,
 u".uno:AcceptTrackedChange"_ustr,
 u".uno:RejectTrackedChange"_ustr,
+u".uno:AcceptTrackedChangeToNext"_ustr,
+u".uno:RejectTrackedChangeToNext"_ustr,
 u".uno:ShowResolvedAnnotations"_ustr,
 u".uno:InsertBreak"_ustr,
 u".uno:InsertEndnote"_ustr,
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 9ab895887033..28097661bb7e 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1021,6 +1021,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, 
SfxViewFrame* pViewFra
  aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
  aEvent.FeatureURL.Path == "AcceptTrackedChange" ||
  aEvent.FeatureURL.Path == "RejectTrackedChange" ||
+ aEvent.FeatureURL.Path == "AcceptTrackedChangeToNext" ||
+ aEvent.FeatureURL.Path == "RejectTrackedChangeToNext" ||
  aEvent.FeatureURL.Path == "NextTrackedChange" ||
  aEvent.FeatureURL.Path == "PreviousTrackedChange" ||
  aEvent.FeatureURL.Path == "FormatGroup" ||


core.git: Branch 'distro/collabora/co-24.04' - desktop/source sfx2/source

2024-03-12 Thread Aron Budea (via logerrit)
 desktop/source/lib/init.cxx  |2 ++
 sfx2/source/control/unoctitm.cxx |2 ++
 2 files changed, 4 insertions(+)

New commits:
commit ee979fc26c6509e077be0b746d907d6e13619954
Author: Aron Budea 
AuthorDate: Tue Mar 12 18:20:24 2024 +1030
Commit: Aron Budea 
CommitDate: Tue Mar 12 13:41:34 2024 +0100

lok: Send Accept / RejectTrackedChangedToNext state change

Change-Id: I194c0c3260fe90273f5b5f50c18a63e48ae85449
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164699
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Aron Budea 

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 739ba2a42021..264d0515cf0e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3790,6 +3790,8 @@ static void doc_iniUnoCommands ()
 u".uno:ParaspaceDecrease"_ustr,
 u".uno:AcceptTrackedChange"_ustr,
 u".uno:RejectTrackedChange"_ustr,
+u".uno:AcceptTrackedChangeToNext"_ustr,
+u".uno:RejectTrackedChangeToNext"_ustr,
 u".uno:ShowResolvedAnnotations"_ustr,
 u".uno:InsertBreak"_ustr,
 u".uno:InsertEndnote"_ustr,
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 9b588293082b..fade31109f35 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1073,6 +1073,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, 
SfxViewFrame* pViewFra
  aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
  aEvent.FeatureURL.Path == "AcceptTrackedChange" ||
  aEvent.FeatureURL.Path == "RejectTrackedChange" ||
+ aEvent.FeatureURL.Path == "AcceptTrackedChangeToNext" ||
+ aEvent.FeatureURL.Path == "RejectTrackedChangeToNext" ||
  aEvent.FeatureURL.Path == "NextTrackedChange" ||
  aEvent.FeatureURL.Path == "PreviousTrackedChange" ||
  aEvent.FeatureURL.Path == "FormatGroup" ||


dictionaries.git: Changes to 'refs/tags/cp-22.05.22-2'

2024-02-19 Thread Aron Budea (via logerrit)
Tag 'cp-22.05.22-2' created by Andras Timar  at 
2024-02-19 08:15 +

cp-22.05.22-2

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


dictionaries.git: Changes to 'refs/tags/cp-22.05.22-1'

2024-02-15 Thread Aron Budea (via logerrit)
Tag 'cp-22.05.22-1' created by Andras Timar  at 
2024-02-15 12:56 +

cp-22.05.22-1

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


core.git: pyuno/source

2024-02-15 Thread Aron Budea (via logerrit)
 pyuno/source/module/pyuno.cxx |   26 +-
 1 file changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 6efe49e729ff6b1f427283e24300e4d6bd2395af
Author: Aron Budea 
AuthorDate: Thu Feb 15 15:36:35 2024 +1030
Commit: Aron Budea 
CommitDate: Thu Feb 15 12:49:31 2024 +0100

pyuno: Use expected return value (-1) on failure

Both PyObject_SetAttr and PyObject_SetItem are expected to:

Raise an exception and return -1 on failure; return 0 on success.
https://docs.python.org/3/c-api/object.html

Change-Id: Id1f6129e91e9da2f5d3bc18584224c3393d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163418
Tested-by: Jenkins
Reviewed-by: Aron Budea 

diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index bd4904d5f729..44fd8af6810e 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -939,7 +939,7 @@ static int lcl_setitem_index( PyUNO const *me, PyObject 
*pKey, PyObject *pValue
 }
 
 PyErr_SetString( PyExc_TypeError, "cannot assign to object" );
-return 1;
+return -1;
 }
 
 static int lcl_setitem_slice( PyUNO const *me, PyObject *pKey, PyObject 
*pValue )
@@ -979,27 +979,27 @@ static int lcl_setitem_slice( PyUNO const *me, PyObject 
*pKey, PyObject *pValue
 if ( !PyTuple_Check (pValue) )
 {
 PyErr_SetString( PyExc_TypeError, "value is not a tuple" );
-return 1;
+return -1;
 }
 
 Py_ssize_t nTupleLength_ssize = PyTuple_Size( pValue );
 if ( nTupleLength_ssize > SAL_MAX_INT32 )
 {
 PyErr_SetString( PyExc_ValueError, "tuple too large" );
-return 1;
+return -1;
 }
 sal_Int32 nTupleLength = static_cast(nTupleLength_ssize);
 
 if ( (nTupleLength != nSliceLength) && (nStep != 1) )
 {
 PyErr_SetString( PyExc_ValueError, "number of items assigned must 
be equal" );
-return 1;
+return -1;
 }
 
 if ( (nTupleLength != nSliceLength) && !xIndexContainer.is() )
 {
 PyErr_SetString( PyExc_ValueError, "cannot change length" );
-return 1;
+return -1;
 }
 
 sal_Int32 nCur, i;
@@ -1057,7 +1057,7 @@ static int lcl_setitem_slice( PyUNO const *me, PyObject 
*pKey, PyObject *pValue
 }
 
 PyErr_SetString( PyExc_TypeError, "cannot assign to object" );
-return 1;
+return -1;
 }
 
 static int lcl_setitem_string( PyUNO const *me, PyObject *pKey, PyObject 
*pValue )
@@ -1129,7 +1129,7 @@ static int lcl_setitem_string( PyUNO const *me, PyObject 
*pKey, PyObject *pValue
 }
 
 PyErr_SetString( PyExc_TypeError, "cannot assign to object" );
-return 1;
+return -1;
 }
 
 static int PyUNO_setitem( PyObject *self, PyObject *pKey, PyObject *pValue )
@@ -1182,7 +1182,7 @@ static int PyUNO_setitem( PyObject *self, PyObject *pKey, 
PyObject *pValue )
 raisePyExceptionWithAny( css::uno::Any( e ) );
 }
 
-return 1;
+return -1;
 }
 
 static PyObject* PyUNO_iter( PyObject *self )
@@ -1461,25 +1461,25 @@ static int PyUNO_setattr (PyObject* self, char* name, 
PyObject* value)
 catch( const css::reflection::InvocationTargetException & e )
 {
 raisePyExceptionWithAny( e.TargetException );
-return 1;
+return -1;
 }
 catch( const css::beans::UnknownPropertyException & e )
 {
 raisePyExceptionWithAny( Any(e) );
-return 1;
+return -1;
 }
 catch( const css::script::CannotConvertException &e )
 {
 raisePyExceptionWithAny( Any(e) );
-return 1;
+return -1;
 }
 catch( const RuntimeException & e )
 {
 raisePyExceptionWithAny( Any( e ) );
-return 1;
+return -1;
 }
 PyErr_SetString (PyExc_AttributeError, name);
-return 1; //as above.
+return -1; //as above.
 }
 
 static PyObject* PyUNO_cmp( PyObject *self, PyObject *that, int op )


core.git: basic/source

2024-02-08 Thread Aron Budea (via logerrit)
 basic/source/runtime/methods.cxx |  190 ---
 1 file changed, 81 insertions(+), 109 deletions(-)

New commits:
commit 8318337c3e30075acc72fa8c9d5051c33319fdf5
Author: Aron Budea 
AuthorDate: Sun Jan 28 21:46:32 2024 +1030
Commit: Aron Budea 
CommitDate: Fri Feb 9 00:30:21 2024 +0100

tdf#147132 tdf#154285 basic: Flatten and check param count of Is* fns

Change-Id: I6d27dd49613a5cc26f4244dadc9bdd65361a0475
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162657
Tested-by: Jenkins
Reviewed-by: Aron Budea 

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index ad3b638805a2..d58a2cef9ee0 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2272,162 +2272,134 @@ void SbRtl_Date(StarBASIC *, SbxArray & rPar, bool 
bWrite)
 
 void SbRtl_IsArray(StarBASIC *, SbxArray & rPar, bool)
 {
-if (rPar.Count() < 2)
-{
-StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
-}
-else
-{
-rPar.Get(0)->PutBool((rPar.Get(1)->GetType() & SbxARRAY) != 0);
-}
+if (rPar.Count() != 2)
+return StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+
+rPar.Get(0)->PutBool((rPar.Get(1)->GetType() & SbxARRAY) != 0);
 }
 
 void SbRtl_IsObject(StarBASIC *, SbxArray & rPar, bool)
 {
-if (rPar.Count() < 2)
-{
-StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
-}
-else
-{
-SbxVariable* pVar = rPar.Get(1);
-bool bObject = pVar->IsObject();
-SbxBase* pObj = (bObject ? pVar->GetObject() : nullptr);
+if (rPar.Count() != 2)
+return StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
 
-if( auto pUnoClass = dynamic_cast( pObj) )
-{
-bObject = pUnoClass->getUnoClass().is();
-}
-rPar.Get(0)->PutBool(bObject);
+SbxVariable* pVar = rPar.Get(1);
+bool bObject = pVar->IsObject();
+SbxBase* pObj = (bObject ? pVar->GetObject() : nullptr);
+
+if( auto pUnoClass = dynamic_cast( pObj) )
+{
+bObject = pUnoClass->getUnoClass().is();
 }
+rPar.Get(0)->PutBool(bObject);
 }
 
 void SbRtl_IsDate(StarBASIC *, SbxArray & rPar, bool)
 {
-if (rPar.Count() < 2)
+if (rPar.Count() != 2)
+return StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+
+// #46134 only string is converted, all other types result in sal_False
+SbxVariableRef xArg = rPar.Get(1);
+SbxDataType eType = xArg->GetType();
+bool bDate = false;
+
+if( eType == SbxDATE )
 {
-StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+bDate = true;
 }
-else
+else if( eType == SbxSTRING )
 {
-// #46134 only string is converted, all other types result in sal_False
-SbxVariableRef xArg = rPar.Get(1);
-SbxDataType eType = xArg->GetType();
-bool bDate = false;
-
-if( eType == SbxDATE )
-{
-bDate = true;
-}
-else if( eType == SbxSTRING )
-{
-ErrCode nPrevError = SbxBase::GetError();
-SbxBase::ResetError();
+ErrCode nPrevError = SbxBase::GetError();
+SbxBase::ResetError();
 
-// force conversion of the parameter to SbxDATE
-xArg->SbxValue::GetDate();
+// force conversion of the parameter to SbxDATE
+xArg->SbxValue::GetDate();
 
-bDate = !SbxBase::IsError();
+bDate = !SbxBase::IsError();
 
-SbxBase::ResetError();
-SbxBase::SetError( nPrevError );
-}
-rPar.Get(0)->PutBool(bDate);
+SbxBase::ResetError();
+SbxBase::SetError( nPrevError );
 }
+rPar.Get(0)->PutBool(bDate);
 }
 
 void SbRtl_IsEmpty(StarBASIC *, SbxArray & rPar, bool)
 {
-if (rPar.Count() < 2)
+if (rPar.Count() != 2)
+return StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+
+SbxVariable* pVar = nullptr;
+if( SbiRuntime::isVBAEnabled() )
 {
-StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+pVar = getDefaultProp(rPar.Get(1));
+}
+if ( pVar )
+{
+pVar->Broadcast( SfxHintId::BasicDataWanted );
+rPar.Get(0)->PutBool(pVar->IsEmpty());
 }
 else
 {
-SbxVariable* pVar = nullptr;
-if( SbiRuntime::isVBAEnabled() )
-{
-pVar = getDefaultProp(rPar.Get(1));
-}
-if ( pVar )
-{
-pVar->Broadcast( SfxHintId::BasicDataWanted );
-rPar.Get(0)->PutBool(pVar->IsEmpty());
-}
-else
-{
-rPar.Get(0)->PutBool(rPar.Get(1)->IsEmpty());
-}
+rPar.Get(0)->PutBool(rPar.Get(1)->IsEmpty());
 }
 }
 
 void SbRtl_IsError(StarBASIC *, SbxArray & rPar, bool)
 {
-if (rPar.Count() < 2)
+if (rPar.Count() != 2)
+return StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+
+SbxVariable* pVar = rPar.Get(1);
+SbUnoObject* pObj = dynamic_cast( pVar  

core.git: Branch 'distro/collabora/co-24.04' - external/mdds

2024-01-18 Thread Aron Budea (via logerrit)
 external/mdds/gcc-12-silence-use-after-free.patch.1 |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 780e8c77fe6b93978db94601ffba200a5f2101b8
Author: Aron Budea 
AuthorDate: Wed Jan 17 02:54:34 2024 +1030
Commit: Aron Budea 
CommitDate: Fri Jan 19 11:33:56 2024 +1030

silence use-after-free warning in mdds for gcc12.3 in optimized build

Follow-up to e7c4166f1e150b10bc2ac52e93f8ad7503db09dc as GCC 12.3
seems to be affected, too.

Change-Id: I8e5ba9be64625ffd21d43e627996a9ea8602ce9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162181
Tested-by: Jenkins
Reviewed-by: Aron Budea 
(cherry picked from commit 5d52d7dcdf07e5d117e9854af5956b2e93ad3e46)

diff --git a/external/mdds/gcc-12-silence-use-after-free.patch.1 
b/external/mdds/gcc-12-silence-use-after-free.patch.1
index 3f8dd0afe0f3..94f7ba979e61 100644
--- a/external/mdds/gcc-12-silence-use-after-free.patch.1
+++ b/external/mdds/gcc-12-silence-use-after-free.patch.1
@@ -28,13 +28,13 @@ diff -ur mdds.org/include/mdds/node.hpp 
mdds/include/mdds/node.hpp
  {
 ---p->refcount;
 -if (!p->refcount)
-+#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ < 3 && !defined 
__clang__
++#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ <= 3 && !defined 
__clang__
 +#pragma GCC diagnostic push
 +#pragma GCC diagnostic ignored "-Wuse-after-free"
 +#endif
 +if(--p->refcount == 0)
  delete p;
-+#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ < 3 && !defined 
__clang__
++#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ <= 3 && !defined 
__clang__
 +#pragma GCC diagnostic pop
 +#endif
  }


core.git: external/mdds

2024-01-17 Thread Aron Budea (via logerrit)
 external/mdds/gcc-12-silence-use-after-free.patch.1 |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5d52d7dcdf07e5d117e9854af5956b2e93ad3e46
Author: Aron Budea 
AuthorDate: Wed Jan 17 02:54:34 2024 +1030
Commit: Aron Budea 
CommitDate: Thu Jan 18 00:42:16 2024 +0100

silence use-after-free warning in mdds for gcc12.3 in optimized build

Follow-up to e7c4166f1e150b10bc2ac52e93f8ad7503db09dc as GCC 12.3
seems to be affected, too.

Change-Id: I8e5ba9be64625ffd21d43e627996a9ea8602ce9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162181
Tested-by: Jenkins
Reviewed-by: Aron Budea 

diff --git a/external/mdds/gcc-12-silence-use-after-free.patch.1 
b/external/mdds/gcc-12-silence-use-after-free.patch.1
index 3f8dd0afe0f3..94f7ba979e61 100644
--- a/external/mdds/gcc-12-silence-use-after-free.patch.1
+++ b/external/mdds/gcc-12-silence-use-after-free.patch.1
@@ -28,13 +28,13 @@ diff -ur mdds.org/include/mdds/node.hpp 
mdds/include/mdds/node.hpp
  {
 ---p->refcount;
 -if (!p->refcount)
-+#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ < 3 && !defined 
__clang__
++#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ <= 3 && !defined 
__clang__
 +#pragma GCC diagnostic push
 +#pragma GCC diagnostic ignored "-Wuse-after-free"
 +#endif
 +if(--p->refcount == 0)
  delete p;
-+#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ < 3 && !defined 
__clang__
++#if defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ <= 3 && !defined 
__clang__
 +#pragma GCC diagnostic pop
 +#endif
  }


core.git: Branch 'distro/collabora/co-24.04' - sal/osl

2024-01-15 Thread Aron Budea (via logerrit)
 sal/osl/unx/file.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8963d03ed9c349447a0073d2dabfebc3f2a875d
Author: Aron Budea 
AuthorDate: Tue Jan 16 12:24:36 2024 +1030
Commit: Aron Budea 
CommitDate: Tue Jan 16 12:26:01 2024 +1030

Fix build

Change-Id: I4c097d4c18f2f6793cde1f3bf3beab2b4c733be4

diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index 848a586ad2ce..ecd721cfc31c 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -35,6 +35,7 @@
 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -61,7 +62,6 @@
 #include 
 #include 
 #include 
-#include 
 #endif
 
 namespace {


core.git: sfx2/source

2024-01-14 Thread Aron Budea (via logerrit)
 sfx2/source/view/lokhelper.cxx |   59 +++--
 1 file changed, 28 insertions(+), 31 deletions(-)

New commits:
commit 1bc6a730ecb7db289e7f72db3c9bce4812e775ed
Author: Aron Budea 
AuthorDate: Tue Jan 9 12:39:56 2024 +1030
Commit: Aron Budea 
CommitDate: Sun Jan 14 16:37:41 2024 +0100

lok: Replace loop with std::find_if(...)

Change-Id: Icfe912f7b79454b9d208c39382ba187d0a0c16c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161810
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Attila Szűcs 
Reviewed-by: Aron Budea 
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162045
Tested-by: Jenkins

diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index 02cc7fe25230..2106168f459e 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -184,44 +184,41 @@ void SfxLokHelper::setView(int nId)
 const ViewShellId nViewShellId(nId);
 std::vector& rViewArr = pApp->GetViewShells_Impl();
 
-for (const SfxViewShell* pViewShell : rViewArr)
-{
-if (pViewShell->GetViewShellId() == nViewShellId)
-{
-DisableCallbacks dc;
+const auto itViewShell = std::find_if(rViewArr.begin(), rViewArr.end(), 
[nViewShellId](SfxViewShell* pViewShell){ return pViewShell->GetViewShellId() 
== nViewShellId; });
+if (itViewShell == rViewArr.end())
+return;
 
-bool bIsCurrShell = (pViewShell == SfxViewShell::Current());
-if (bIsCurrShell && 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47() == 
pViewShell->GetLOKLanguageTag().getBcp47())
-return;
+const SfxViewShell* pViewShell = *itViewShell;
+DisableCallbacks dc;
 
-if (bIsCurrShell)
-{
-// If we wanted to set the SfxViewShell that is actually set, 
we could skip it.
-// But it looks like that the language can go wrong, so we 
have to fix that.
-// This can happen, when someone sets the language or 
SfxViewShell::Current() separately.
-SAL_WARN("lok", "LANGUAGE mismatch at setView! ... old (wrong) 
lang:"
-<< 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47()
-<< " new lang:" << 
pViewShell->GetLOKLanguageTag().getBcp47());
-}
+bool bIsCurrShell = (pViewShell == SfxViewShell::Current());
+if (bIsCurrShell && 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47() == 
pViewShell->GetLOKLanguageTag().getBcp47())
+return;
 
-// update the current LOK language and locale for the dialog 
tunneling
-
comphelper::LibreOfficeKit::setLanguageTag(pViewShell->GetLOKLanguageTag());
-comphelper::LibreOfficeKit::setLocale(pViewShell->GetLOKLocale());
+if (bIsCurrShell)
+{
+// If we wanted to set the SfxViewShell that is actually set, we could 
skip it.
+// But it looks like that the language can go wrong, so we have to fix 
that.
+// This can happen, when someone sets the language or 
SfxViewShell::Current() separately.
+SAL_WARN("lok", "LANGUAGE mismatch at setView! ... old (wrong) lang:"
+<< 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47()
+<< " new lang:" << 
pViewShell->GetLOKLanguageTag().getBcp47());
+}
 
-if (bIsCurrShell)
-return;
+// update the current LOK language and locale for the dialog tunneling
+
comphelper::LibreOfficeKit::setLanguageTag(pViewShell->GetLOKLanguageTag());
+comphelper::LibreOfficeKit::setLocale(pViewShell->GetLOKLocale());
 
-SfxViewFrame& rViewFrame = pViewShell->GetViewFrame();
-rViewFrame.MakeActive_Impl(false);
+if (bIsCurrShell)
+return;
 
-// Make comphelper::dispatchCommand() find the correct frame.
-uno::Reference xFrame = 
rViewFrame.GetFrame().GetFrameInterface();
-uno::Reference xDesktop = 
frame::Desktop::create(comphelper::getProcessComponentContext());
-xDesktop->setActiveFrame(xFrame);
-return;
-}
-}
+SfxViewFrame& rViewFrame = pViewShell->GetViewFrame();
+rViewFrame.MakeActive_Impl(false);
 
+// Make comphelper::dispatchCommand() find the correct frame.
+uno::Reference xFrame = 
rViewFrame.GetFrame().GetFrameInterface();
+uno::Reference xDesktop = 
frame::Desktop::create(comphelper::getProcessComponentContext());
+xDesktop->setActiveFrame(xFrame);
 }
 
 SfxViewShell* SfxLokHelper::getViewOfId(int nId)


core.git: Branch 'distro/collabora/co-23.05' - sfx2/source

2024-01-11 Thread Aron Budea (via logerrit)
 sfx2/source/view/lokhelper.cxx |   59 +++--
 1 file changed, 28 insertions(+), 31 deletions(-)

New commits:
commit 64f9abf4de93ed0d7006970dec70e22f9085fcc3
Author: Aron Budea 
AuthorDate: Tue Jan 9 12:39:56 2024 +1030
Commit: Aron Budea 
CommitDate: Thu Jan 11 11:41:46 2024 +0100

lok: Replace loop with std::find_if(...)

Change-Id: Icfe912f7b79454b9d208c39382ba187d0a0c16c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161810
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Attila Szűcs 
Reviewed-by: Aron Budea 

diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index c54551b1637f..0deb4d6a65a2 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -185,44 +185,41 @@ void SfxLokHelper::setView(int nId)
 const ViewShellId nViewShellId(nId);
 std::vector& rViewArr = pApp->GetViewShells_Impl();
 
-for (const SfxViewShell* pViewShell : rViewArr)
-{
-if (pViewShell->GetViewShellId() == nViewShellId)
-{
-DisableCallbacks dc;
+const auto itViewShell = std::find_if(rViewArr.begin(), rViewArr.end(), 
[nViewShellId](SfxViewShell* pViewShell){ return pViewShell->GetViewShellId() 
== nViewShellId; });
+if (itViewShell == rViewArr.end())
+return;
 
-bool bIsCurrShell = (pViewShell == SfxViewShell::Current());
-if (bIsCurrShell && 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47() == 
pViewShell->GetLOKLanguageTag().getBcp47())
-return;
+const SfxViewShell* pViewShell = *itViewShell;
+DisableCallbacks dc;
 
-if (bIsCurrShell)
-{
-// If we wanted to set the SfxViewShell that is actually set, 
we could skip it.
-// But it looks like that the language can go wrong, so we 
have to fix that.
-// This can happen, when someone sets the language or 
SfxViewShell::Current() separately.
-SAL_WARN("lok", "LANGUAGE mismatch at setView! ... old (wrong) 
lang:"
-<< 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47()
-<< " new lang:" << 
pViewShell->GetLOKLanguageTag().getBcp47());
-}
+bool bIsCurrShell = (pViewShell == SfxViewShell::Current());
+if (bIsCurrShell && 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47() == 
pViewShell->GetLOKLanguageTag().getBcp47())
+return;
 
-// update the current LOK language and locale for the dialog 
tunneling
-
comphelper::LibreOfficeKit::setLanguageTag(pViewShell->GetLOKLanguageTag());
-comphelper::LibreOfficeKit::setLocale(pViewShell->GetLOKLocale());
+if (bIsCurrShell)
+{
+// If we wanted to set the SfxViewShell that is actually set, we could 
skip it.
+// But it looks like that the language can go wrong, so we have to fix 
that.
+// This can happen, when someone sets the language or 
SfxViewShell::Current() separately.
+SAL_WARN("lok", "LANGUAGE mismatch at setView! ... old (wrong) lang:"
+<< 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47()
+<< " new lang:" << 
pViewShell->GetLOKLanguageTag().getBcp47());
+}
 
-if (bIsCurrShell)
-return;
+// update the current LOK language and locale for the dialog tunneling
+
comphelper::LibreOfficeKit::setLanguageTag(pViewShell->GetLOKLanguageTag());
+comphelper::LibreOfficeKit::setLocale(pViewShell->GetLOKLocale());
 
-SfxViewFrame* pViewFrame = pViewShell->GetViewFrame();
-pViewFrame->MakeActive_Impl(false);
+if (bIsCurrShell)
+return;
 
-// Make comphelper::dispatchCommand() find the correct frame.
-uno::Reference xFrame = 
pViewFrame->GetFrame().GetFrameInterface();
-uno::Reference xDesktop = 
frame::Desktop::create(comphelper::getProcessComponentContext());
-xDesktop->setActiveFrame(xFrame);
-return;
-}
-}
+SfxViewFrame* pViewFrame = pViewShell->GetViewFrame();
+pViewFrame->MakeActive_Impl(false);
 
+// Make comphelper::dispatchCommand() find the correct frame.
+uno::Reference xFrame = 
pViewFrame->GetFrame().GetFrameInterface();
+uno::Reference xDesktop = 
frame::Desktop::create(comphelper::getProcessComponentContext());
+xDesktop->setActiveFrame(xFrame);
 }
 
 SfxViewShell* SfxLokHelper::getViewOfId(int nId)


core.git: Branch 'distro/collabora/co-23.05' - sfx2/source

2024-01-10 Thread Aron Budea (via logerrit)
 sfx2/source/view/lokhelper.cxx |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 1df99bcd3556162e33acc6300b7ca4b8b4c9c057
Author: Aron Budea 
AuthorDate: Thu Jan 11 10:13:42 2024 +1030
Commit: Aron Budea 
CommitDate: Thu Jan 11 01:44:54 2024 +0100

Revert "lok: Log actual differing language"

A change that fixes the same issue got merged recently.

This reverts commit 9c35edb44a82a346122e9ba762165161d1ebcf02.

Change-Id: Ib2565e41b31b7e53e423aba2bdf60d4dbb9f0da5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161901
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Aron Budea 

diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index 0eb4a31607ac..c54551b1637f 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -192,8 +192,7 @@ void SfxLokHelper::setView(int nId)
 DisableCallbacks dc;
 
 bool bIsCurrShell = (pViewShell == SfxViewShell::Current());
-const auto aKitLang = 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47();
-if (bIsCurrShell && aKitLang == 
pViewShell->GetLOKLanguageTag().getBcp47())
+if (bIsCurrShell && 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47() == 
pViewShell->GetLOKLanguageTag().getBcp47())
 return;
 
 if (bIsCurrShell)
@@ -202,7 +201,7 @@ void SfxLokHelper::setView(int nId)
 // But it looks like that the language can go wrong, so we 
have to fix that.
 // This can happen, when someone sets the language or 
SfxViewShell::Current() separately.
 SAL_WARN("lok", "LANGUAGE mismatch at setView! ... old (wrong) 
lang:"
-<< aKitLang
+<< 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47()
 << " new lang:" << 
pViewShell->GetLOKLanguageTag().getBcp47());
 }
 


core.git: Branch 'distro/collabora/co-23.05' - sfx2/source

2024-01-10 Thread Aron Budea (via logerrit)
 sfx2/source/view/lokhelper.cxx |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 9c35edb44a82a346122e9ba762165161d1ebcf02
Author: Aron Budea 
AuthorDate: Tue Jan 9 00:48:48 2024 +1030
Commit: Andras Timar 
CommitDate: Wed Jan 10 16:39:01 2024 +0100

lok: Log actual differing language

...not the same after it is overwritten

Change-Id: I5cde7db22d66d73965c0d13f0890ddca0e37a616
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161790
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Andras Timar 

diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index c54551b1637f..0eb4a31607ac 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -192,7 +192,8 @@ void SfxLokHelper::setView(int nId)
 DisableCallbacks dc;
 
 bool bIsCurrShell = (pViewShell == SfxViewShell::Current());
-if (bIsCurrShell && 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47() == 
pViewShell->GetLOKLanguageTag().getBcp47())
+const auto aKitLang = 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47();
+if (bIsCurrShell && aKitLang == 
pViewShell->GetLOKLanguageTag().getBcp47())
 return;
 
 if (bIsCurrShell)
@@ -201,7 +202,7 @@ void SfxLokHelper::setView(int nId)
 // But it looks like that the language can go wrong, so we 
have to fix that.
 // This can happen, when someone sets the language or 
SfxViewShell::Current() separately.
 SAL_WARN("lok", "LANGUAGE mismatch at setView! ... old (wrong) 
lang:"
-<< 
comphelper::LibreOfficeKit::getLanguageTag().getBcp47()
+<< aKitLang
 << " new lang:" << 
pViewShell->GetLOKLanguageTag().getBcp47());
 }
 


dictionaries.git: Changes to 'refs/tags/cp-22.05.21-1'

2024-01-08 Thread Aron Budea (via logerrit)
Tag 'cp-22.05.21-1' created by Andras Timar  at 
2024-01-08 18:08 +

cp-22.05.21-1

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


core.git: sc/inc sc/source

2023-12-11 Thread Aron Budea (via logerrit)
 sc/inc/table.hxx |   10 ++
 sc/source/core/data/dociter.cxx  |   20 ++--
 sc/source/core/data/document.cxx |2 +-
 sc/source/core/data/table2.cxx   |   16 
 sc/source/core/data/table4.cxx   |2 +-
 5 files changed, 22 insertions(+), 28 deletions(-)

New commits:
commit 93801094fa7a3d276dc56138fafbf21029aae4d5
Author: Aron Budea 
AuthorDate: Tue Dec 12 02:15:43 2023 +1030
Commit: Mike Kaganski 
CommitDate: Tue Dec 12 05:40:12 2023 +0100

sc: Unify GetColumnData

This added ColumnData:
a15c02effa654da06e9695b5e4c0c595f851a878
This added GetColumnData:
1c53f5b6647dcffa57012990d342b21eaff19888

Both functions are the same, one is const, other is non-const.

Change-Id: I8ed214290c7ee8d9e22bd466f9ada95b40300e34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160601
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 

diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 3bf61e701c16..dbfffacc67bf 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -309,12 +309,8 @@ public:
 // out-of-line the cold part of the function
 void CreateColumnIfNotExistsImpl( const SCCOL nScCol );
 
-ScColumnData& GetColumnData( SCCOL nCol )
-{
-if( nCol >= aCol.size())
-return aDefaultColData;
-return aCol[nCol];
-}
+const ScColumnData& GetColumnData( SCCOL nCol ) const { return nCol < 
aCol.size() ? aCol[ nCol ] : aDefaultColData; }
+ScColumnData& GetColumnData( SCCOL nCol ) { return nCol < aCol.size() ? 
aCol[ nCol ] : aDefaultColData; }
 
 sal_uInt64  GetCellCount() const;
 sal_uInt64  GetWeightedCount() const;
@@ -1187,8 +1183,6 @@ public:
 
 std::set QueryColumnsWithFormulaCells() const;
 
-const ScColumnData& ColumnData( SCCOL nCol ) const { return nCol < 
aCol.size() ? aCol[ nCol ] : aDefaultColData; }
-
 void CheckIntegrity() const;
 
 void CollectBroadcasterState(sc::BroadcasterState& rState) const;
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 35c0d2caa8fd..6fd13c2e3885 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -1383,7 +1383,7 @@ void ScHorizontalAttrIterator::InitForNextRow(bool 
bInitialization)
 SCCOL nPos = i - nStartCol;
 if ( bInitialization || pNextEnd[nPos] < nRow )
 {
-const ScAttrArray& pArray = 
rDoc.maTabs[nTab]->ColumnData(i).AttrArray();
+const ScAttrArray& pArray = 
rDoc.maTabs[nTab]->GetColumnData(i).AttrArray();
 
 SCSIZE nIndex;
 if (bInitialization)
@@ -1579,7 +1579,7 @@ ScDocAttrIterator::ScDocAttrIterator(ScDocument& 
rDocument, SCTAB nTable,
 nCol( nCol1 )
 {
 if ( ValidTab(nTab) && nTab < rDoc.GetTableCount() && rDoc.maTabs[nTab] )
-pColIter = rDoc.maTabs[nTab]->ColumnData(nCol).CreateAttrIterator( 
nStartRow, nEndRow );
+pColIter = rDoc.maTabs[nTab]->GetColumnData(nCol).CreateAttrIterator( 
nStartRow, nEndRow );
 }
 
 ScDocAttrIterator::~ScDocAttrIterator()
@@ -1599,7 +1599,7 @@ const ScPatternAttr* ScDocAttrIterator::GetNext( SCCOL& 
rCol, SCROW& rRow1, SCRO
 
 ++nCol;
 if ( nCol <= nEndCol )
-pColIter = rDoc.maTabs[nTab]->ColumnData(nCol).CreateAttrIterator( 
nStartRow, nEndRow );
+pColIter = 
rDoc.maTabs[nTab]->GetColumnData(nCol).CreateAttrIterator( nStartRow, nEndRow );
 else
 pColIter.reset();
 }
@@ -1711,10 +1711,10 @@ ScAttrRectIterator::ScAttrRectIterator(ScDocument& 
rDocument, SCTAB nTable,
 {
 if ( ValidTab(nTab) && nTab < rDoc.GetTableCount() && rDoc.maTabs[nTab] )
 {
-pColIter = 
rDoc.maTabs[nTab]->ColumnData(nIterStartCol).CreateAttrIterator( nStartRow, 
nEndRow );
+pColIter = 
rDoc.maTabs[nTab]->GetColumnData(nIterStartCol).CreateAttrIterator( nStartRow, 
nEndRow );
 while ( nIterEndCol < nEndCol &&
-rDoc.maTabs[nTab]->ColumnData(nIterEndCol).IsAllAttrEqual(
-rDoc.maTabs[nTab]->ColumnData(nIterEndCol+1), nStartRow, 
nEndRow ) )
+rDoc.maTabs[nTab]->GetColumnData(nIterEndCol).IsAllAttrEqual(
+rDoc.maTabs[nTab]->GetColumnData(nIterEndCol+1), 
nStartRow, nEndRow ) )
 ++nIterEndCol;
 }
 }
@@ -1728,7 +1728,7 @@ void ScAttrRectIterator::DataChanged()
 if (pColIter)
 {
 SCROW nNextRow = pColIter->GetNextRow();
-pColIter = 
rDoc.maTabs[nTab]->ColumnData(nIterStartCol).CreateAttrIterator( nNextRow, 
nEndRow );
+pColIter = 
rDoc.maTabs[nTab]->GetColumnData(nIterStartCol).CreateAttrIterator( nNextRow, 
nEndRow );
 }
 }
 
@@ -1749,10 +1749,10 @@ const ScPatternAttr* ScAttrRectIterator::GetNext( 
SCCOL& rCol1, SCCOL& rCol2,
 if ( nIterStartCol <= nEndCol )
 {
 nIterEndCol = nIterStartCol;
-pColIter = 
rDoc.maTabs[nTab]->ColumnData(nIterStartCol).CreateAttrI

core.git: Changes to 'refs/tags/mimo-7.2.7.2.M15'

2023-12-10 Thread Aron Budea (via logerrit)
Tag 'mimo-7.2.7.2.M15' created by Aron Budea  at 
2023-12-11 00:17 +

mimo-7.2.7.2.M15

Changes since mimo-7.2.7.2.M14-7:
---
 0 files changed
---


core.git: Changes to 'refs/tags/7.2.7.2.M15'

2023-12-10 Thread Aron Budea (via logerrit)
Tag '7.2.7.2.M15' created by Aron Budea  at 
2023-12-11 00:14 +

7.2.7.2.M15

Changes since mimo-7.2.7.2.M14-7:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-7.1.8.1.M6'

2023-12-10 Thread Aron Budea (via logerrit)
Tag 'mimo-7.1.8.1.M6' created by Aron Budea  at 
2023-12-11 00:11 +

mimo-7.1.8.1.M6

Changes since mimo-7.1.8.1.M5-7:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-7.0.7.0.M14'

2023-12-10 Thread Aron Budea (via logerrit)
Tag 'mimo-7.0.7.0.M14' created by Aron Budea  at 
2023-12-11 00:09 +

mimo-7.0.7.0.M14

Changes since mimo-7.0.7.0.M13-7:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-6.4.7.2.M10'

2023-12-10 Thread Aron Budea (via logerrit)
Tag 'mimo-6.4.7.2.M10' created by Aron Budea  at 
2023-12-11 00:07 +

mimo-6.4.7.2.M10

Changes since mimo-6.4.7.2.M9-7:
---
 0 files changed
---


core.git: Changes to 'refs/tags/mimo-6.2.8.2.M13'

2023-12-10 Thread Aron Budea (via logerrit)
Tag 'mimo-6.2.8.2.M13' created by Aron Budea  at 
2023-12-11 00:02 +

mimo-6.2.8.2.M13

Changes since mimo-6.2.8.2.M12-7:
---
 0 files changed
---


dictionaries.git: Changes to 'refs/tags/co-22.05.21-1'

2023-12-10 Thread Aron Budea (via logerrit)
Tag 'co-22.05.21-1' created by Andras Timar  at 
2023-11-25 19:35 +

co-22.05.21-1

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


core.git: Branch 'distro/mimo/mimo-6-2' - sw/source

2023-12-09 Thread Aron Budea (via logerrit)
 sw/source/uibase/wrtsh/wrtsh2.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c971d1b920ef0cc7b25e0ec71c8d3824e220e3e0
Author: Aron Budea 
AuthorDate: Sun Dec 10 00:19:43 2023 +1030
Commit: Aron Budea 
CommitDate: Sun Dec 10 00:19:43 2023 +1030

build fix

Change-Id: I68d53a45cf59dac25c4b92ef4c232751f14f6684

diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx 
b/sw/source/uibase/wrtsh/wrtsh2.cxx
index 040830a27107..4c856efab95e 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -495,7 +495,7 @@ static void LoadURL(SwView& rView, const OUString& rURL, 
LoadUrlFlags nFilter,
 {
 // May be the relative link -> try to convert to absolute path
 OUString sParentPath =
-
rVSh.GetDoc()->GetDocShell()->GetMedium()->GetURLObject().GetPath();
+rView.GetDocShell()->GetMedium()->GetURLObject().GetPath();
 
 bool bCorrectURL = true;
 aURL = INetURLObject();


core.git: Branch 'distro/mimo/mimo-6-2' - configure.ac

2023-12-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a94c68a214691edf9b81bbf4edc096d3af133c13
Author: Aron Budea 
AuthorDate: Fri Dec 8 12:12:47 2023 +1030
Commit: Aron Budea 
CommitDate: Fri Dec 8 12:12:47 2023 +1030

Bump version to 6.2.8.2.M13

Change-Id: I1040187300dcb46191df3a9d5440c75c66b55c40

diff --git a/configure.ac b/configure.ac
index 58a49bbb2fe7..d71d2b3ad3c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[6.2.8.2.M12],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[6.2.8.2.M13],[],[],[http://documentfoundation.org/])
 
 AC_PREREQ([2.59])
 


core.git: Branch 'distro/mimo/mimo-6-4' - configure.ac

2023-12-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 37d0d1c981820a4bb9c2dd6dcff5395b65126cc1
Author: Aron Budea 
AuthorDate: Fri Dec 8 12:08:39 2023 +1030
Commit: Aron Budea 
CommitDate: Fri Dec 8 12:08:39 2023 +1030

Bump version to 6.4.7.2.M10

Change-Id: Iee2a59a1a2387c504512374da0c5b005afef10f8

diff --git a/configure.ac b/configure.ac
index 442de0bb7f8e..8eeb0760a846 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[6.4.7.2.M9],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[6.4.7.2.M10],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-0' - configure.ac

2023-12-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 58d782c16aee2779d6d85079bbfc9c3cd828a5f9
Author: Aron Budea 
AuthorDate: Fri Dec 8 12:06:18 2023 +1030
Commit: Aron Budea 
CommitDate: Fri Dec 8 12:06:18 2023 +1030

Bump version to 7.0.7.0.M14

Change-Id: Ibc8d81e161e68022077c191eb6567451cdc83221

diff --git a/configure.ac b/configure.ac
index 2b7cdabb2c49..d469483c2a1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.0.7.0.M13],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.0.7.0.M14],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-1' - configure.ac

2023-12-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 331830262512b2a0b5fd1e1b9feb3003c6df6113
Author: Aron Budea 
AuthorDate: Fri Dec 8 12:02:27 2023 +1030
Commit: Aron Budea 
CommitDate: Fri Dec 8 12:02:27 2023 +1030

Bump version to 7.1.8.1.M6

Change-Id: Id5a7b1ac9011a56e7bd41e00d05db9ac3e3f076c

diff --git a/configure.ac b/configure.ac
index 5d55d53f14d8..77405709ee0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.1.8.1.M5],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.1.8.1.M6],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


core.git: Branch 'distro/mimo/mimo-7-2' - configure.ac

2023-12-07 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fc8e705fc2a0b299dfcf33d21301a2a27cac5d04
Author: Aron Budea 
AuthorDate: Fri Dec 8 11:56:28 2023 +1030
Commit: Aron Budea 
CommitDate: Fri Dec 8 11:56:28 2023 +1030

Bump version to 7.2.7.2.M15

Change-Id: I176cd41c2f59c843371e0f46c1a9274908786b61

diff --git a/configure.ac b/configure.ac
index 10dd79660e42..fe45aab0dfe3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.2.7.2.M14],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.2.7.2.M15],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


[Libreoffice-commits] core.git: Changes to 'refs/tags/co-23.05.6-1'

2023-12-04 Thread Aron Budea (via logerrit)
Tag 'co-23.05.6-1' created by Andras Timar  at 
2023-12-04 22:17 +

co-23.05.6-1

Changes since cp-23.05.6-1-2:
---
 0 files changed
---


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

2023-12-04 Thread Aron Budea (via logerrit)
 sc/source/ui/docshell/docfunc.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5b4a705f7477da2b546d0658e46e96f4e69017e4
Author: Aron Budea 
AuthorDate: Sun Dec 3 19:33:28 2023 +1030
Commit: Caolán McNamara 
CommitDate: Mon Dec 4 21:36:55 2023 +0100

sc SetLayoutRTL: Only call PostPaint for current tab

...instead of the usual 0-, a layout change of the current
sheet should have no effect on others.

Change-Id: I5a9a2da78daf1fab06da939574c0e8a027533fcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160254
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Szymon Kłos 
Reviewed-by: Caolán McNamara 
(cherry picked from commit 67cdcf1ab2d2977fa79f9ecd7935ad8f3a8b4377)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160181
Tested-by: Jenkins

diff --git a/sc/source/ui/docshell/docfunc.cxx 
b/sc/source/ui/docshell/docfunc.cxx
index 7ad32d4963b9..1a8d902bea19 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -3485,7 +3485,7 @@ bool ScDocFunc::SetLayoutRTL( SCTAB nTab, bool bRTL )
 rDocShell.GetUndoManager()->AddUndoAction( 
std::make_unique( &rDocShell, nTab, bRTL ) );
 }
 
-rDocShell.PostPaint( 0,0,0,rDoc.MaxCol(),rDoc.MaxRow(),MAXTAB, 
PaintPartFlags::All );
+rDocShell.PostPaint( 0,0,nTab,rDoc.MaxCol(),rDoc.MaxRow(),nTab, 
PaintPartFlags::All );
 aModificator.SetDocumentModified();
 
 SfxBindings* pBindings = rDocShell.GetViewBindings();


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

2023-12-04 Thread Aron Budea (via logerrit)
 sc/source/ui/docshell/docsh3.cxx |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit c822a05625da33479527e11a80fe44d3d7b504c8
Author: Aron Budea 
AuthorDate: Sun Dec 3 19:22:17 2023 +1030
Commit: Caolán McNamara 
CommitDate: Mon Dec 4 21:28:46 2023 +0100

lok: Notify all tabs in the range

34d5abf464dfbf4bdc36f6b87e606c84a1f4d99d restricted this to the
first tab, but PostPaint(...) is sometimes called with a
0.. tab range, even if the change only affected somewhere
in between.

In addition, restrict range end to the last actual tab in the
spreadsheet.

Change-Id: I44a7bb351e17bf85b13fedfe2a9f3d76543c4372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160253
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Szymon Kłos 
Reviewed-by: Caolán McNamara 
(cherry picked from commit 4d30910523bccb3b965f254401e6341af2ee8704)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160182
Tested-by: Jenkins

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 788aac9af86e..96546d11a5fe 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -110,12 +110,13 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, 
PaintPartFlags nPart, sa
 {
 ScRangeList aPaintRanges;
 std::set aTabsInvalidated;
+const SCTAB nMaxTab = m_pDocument->GetTableCount() - 1;
 for (size_t i = 0, n = rRanges.size(); i < n; ++i)
 {
 const ScRange& rRange = rRanges[i];
 SCCOL nCol1 = rRange.aStart.Col(), nCol2 = rRange.aEnd.Col();
 SCROW nRow1 = rRange.aStart.Row(), nRow2 = rRange.aEnd.Row();
-SCTAB nTab1 = rRange.aStart.Tab(), nTab2 = rRange.aEnd.Tab();
+SCTAB nTab1 = rRange.aStart.Tab(), nTab2 = std::min(nMaxTab, 
rRange.aEnd.Tab());
 
 if (!m_pDocument->ValidCol(nCol1)) nCol1 = m_pDocument->MaxCol();
 if (!m_pDocument->ValidRow(nRow1)) nRow1 = m_pDocument->MaxRow();
@@ -168,7 +169,8 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, 
PaintPartFlags nPart, sa
 }
 }
 aPaintRanges.push_back(ScRange(nCol1, nRow1, nTab1, nCol2, nRow2, 
nTab2));
-aTabsInvalidated.insert(nTab1);
+for (auto nTabNum = nTab1; nTabNum <= nTab2; ++nTabNum)
+aTabsInvalidated.insert(nTabNum);
 }
 
 Broadcast(ScPaintHint(aPaintRanges.Combine(), nPart));


[Libreoffice-commits] core.git: Branch 'distro/collabora/co-23.05' - sc/source

2023-12-04 Thread Aron Budea (via logerrit)
 sc/source/ui/docshell/docfunc.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 67cdcf1ab2d2977fa79f9ecd7935ad8f3a8b4377
Author: Aron Budea 
AuthorDate: Sun Dec 3 19:33:28 2023 +1030
Commit: Caolán McNamara 
CommitDate: Mon Dec 4 20:11:49 2023 +0100

sc SetLayoutRTL: Only call PostPaint for current tab

...instead of the usual 0-, a layout change of the current
sheet should have no effect on others.

Change-Id: I5a9a2da78daf1fab06da939574c0e8a027533fcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160254
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Szymon Kłos 
Reviewed-by: Caolán McNamara 

diff --git a/sc/source/ui/docshell/docfunc.cxx 
b/sc/source/ui/docshell/docfunc.cxx
index be844634ea25..12ff9a0f9908 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -3485,7 +3485,7 @@ bool ScDocFunc::SetLayoutRTL( SCTAB nTab, bool bRTL )
 rDocShell.GetUndoManager()->AddUndoAction( 
std::make_unique( &rDocShell, nTab, bRTL ) );
 }
 
-rDocShell.PostPaint( 0,0,0,rDoc.MaxCol(),rDoc.MaxRow(),MAXTAB, 
PaintPartFlags::All );
+rDocShell.PostPaint( 0,0,nTab,rDoc.MaxCol(),rDoc.MaxRow(),nTab, 
PaintPartFlags::All );
 aModificator.SetDocumentModified();
 
 SfxBindings* pBindings = rDocShell.GetViewBindings();


[Libreoffice-commits] core.git: Branch 'distro/collabora/co-23.05' - sc/source

2023-12-04 Thread Aron Budea (via logerrit)
 sc/source/ui/docshell/docsh3.cxx |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 4d30910523bccb3b965f254401e6341af2ee8704
Author: Aron Budea 
AuthorDate: Sun Dec 3 19:22:17 2023 +1030
Commit: Caolán McNamara 
CommitDate: Mon Dec 4 20:09:29 2023 +0100

lok: Notify all tabs in the range

34d5abf464dfbf4bdc36f6b87e606c84a1f4d99d restricted this to the
first tab, but PostPaint(...) is sometimes called with a
0.. tab range, even if the change only affected somewhere
in between.

In addition, restrict range end to the last actual tab in the
spreadsheet.

Change-Id: I44a7bb351e17bf85b13fedfe2a9f3d76543c4372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160253
Tested-by: Jenkins CollaboraOffice 
Reviewed-by: Szymon Kłos 
Reviewed-by: Caolán McNamara 

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 8b24cf81d727..0e2efa7f09fc 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -110,12 +110,13 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, 
PaintPartFlags nPart, sa
 {
 ScRangeList aPaintRanges;
 std::set aTabsInvalidated;
+const SCTAB nMaxTab = m_pDocument->GetTableCount() - 1;
 for (size_t i = 0, n = rRanges.size(); i < n; ++i)
 {
 const ScRange& rRange = rRanges[i];
 SCCOL nCol1 = rRange.aStart.Col(), nCol2 = rRange.aEnd.Col();
 SCROW nRow1 = rRange.aStart.Row(), nRow2 = rRange.aEnd.Row();
-SCTAB nTab1 = rRange.aStart.Tab(), nTab2 = rRange.aEnd.Tab();
+SCTAB nTab1 = rRange.aStart.Tab(), nTab2 = std::min(nMaxTab, 
rRange.aEnd.Tab());
 
 if (!m_pDocument->ValidCol(nCol1)) nCol1 = m_pDocument->MaxCol();
 if (!m_pDocument->ValidRow(nRow1)) nRow1 = m_pDocument->MaxRow();
@@ -168,7 +169,8 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, 
PaintPartFlags nPart, sa
 }
 }
 aPaintRanges.push_back(ScRange(nCol1, nRow1, nTab1, nCol2, nRow2, 
nTab2));
-aTabsInvalidated.insert(nTab1);
+for (auto nTabNum = nTab1; nTabNum <= nTab2; ++nTabNum)
+aTabsInvalidated.insert(nTabNum);
 }
 
 Broadcast(ScPaintHint(aPaintRanges.Combine(), nPart));


[Libreoffice-commits] dictionaries.git: Changes to 'refs/tags/cp-22.05.20-1'

2023-10-27 Thread Aron Budea (via logerrit)
Tag 'cp-22.05.20-1' created by Andras Timar  at 
2023-10-27 14:27 +

cp-22.05.20-1

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


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

2023-10-13 Thread Aron Budea (via logerrit)
 basic/source/runtime/methods.cxx |   14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

New commits:
commit c4c017d1b8fe30d1ef452782eef71371282deb37
Author: Aron Budea 
AuthorDate: Sat Jul 29 02:16:58 2023 +0200
Commit: Mike Kaganski 
CommitDate: Fri Oct 13 17:04:16 2023 +0200

tdf#147132  tdf#154285 Flatten and check param count of IsMissing fn

Change-Id: I17d79dcedf2b2e1cd45ef2eb82ff5e89a9bb2b46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155028
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 2e84e964d0be..ad3b638805a2 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2433,15 +2433,11 @@ void SbRtl_IsNumeric(StarBASIC *, SbxArray & rPar, bool)
 
 void SbRtl_IsMissing(StarBASIC *, SbxArray & rPar, bool)
 {
-if (rPar.Count() < 2)
-{
-StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
-}
-else
-{
-// #57915 Missing is reported by an error
-rPar.Get(0)->PutBool(rPar.Get(1)->IsErr());
-}
+if (rPar.Count() != 2)
+return StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
+
+// #57915 Missing is reported by an error
+rPar.Get(0)->PutBool(rPar.Get(1)->IsErr());
 }
 
 // Function looks for wildcards, removes them and always returns the pure path


[Libreoffice-commits] core.git: Changes to 'refs/tags/mimo-7.3.7.2.M7'

2023-10-12 Thread Aron Budea (via logerrit)
Tag 'mimo-7.3.7.2.M7' created by Aron Budea  at 
2023-10-13 06:58 +

mimo-7.3.7.2.M7

Changes since mimo-7.3.7.2.M6-1:
---
 0 files changed
---


[Libreoffice-commits] core.git: Branch 'distro/mimo/mimo-7-3' - configure.ac

2023-10-09 Thread Aron Budea (via logerrit)
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8225348de49dbc3598704a93069a7d016ec96901
Author: Aron Budea 
AuthorDate: Tue Oct 10 03:39:11 2023 +0200
Commit: Aron Budea 
CommitDate: Tue Oct 10 03:39:11 2023 +0200

Bump version to 7.3.7.2.M7

Change-Id: I6854af292c86fbe56ca9be6cae0e8fe229b837ba

diff --git a/configure.ac b/configure.ac
index 78f7cc94f264..b36d57c11a58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[7.3.7.2.M6],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[7.3.7.2.M7],[],[],[http://documentfoundation.org/])
 
 dnl libnumbertext needs autoconf 2.68, but that can pick up autoconf268 just 
fine if it is installed
 dnl whereas aclocal (as run by autogen.sh) insists on using autoconf and fails 
hard


[Libreoffice-commits] core.git: Branch 'libreoffice-7-5' - vcl/unx

2023-09-26 Thread Aron Budea (via logerrit)
 vcl/unx/generic/gdi/cairotextrender.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d4abf34d4e63a5df302ecd1ce005bef68a0c78d1
Author: Aron Budea 
AuthorDate: Tue Sep 26 00:09:52 2023 +0200
Commit: Caolán McNamara 
CommitDate: Tue Sep 26 11:44:17 2023 +0200

tdf#152675 treat all cairo versions <= 1.17.8 the same (actually)

Use correct condition.

Follow-up to 1dd357ccf7ca9edbe5f2ef60465c2559f678d306.

Change-Id: Icc2d04c0023b0a6595ece89d389919f3821aacbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157260
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 
(cherry picked from commit 5b52a7c3154f5263db82f19f7cc7d0e7b32da603)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157220

diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx 
b/vcl/unx/generic/gdi/cairotextrender.cxx
index 9c8b3b6563de..7459b17935fc 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -321,7 +321,7 @@ void CairoTextRender::DrawTextLayout(const 
GenericSalLayout& rLayout, const SalG
 // See: https://gitlab.freedesktop.org/cairo/cairo/-/issues/643
 // b) tdf#152675 a similar report for cairo: 1.16.0-4ubuntu1,
 // assume that everything <= 1.17.8 is unsafe to disable this
-if (cairo_version() <= CAIRO_VERSION_ENCODE(1, 17, 8))
+if (cairo_version() > CAIRO_VERSION_ENCODE(1, 17, 8))
 cairo_font_options_set_hint_metrics(pOptions, 
CAIRO_HINT_METRICS_OFF);
 }
 cairo_set_font_options(cr, pOptions);


[Libreoffice-commits] core.git: Branch 'libreoffice-7-6' - vcl/unx

2023-09-26 Thread Aron Budea (via logerrit)
 vcl/unx/generic/gdi/cairotextrender.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cdb098171a67f4859d2e97cb001528c97de74a76
Author: Aron Budea 
AuthorDate: Tue Sep 26 00:09:52 2023 +0200
Commit: Xisco Fauli 
CommitDate: Tue Sep 26 10:22:32 2023 +0200

tdf#152675 treat all cairo versions <= 1.17.8 the same (actually)

Use correct condition.

Follow-up to 1dd357ccf7ca9edbe5f2ef60465c2559f678d306.

Change-Id: Icc2d04c0023b0a6595ece89d389919f3821aacbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157260
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 
(cherry picked from commit 5b52a7c3154f5263db82f19f7cc7d0e7b32da603)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157219
Reviewed-by: Xisco Fauli 

diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx 
b/vcl/unx/generic/gdi/cairotextrender.cxx
index 719b5085fcc5..f0ab33c15f5d 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -443,7 +443,7 @@ void CairoTextRender::DrawTextLayout(const 
GenericSalLayout& rLayout, const SalG
 // See: https://gitlab.freedesktop.org/cairo/cairo/-/issues/643
 // b) tdf#152675 a similar report for cairo: 1.16.0-4ubuntu1,
 // assume that everything <= 1.17.8 is unsafe to disable this
-if (cairo_version() <= CAIRO_VERSION_ENCODE(1, 17, 8))
+if (cairo_version() > CAIRO_VERSION_ENCODE(1, 17, 8))
 cairo_font_options_set_hint_metrics(pOptions, 
CAIRO_HINT_METRICS_OFF);
 }
 cairo_set_font_options(cr, pOptions);


[Libreoffice-commits] core.git: vcl/unx

2023-09-26 Thread Aron Budea (via logerrit)
 vcl/unx/generic/gdi/cairotextrender.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5b52a7c3154f5263db82f19f7cc7d0e7b32da603
Author: Aron Budea 
AuthorDate: Tue Sep 26 00:09:52 2023 +0200
Commit: Caolán McNamara 
CommitDate: Tue Sep 26 09:31:21 2023 +0200

tdf#152675 treat all cairo versions <= 1.17.8 the same (actually)

Use correct condition.

Follow-up to 1dd357ccf7ca9edbe5f2ef60465c2559f678d306.

Change-Id: Icc2d04c0023b0a6595ece89d389919f3821aacbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157260
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 

diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx 
b/vcl/unx/generic/gdi/cairotextrender.cxx
index 2394c33b0c82..9b998066954b 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -445,7 +445,7 @@ void CairoTextRender::DrawTextLayout(const 
GenericSalLayout& rLayout, const SalG
 // See: https://gitlab.freedesktop.org/cairo/cairo/-/issues/643
 // b) tdf#152675 a similar report for cairo: 1.16.0-4ubuntu1,
 // assume that everything <= 1.17.8 is unsafe to disable this
-if (cairo_version() <= CAIRO_VERSION_ENCODE(1, 17, 8))
+if (cairo_version() > CAIRO_VERSION_ENCODE(1, 17, 8))
 cairo_font_options_set_hint_metrics(pOptions, 
CAIRO_HINT_METRICS_OFF);
 }
 cairo_set_font_options(cr, pOptions);


[Libreoffice-commits] dictionaries.git: Changes to 'refs/tags/cp-22.05.19-1'

2023-09-19 Thread Aron Budea (via logerrit)
Tag 'cp-22.05.19-1' created by Andras Timar  at 
2023-09-19 13:11 +

cp-22.05.19-1

Changes since cp-22.05.5-2:
Aron Budea (1):
  Add Persian (fa-IR) dictionary

---
 Dictionary_fa.mk  |   21 
 Module_dictionaries.mk|1 
 fa_IR/LICENSE |   15 
 fa_IR/META-INF/manifest.xml   |6 
 fa_IR/README_fa_IR.txt|   26 
 fa_IR/description.xml |   22 
 fa_IR/dictionaries.xcu|   19 
 fa_IR/fa-IR.aff   |  217 
 fa_IR/fa-IR.dic   |104025 
++
 fa_IR/icon.png|binary
 fa_IR/package-description.txt |4 
 11 files changed, 104356 insertions(+)
---


  1   2   3   4   >