[Libreoffice-commits] .: 3 commits - sc/source sdext/source

David Tardon dtardon at kemper.freedesktop.org
Wed Apr 18 00:49:24 PDT 2012


 sc/source/core/data/table6.cxx                    |    4 ++--
 sdext/source/minimizer/pppoptimizeruno.cxx        |    2 +-
 sdext/source/presenter/PresenterAccessibility.cxx |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ea1cd1a10cc2d2bbf4f82aeca689fe81a3b79856
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Apr 18 09:44:19 2012 +0200

    fdo#44861 make "Replace All" work with REs

diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index 45bf02e..f4dc35e 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -202,13 +202,13 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo
                     else if (bDoBack)
                     {
                         xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp;
-                        bRepeat = ((bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd)));
+                        bRepeat = ((bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd, &aSearchResult)));
                         // change results to definition before 614:
                         --nEnd;
                     }
                     else
                     {
-                        bRepeat = ((bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd)));
+                        bRepeat = ((bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd, &aSearchResult)));
                         // change results to definition before 614:
                         --nEnd;
                     }
commit 23d3532f9d7e60eca70930a7c2321192812c0c80
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Apr 17 14:58:53 2012 +0200

    fix presentation minimizer registration

diff --git a/sdext/source/minimizer/pppoptimizeruno.cxx b/sdext/source/minimizer/pppoptimizeruno.cxx
index cc3fd35..c95e828 100644
--- a/sdext/source/minimizer/pppoptimizeruno.cxx
+++ b/sdext/source/minimizer/pppoptimizeruno.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::registry;
 
 extern "C"
 {
-    sal_Bool SAL_CALL component_writeInfo(
+    SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
         SAL_UNUSED_PARAMETER void* /*pServiceManager*/, void* pRegistryKey )
     {
         if (pRegistryKey)
commit 0ac093f3445dbf58907d8a9f9b7a2dfc07d306ef
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Apr 17 10:43:26 2012 +0200

    mpAccessibleConsole is not a child of itself .-)

diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index ff90539..522e4b8 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -688,7 +688,7 @@ void PresenterAccessible::UpdateAccessibilityHierarchy (
     {
         if (mpAccessibleNotes.is())
         {
-            mpAccessibleConsole->RemoveChild(mpAccessibleConsole.get());
+            mpAccessibleConsole->RemoveChild(mpAccessibleNotes);
             mpAccessibleNotes = NULL;
         }
 


More information about the Libreoffice-commits mailing list