[Libreoffice-commits] core.git: include/toolkit toolkit/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 28 02:32:31 UTC 2018
include/toolkit/controls/unocontrol.hxx | 2 +-
toolkit/source/controls/unocontrol.cxx | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit f7a065f8cb3270a3fae382325e87dbec5e9a16fa
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Sep 26 18:06:14 2018 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Sep 28 04:32:09 2018 +0200
Fix mbRefeshingPeer -> mbRefreshingPeer
It passed "make check" on Linux.
Change-Id: Ia28f23b78b467fc70431fa4a7ed41ae2f3a4c5fd
Reviewed-on: https://gerrit.libreoffice.org/61046
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Jenkins
diff --git a/include/toolkit/controls/unocontrol.hxx b/include/toolkit/controls/unocontrol.hxx
index 29dd824f88bc..7bc020140686 100644
--- a/include/toolkit/controls/unocontrol.hxx
+++ b/include/toolkit/controls/unocontrol.hxx
@@ -103,7 +103,7 @@ protected:
maAccessibleContext; /// our most recent XAccessibleContext instance
bool mbDisposePeer;
- bool mbRefeshingPeer;
+ bool mbRefreshingPeer;
bool mbCreatingPeer;
bool mbCreatingCompatiblePeer;
bool mbDesignMode;
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 9432f67b78ec..28dac1716889 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -140,7 +140,7 @@ UnoControl::UnoControl() :
, mpData( new UnoControl_Data )
{
mbDisposePeer = true;
- mbRefeshingPeer = false;
+ mbRefreshingPeer = false;
mbCreatingPeer = false;
mbCreatingCompatiblePeer = false;
mbDesignMode = false;
@@ -499,7 +499,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
}
sal_uInt16 nPType = GetPropertyId( pEvents->PropertyName );
- if ( mbDesignMode && mbDisposePeer && !mbRefeshingPeer && !mbCreatingPeer )
+ if ( mbDesignMode && mbDisposePeer && !mbRefreshingPeer && !mbCreatingPeer )
{
// if we're in design mode, then some properties can change which
// require creating a *new* peer (since these properties cannot
@@ -620,10 +620,10 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
getPeer()->dispose();
mxPeer.clear();
mxVclWindowPeer = nullptr;
- mbRefeshingPeer = true;
+ mbRefreshingPeer = true;
Reference< XWindowPeer > xP( xParent, UNO_QUERY );
xThis->createPeer( Reference< XToolkit > (), xP );
- mbRefeshingPeer = false;
+ mbRefreshingPeer = false;
aPeerPropertiesToSet.clear();
}
More information about the Libreoffice-commits
mailing list