[Libreoffice-commits] core.git: include/framework

2022-07-23 Thread Andrea Gelmini (via logerrit)
 0 files changed

New commits:
commit 4827d5cb1508f6bca9489e31b877cfff36393c50
Author: Andrea Gelmini 
AuthorDate: Sat Jul 23 00:05:52 2022 +0200
Commit: Julien Nabet 
CommitDate: Sat Jul 23 17:53:38 2022 +0200

Removed executable bits from source file

Change-Id: I0f36bec337e6167668a0fccd48b5a047327a9215
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137374
Tested-by: Jenkins
Reviewed-by: Julien Nabet 

diff --git a/include/framework/interaction.hxx 
b/include/framework/interaction.hxx
old mode 100755
new mode 100644


[Libreoffice-commits] core.git: include/framework

2022-07-22 Thread PoonamShokeen (via logerrit)
 include/framework/interaction.hxx |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 053f470316b89b6fcea1fac69e6bffd4f65f91ee
Author: PoonamShokeen 
AuthorDate: Wed Jul 20 22:25:14 2022 -0500
Commit: Ilmari Lauhakangas 
CommitDate: Fri Jul 22 19:53:13 2022 +0200

tdf#143148 Use pragma once instead of include guards

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

diff --git a/include/framework/interaction.hxx 
b/include/framework/interaction.hxx
old mode 100644
new mode 100755
index 4700d19200c9..33647e241b89
--- a/include/framework/interaction.hxx
+++ b/include/framework/interaction.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_FRAMEWORK_INTERACTION_HXX
-#define INCLUDED_FRAMEWORK_INTERACTION_HXX
+#pragma once
 
 #include 
 #include 
@@ -100,6 +99,4 @@ public:
 
 } //  namespace framework
 
-#endif // #define INCLUDED_FRAMEWORK_INTERACTION_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


[Libreoffice-commits] core.git: include/framework

2022-05-14 Thread Noel Grandin (via logerrit)
 include/framework/gate.hxx |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 06900403843e4afa413d0ca4e2ea6be761ac668a
Author: Noel Grandin 
AuthorDate: Fri May 13 11:08:33 2022 +0200
Commit: Noel Grandin 
CommitDate: Sat May 14 12:37:28 2022 +0200

osl::Mutex->std::mutex in framework::Gate

Change-Id: I72f0ed62a65dbd487a29f409d1941a50cecb894f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134301
Tested-by: Jenkins
Reviewed-by: Noel Grandin 

diff --git a/include/framework/gate.hxx b/include/framework/gate.hxx
index d4e7f3588523..ab9f81c24b2a 100644
--- a/include/framework/gate.hxx
+++ b/include/framework/gate.hxx
@@ -19,7 +19,7 @@
 
 #pragma once
 
-#include 
+#include 
 #include 
 
 namespace framework{
@@ -81,7 +81,7 @@ class Gate
 void open()
 {
 // We must safe access to our internal member!
-::osl::MutexGuard aLock( m_aAccessLock );
+std::unique_lock aLock( m_aAccessLock );
 // Set condition -> wait don't block any longer -> gate is open
 m_aPassage.set();
 // Check if operation was successful!
@@ -98,7 +98,7 @@ class Gate
 void close()
 {
 // We must safe access to our internal member!
-::osl::MutexGuard aLock( m_aAccessLock );
+std::unique_lock aLock( m_aAccessLock );
 // Reset condition -> wait blocks now -> gate is closed
 m_aPassage.reset();
 // Check if operation was successful!
@@ -118,14 +118,14 @@ class Gate
 void wait()
 {
 // We must safe access to our internal member!
-::osl::ClearableMutexGuard aLock( m_aAccessLock );
+std::unique_lock aLock( m_aAccessLock );
 // If gate not closed - caller can pass it.
 if( m_bClosed )
 {
 // Then we must release used access lock -
 // because next call will block...
 // and if we hold the access lock nobody else can use this 
object without a deadlock!
-aLock.clear();
+aLock.unlock();
 // Wait for opening gate...
 m_aPassage.wait();
 }
@@ -135,7 +135,7 @@ class Gate
 
 private:
 
-::osl::Mutexm_aAccessLock;
+std::mutex  m_aAccessLock;
 ::osl::Conditionm_aPassage;
 boolm_bClosed;
 


[Libreoffice-commits] core.git: include/framework include/rtl include/svx include/xmloff

2019-08-20 Thread Andrea Gelmini (via logerrit)
 include/framework/menuconfiguration.hxx |2 +-
 include/rtl/ustring.h   |2 +-
 include/svx/svdlayer.hxx|2 +-
 include/svx/svdsob.hxx  |2 +-
 include/xmloff/unointerfacetouniqueidentifiermapper.hxx |2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit d44d5af546e52679ee85103329f2a2fdc1cf01be
Author: Andrea Gelmini 
AuthorDate: Mon Aug 19 21:44:40 2019 +0200
Commit: Julien Nabet 
CommitDate: Tue Aug 20 09:06:03 2019 +0200

Fix typos

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

diff --git a/include/framework/menuconfiguration.hxx 
b/include/framework/menuconfiguration.hxx
index 191b0e723713..b1a49249061b 100644
--- a/include/framework/menuconfiguration.hxx
+++ b/include/framework/menuconfiguration.hxx
@@ -82,7 +82,7 @@ class FWE_DLLPUBLIC MenuConfiguration final
 {
 public:
 MenuConfiguration(
-// use const when giving a uno reference by reference
+// use const when giving a UNO reference by reference
 const css::uno::Reference< css::uno::XComponentContext >& 
rxContext );
 
 ~MenuConfiguration();
diff --git a/include/rtl/ustring.h b/include/rtl/ustring.h
index cd6f75e889db..90aff10dd169 100644
--- a/include/rtl/ustring.h
+++ b/include/rtl/ustring.h
@@ -1485,7 +1485,7 @@ SAL_DLLPUBLIC void SAL_CALL rtl_uString_newConcatUtf16L(
 
 The new string results from replacing a number of characters (count),
 starting at the specified position (index) in the original string (str),
-with some new substring (subStr).  If subStr is null, than only a number
+with some new substring (subStr).  If subStr is null, then only a number
 of characters is deleted.
 
 The new string does not necessarily have a reference count of 1, so it
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx
index eb8e3672aa5c..2289efb32975 100644
--- a/include/svx/svdlayer.hxx
+++ b/include/svx/svdlayer.hxx
@@ -157,7 +157,7 @@ public:
 void   getLockedLayersODF( SdrLayerIDSet& rOutSet) const;
 
 // Generates a bitfield for settings.xml from the SdrLayerIDSet.
-// Output is a uno sequence of BYTE (which is 'short' in API).
+// Output is a UNO sequence of BYTE (which is 'short' in API).
 void   QueryValue(const SdrLayerIDSet& rViewLayerSet, 
css::uno::Any& rAny);
 };
 
diff --git a/include/svx/svdsob.hxx b/include/svx/svdsob.hxx
index 3d3f8c03488d..e67c467cae38 100644
--- a/include/svx/svdsob.hxx
+++ b/include/svx/svdsob.hxx
@@ -82,7 +82,7 @@ public:
 
 void operator&=(const SdrLayerIDSet& r2ndSet);
 
-// initialize this set with a uno sequence of sal_Int8 (e.g. as stored in 
settings.xml)
+// initialize this set with a UNO sequence of sal_Int8 (e.g. as stored in 
settings.xml)
 void PutValue(const css::uno::Any & rAny);
 
 };
diff --git a/include/xmloff/unointerfacetouniqueidentifiermapper.hxx 
b/include/xmloff/unointerfacetouniqueidentifiermapper.hxx
index 6489feedd717..a78713f85d13 100644
--- a/include/xmloff/unointerfacetouniqueidentifiermapper.hxx
+++ b/include/xmloff/unointerfacetouniqueidentifiermapper.hxx
@@ -38,7 +38,7 @@ class XMLOFF_DLLPUBLIC UnoInterfaceToUniqueIdentifierMapper
 public:
 UnoInterfaceToUniqueIdentifierMapper();
 
-/** returns a unique identifier for the given uno object. IF a uno object 
is
+/** returns a unique identifier for the given uno object. If a UNO object 
is
 registered more than once, the returned identifier is always the same.
 */
 const OUString& registerReference( const css::uno::Reference< 
css::uno::XInterface >& rInterface );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

[Libreoffice-commits] core.git: include/framework

2019-07-10 Thread Andrea Gelmini (via logerrit)
 include/framework/addonsoptions.hxx |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2933ce563f89d4b6cec364b981bb2f1d0642a3bd
Author: Andrea Gelmini 
AuthorDate: Mon Jul 8 10:44:35 2019 +
Commit: Julien Nabet 
CommitDate: Wed Jul 10 11:02:45 2019 +0200

Fix typo

Change-Id: I255a193b2abc3570e05dc13eeb7fe304bf7ca5d8
Reviewed-on: https://gerrit.libreoffice.org/75323
Reviewed-by: Julien Nabet 
Tested-by: Julien Nabet 

diff --git a/include/framework/addonsoptions.hxx 
b/include/framework/addonsoptions.hxx
index b4d46e722d80..8a96f25970b7 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -101,7 +101,7 @@ class FWE_DLLPUBLIC AddonsOptions
 
 
/*-
 @short  returns if an addons menu is available
-@descr  Call to retrieve if a addons menu is available
+@descr  Call to retrieve if an addons menu is available
 
 @return true if there is a menu otherwise false
 
*//*-*/
@@ -137,7 +137,7 @@ class FWE_DLLPUBLIC AddonsOptions
 const css::uno::Sequence< css::uno::Sequence< 
css::beans::PropertyValue > >& GetAddonsMenuBarPart() const;
 
 
/*-
-@short  Gets a toolbar part of an single addon
+@short  Gets a toolbar part of a single addon
 @return A complete
 
 @onerrorWe return sal_False
@@ -146,7 +146,7 @@ class FWE_DLLPUBLIC AddonsOptions
 const css::uno::Sequence< css::uno::Sequence< 
css::beans::PropertyValue > >& GetAddonsToolBarPart( sal_uInt32 nIndex ) const;
 
 
/*-
-@short  Gets a unique toolbar resource name of an single addon
+@short  Gets a unique toolbar resource name of a single addon
 @return A complete
 
 @onerrorWe return sal_False
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

[Libreoffice-commits] core.git: include/framework

2019-07-10 Thread Andrea Gelmini (via logerrit)
 include/framework/actiontriggerhelper.hxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0295c2f027cd64d5440b5a29f4e64c25290636f4
Author: Andrea Gelmini 
AuthorDate: Mon Jul 8 10:44:36 2019 +
Commit: Julien Nabet 
CommitDate: Wed Jul 10 11:01:07 2019 +0200

Fix typo

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

diff --git a/include/framework/actiontriggerhelper.hxx 
b/include/framework/actiontriggerhelper.hxx
index 0fc57af8f4b1..9060fdc3b874 100644
--- a/include/framework/actiontriggerhelper.hxx
+++ b/include/framework/actiontriggerhelper.hxx
@@ -43,7 +43,7 @@ namespace framework
 
 // Creates a "css::ui::ActionTriggerContainer" with the structure 
of the menu
 // provided as a parameter. The implementation class stores the 
menu pointer
-// to optimize the time of creation of a menu from a actiontrigger 
structure.
+// to optimize the time of creation of a menu from an 
actiontrigger structure.
 // IMPORTANT: The caller must ensure that the menu pointer is 
valid through the
 //life time of the XIndexContainer object!!!
 // @param pNewMenu = Must be a valid menu. Please be aware that 
this implementation is based on
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

[Libreoffice-commits] core.git: include/framework

2019-07-10 Thread Andrea Gelmini (via logerrit)
 include/framework/dispatchhelper.hxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 67144e386510eb06c452a84c798d725080ed310d
Author: Andrea Gelmini 
AuthorDate: Mon Jul 8 10:44:34 2019 +
Commit: Julien Nabet 
CommitDate: Wed Jul 10 10:58:00 2019 +0200

Fix typo

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

diff --git a/include/framework/dispatchhelper.hxx 
b/include/framework/dispatchhelper.hxx
index cdec89ea3791..b2f1939a439d 100644
--- a/include/framework/dispatchhelper.hxx
+++ b/include/framework/dispatchhelper.hxx
@@ -46,7 +46,7 @@ namespace framework
 {
 /**
 @short  implements an easy way for dispatches
-@descr  Dispatches are splitted into different parts:
+@descr  Dispatches are split into different parts:
 - parsing of the URL
 - searching for a dispatch object
 - dispatching of the URL
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

[Libreoffice-commits] core.git: include/framework

2019-02-26 Thread Libreoffice Gerrit user
 include/framework/addonsoptions.hxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f2e1b418a7fe0fca371ccd48988391864d1b8c5e
Author: Stephan Bergmann 
AuthorDate: Tue Feb 26 10:59:27 2019 +0100
Commit: Stephan Bergmann 
CommitDate: Tue Feb 26 14:34:15 2019 +0100

PropertyValue needs to be a complete type here (Windows, --disable-pch)

...when implicit special member functions are defined for FWE_DLLPUBLIC
MergeMenuInstruction etc.

Change-Id: Ida796edaea73cf2c918feee1ee961e2065f25ee8
Reviewed-on: https://gerrit.libreoffice.org/68376
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann 

diff --git a/include/framework/addonsoptions.hxx 
b/include/framework/addonsoptions.hxx
index 66c5fca79c09..b4d46e722d80 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -21,11 +21,11 @@
 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
 
-namespace com::sun::star::beans { struct PropertyValue; }
 namespace osl { class Mutex; }
 
 
/*-
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

[Libreoffice-commits] core.git: include/framework include/svtools include/unotools sdext/source sd/source svx/inc svx/source sw/source UnoControls/source

2018-02-01 Thread Andrea Gelmini
 UnoControls/source/base/basecontrol.cxx   |2 +-
 UnoControls/source/controls/statusindicator.cxx   |   10 +-
 include/framework/addonsoptions.hxx   |2 +-
 include/svtools/menuoptions.hxx   |2 +-
 include/svtools/miscopt.hxx   |2 +-
 include/svtools/slidesorterbaropt.hxx |2 +-
 include/unotools/cmdoptions.hxx   |2 +-
 include/unotools/compatibility.hxx|2 +-
 include/unotools/dynamicmenuoptions.hxx   |2 +-
 include/unotools/extendedsecurityoptions.hxx  |2 +-
 include/unotools/securityoptions.hxx  |2 +-
 sd/source/ui/dlg/tpoption.cxx |2 +-
 sdext/source/presenter/PresenterWindowManager.cxx |8 
 svx/inc/sdr/overlay/overlaytools.hxx  |2 +-
 svx/source/dialog/docrecovery.cxx |4 ++--
 svx/source/gengal/gengal.cxx  |2 +-
 svx/source/svdraw/svdorect.cxx|2 +-
 svx/source/unodraw/unoshtxt.cxx   |4 ++--
 sw/source/uibase/inc/cfgitems.hxx |2 +-
 19 files changed, 28 insertions(+), 28 deletions(-)

New commits:
commit 01c43770b75fd4e48b2cda230feda37154f75bdd
Author: Andrea Gelmini 
Date:   Wed Jan 31 21:33:20 2018 +0100

Fix typos

Change-Id: I455efa82de60b764a500e1cc092ae08e800ec824
Reviewed-on: https://gerrit.libreoffice.org/49068
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 

diff --git a/UnoControls/source/base/basecontrol.cxx 
b/UnoControls/source/base/basecontrol.cxx
index 71e14d93ada5..24e62711b6ce 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -704,7 +704,7 @@ void SAL_CALL BaseControl::windowHidden( const EventObject& 
/*aEvent*/ )
 WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< 
XWindowPeer >& xParentPeer )
 {
 // - used from "createPeer()" to set the values of an 
css::awt::WindowDescriptor !!!
-// - if you will change the descriptor-values, you must override this 
virtuell function
+// - if you will change the descriptor-values, you must override this 
virtual function
 // - the caller must release the memory for this dynamical descriptor !!!
 
 WindowDescriptor* pDescriptor = new WindowDescriptor;
diff --git a/UnoControls/source/controls/statusindicator.cxx 
b/UnoControls/source/controls/statusindicator.cxx
index 4282169918a0..e678a2ff9ad2 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -301,7 +301,7 @@ void SAL_CALL StatusIndicator::dispose ()
 removeControl( xTextControl );
 removeControl( m_xProgressBar.get() );
 
-// do'nt use "...->clear ()" or "... = XFixedText ()"
+// don't use "...->clear ()" or "... = XFixedText ()"
 // when other hold a reference at this object !!!
 xTextControl->dispose();
 m_xProgressBar->dispose();
@@ -356,8 +356,8 @@ const OUString 
StatusIndicator::impl_getStaticImplementationName()
 WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const 
css::uno::Reference< XWindowPeer >& xParentPeer )
 {
 // - used from "createPeer()" to set the values of an 
css::awt::WindowDescriptor !!!
-// - if you will change the descriptor-values, you must override this 
virtuell function
-// - the caller must release the memory for this dynamical descriptor !!!
+// - if you will change the descriptor-values, you must override this 
virtual function
+// - the caller must release the memory for this dynamical descriptor!!!
 
 WindowDescriptor* pDescriptor = new WindowDescriptor;
 
@@ -374,8 +374,8 @@ WindowDescriptor* 
StatusIndicator::impl_getWindowDescriptor( const css::uno::Ref
 
 void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const 
css::uno::Reference< XGraphics > & rGraphics )
 {
-// This paint method is not buffered !!
-// Every request paint the completely control. ( but only, if peer exist )
+// This paint method is not buffered!
+// Every request paint the completely control. (But only, if peer exist)
  if ( rGraphics.is () )
 {
 MutexGuard  aGuard (m_aMutex);
diff --git a/include/framework/addonsoptions.hxx 
b/include/framework/addonsoptions.hxx
index 873315da46c0..68050cb9f611 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -199,7 +199,7 @@ class FWE_DLLPUBLIC AddonsOptions
 
/*-
 @short  return a reference to a static mutex
 @descr  These class is partially threadsafe (for 
de-/initialization only).
-All access methods are'nt safe!
+All access methods aren't safe!
 We create a static mutex only for on

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

2017-07-21 Thread Noel Grandin
 include/framework/sfxhelperfunctions.hxx   |2 +-
 include/sfx2/app.hxx   |2 +-
 include/sfx2/basedlgs.hxx  |4 ++--
 include/sfx2/bindings.hxx  |4 ++--
 include/sfx2/childwin.hxx  |4 ++--
 include/sfx2/dialoghelper.hxx  |2 +-
 include/sfx2/dinfdlg.hxx   |8 
 include/sfx2/dispatch.hxx  |6 +++---
 include/sfx2/docfile.hxx   |4 ++--
 include/sfx2/docinf.hxx|2 +-
 include/sfx2/evntconf.hxx  |2 +-
 include/sfx2/fcontnr.hxx   |2 +-
 include/sfx2/filedlghelper.hxx |2 +-
 include/sfx2/frame.hxx |4 ++--
 include/sfx2/ipclient.hxx  |2 +-
 include/sfx2/linkmgr.hxx   |4 ++--
 include/sfx2/linksrc.hxx   |4 ++--
 include/sfx2/lokhelper.hxx |4 ++--
 include/sfx2/notebookbar/NotebookbarTabControl.hxx |2 +-
 include/sfx2/notebookbar/SfxNotebookBar.hxx|2 +-
 include/sfx2/objsh.hxx |8 
 include/sfx2/progress.hxx  |2 +-
 include/sfx2/request.hxx   |4 ++--
 include/sfx2/sfxbasecontroller.hxx |2 +-
 include/sfx2/shell.hxx |2 +-
 include/sfx2/sidebar/Deck.hxx  |2 +-
 include/sfx2/sidebar/SidebarChildWindow.hxx|2 +-
 include/sfx2/stbitem.hxx   |2 +-
 include/sfx2/tbxctrl.hxx   |6 +++---
 include/sfx2/templatelocalview.hxx |2 +-
 include/sfx2/thumbnailview.hxx |2 +-
 include/sfx2/unoctitm.hxx  |4 ++--
 include/sfx2/viewfrm.hxx   |   12 ++--
 include/sfx2/viewsh.hxx|8 
 sfx2/inc/fwkhelper.hxx |2 +-
 sfx2/source/appl/appdde.cxx|2 +-
 sfx2/source/appl/appserv.cxx   |2 +-
 sfx2/source/appl/childwin.cxx  |4 ++--
 sfx2/source/appl/fwkhelper.cxx |2 +-
 sfx2/source/appl/linkmgr2.cxx  |4 ++--
 sfx2/source/appl/linksrc.cxx   |4 ++--
 sfx2/source/appl/shutdowniconunx.cxx   |2 +-
 sfx2/source/appl/workwin.cxx   |2 +-
 sfx2/source/bastyp/fltfnc.cxx  |2 +-
 sfx2/source/bastyp/progress.cxx|2 +-
 sfx2/source/config/evntconf.cxx|4 ++--
 sfx2/source/control/bindings.cxx   |4 ++--
 sfx2/source/control/dispatch.cxx   |6 +++---
 sfx2/source/control/request.cxx|4 ++--
 sfx2/source/control/shell.cxx  |2 +-
 sfx2/source/control/templatelocalview.cxx  |2 +-
 sfx2/source/control/thumbnailview.cxx  |2 +-
 sfx2/source/control/unoctitm.cxx   |4 ++--
 sfx2/source/dialog/basedlgs.cxx|4 ++--
 sfx2/source/dialog/dialoghelper.cxx|2 +-
 sfx2/source/dialog/dinfdlg.cxx |   11 +--
 sfx2/source/dialog/filedlghelper.cxx   |2 +-
 sfx2/source/dialog/splitwin.cxx|6 +++---
 sfx2/source/dialog/templdlg.cxx|6 +++---
 sfx2/source/doc/DocumentMetadataAccess.cxx |   16 
 sfx2/source/doc/docfile.cxx|4 ++--
 sfx2/source/doc/docinf.cxx |2 +-
 sfx2/source/doc/docinsert.cxx  |2 +-
 sfx2/source/doc/doctempl.cxx   |4 ++--
 sfx2/source/doc/doctemplates.cxx   |   20 ++--
 sfx2/source/doc/graphhelp.cxx  |2 +-
 sfx2/source/doc/graphhelp.hxx  |2 +-
 sfx2/source/doc/new.cxx|2 +-
 sfx2/source/doc/objmisc.cxx|4 ++--
 sfx2/source/doc/objstor.cxx|6 +++---
 sfx2/source/doc/sfxbasemodel.cxx   |6 +++---
 sfx2/source/inc/eventsupplier.hxx  |2 +-
 sfx2/source/inc/preview.hxx|2 +-
 sfx2/source/inc/splitwin.hxx   |6 +++---
 sfx2/source/inc/templdgi.hxx   |4 ++--
 sfx2/source/inc/workwin.hxx|2 +-
 sfx2/source/notebookbar/NotebookbarTabControl.cxx  |2 +-
 sfx2/source/notebookbar/SfxNotebookBar.cxx |4 ++--
 sfx2/source/not

[Libreoffice-commits] core.git: include/framework sdext/source sw/source

2016-11-09 Thread Noel Grandin
 include/framework/undomanagerhelper.hxx   |2 +-
 sdext/source/presenter/PresenterTimer.cxx |2 +-
 sw/source/core/access/accdoc.hxx  |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e74e9586f506652d18c1096ebc4508fe7f7be344
Author: Noel Grandin 
Date:   Wed Nov 9 12:16:21 2016 +0200

spelling mutext->mutex

Change-Id: If844c07d0d50d1bb9b0a1877c0fde4a198bcf781

diff --git a/include/framework/undomanagerhelper.hxx 
b/include/framework/undomanagerhelper.hxx
index 667b11b..09ac28b 100644
--- a/include/framework/undomanagerhelper.hxx
+++ b/include/framework/undomanagerhelper.hxx
@@ -89,7 +89,7 @@ namespace framework
 /** helper class for implementing an XUndoManager
 
 Several of the methods of the class take an IMutexGuard instance. It 
is assumed that this guard has a lock on
-its mutext at the moment the method is entered. The lock will be 
released before any notifications to the
+its mutex at the moment the method is entered. The lock will be 
released before any notifications to the
 registered XUndoManagerListeners happen.
 
 The following locking strategy is used for this mutex:
diff --git a/sdext/source/presenter/PresenterTimer.cxx 
b/sdext/source/presenter/PresenterTimer.cxx
index 9e8ec8b..e9d3117 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -236,7 +236,7 @@ void SAL_CALL TimerScheduler::run()
 break;
 }
 
-// Restrict access to the maScheduledTasks member to one, mutext
+// Restrict access to the maScheduledTasks member to one, mutex
 // guarded, block.
 SharedTimerTask pTask;
 sal_Int64 nDifference = 0;
diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx
index 8bd7196..47caf4c 100644
--- a/sw/source/core/access/accdoc.hxx
+++ b/sw/source/core/access/accdoc.hxx
@@ -35,7 +35,7 @@ class SwAccessibleDocumentBase : public SwAccessibleContext
 {
 css::uno::Reference< css::accessibility::XAccessible> mxParent;
 
-VclPtr mpChildWin; // protected by solar mutext
+VclPtr mpChildWin; // protected by solar mutex
 
 using SwAccessibleFrame::SetVisArea;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: include/framework

2016-09-06 Thread Thorsten Behrens
 include/framework/imutex.hxx |   20 +---
 1 file changed, 5 insertions(+), 15 deletions(-)

New commits:
commit ec47e78fee143a3f1705c3533cb2369013c6
Author: Thorsten Behrens 
Date:   Wed Sep 7 02:18:30 2016 +0400

framework: cleanup redundant comments

Change-Id: Id4cb444a1e21ec0ee94a2604c15bc43220a7b571

diff --git a/include/framework/imutex.hxx b/include/framework/imutex.hxx
index 7268db9..4b4668f 100644
--- a/include/framework/imutex.hxx
+++ b/include/framework/imutex.hxx
@@ -24,29 +24,19 @@
 
 namespace framework{
 
-/*-
-@descr  We need this interface to support using of different mutex 
implementations in a generic way.
-*//*-*/
+/// Interface to support different mutex implementations in a generic way.
 class SAL_NO_VTABLE IMutex
 {
-
-//  public methods
-
 public:
-
-
/*-
-@descr  These functions must be supported by a derived class!
-acquire() -try to register thread
-release() -unregister thread
-
*//*-*/
+/// try to register thread
 virtual void acquire() = 0;
+/// unregister thread
 virtual void release() = 0;
 
 protected:
 ~IMutex() {}
-};  //  class IMutex
-
-}   //  namespace framework
+};
+}
 
 #endif // INCLUDED_FRAMEWORK_IMUTEX_HXX
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: include/framework

2015-07-14 Thread Michael Stahl
 include/framework/ContextChangeEventMultiplexerTunnel.hxx |   24 ++
 1 file changed, 24 insertions(+)

New commits:
commit 8a1e063aaff5244171f5b9164980a027b734
Author: Michael Stahl 
Date:   Tue Jul 14 12:22:18 2015 +0200

oops, forgot to add new header file

Change-Id: I83ce7cb1b06ad69250aee48e9a8c1167ae7ef239

diff --git a/include/framework/ContextChangeEventMultiplexerTunnel.hxx 
b/include/framework/ContextChangeEventMultiplexerTunnel.hxx
new file mode 100644
index 000..efa2db5
--- /dev/null
+++ b/include/framework/ContextChangeEventMultiplexerTunnel.hxx
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include 
+#include 
+#include 
+
+namespace framework {
+
+// this is pretty horrible, don't use it!
+FWE_DLLPUBLIC css::uno::Reference
+GetFirstListenerWith(
+css::uno::Reference const& xEventFocus,
+std::function const&)> const& 
rPredicate);
+
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: include/framework

2014-12-04 Thread Jennifer Liebel
 include/framework/addonsoptions.hxx |7 ---
 1 file changed, 7 deletions(-)

New commits:
commit e53f881b5c5c8968ab060b5e19a2fbebc1510e00
Author: Jennifer Liebel 
Date:   Fri Dec 5 07:50:21 2014 +

fdo#84938: removed unused defines

Change-Id: I8ce6621ad9e1971a0d586e324d49e9a209857057
Reviewed-on: https://gerrit.libreoffice.org/13307
Reviewed-by: Tor Lillqvist 
Tested-by: Tor Lillqvist 

diff --git a/include/framework/addonsoptions.hxx 
b/include/framework/addonsoptions.hxx
index 79ff32e..02c42f0 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -48,13 +48,6 @@
 #define STATUSBARITEM_STRING_AUTOSIZE   "AutoSize"
 #define STATUSBARITEM_STRING_OWNERDRAW  "OwnerDraw"
 
-#define ADDONSMENUITEM_URL_LEN  3
-#define ADDONSMENUITEM_TITLE_LEN5
-#define ADDONSMENUITEM_TARGET_LEN   6
-#define ADDONSMENUITEM_SUBMENU_LEN  7
-#define ADDONSMENUITEM_CONTEXT_LEN  7
-#define ADDONSMENUITEM_IMAGEIDENTIFIER_LEN  15
-
 #define ADDONSMENUITEM_PROPERTYNAME_URL 
OUString(ADDONSMENUITEM_STRING_URL )
 #define ADDONSMENUITEM_PROPERTYNAME_TITLE   
OUString(ADDONSMENUITEM_STRING_TITLE   )
 #define ADDONSMENUITEM_PROPERTYNAME_TARGET  
OUString(ADDONSMENUITEM_STRING_TARGET  )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: include/framework include/svtools include/unotools

2014-04-27 Thread Julien Nabet
 include/framework/addonsoptions.hxx  |4 ++--
 include/svtools/menuoptions.hxx  |4 ++--
 include/svtools/miscopt.hxx  |4 ++--
 include/svtools/optionsdrawinglayer.hxx  |4 ++--
 include/svtools/slidesorterbaropt.hxx|2 +-
 include/svtools/toolpanelopt.hxx |2 +-
 include/unotools/cmdoptions.hxx  |4 ++--
 include/unotools/compatibility.hxx   |4 ++--
 include/unotools/dynamicmenuoptions.hxx  |4 ++--
 include/unotools/extendedsecurityoptions.hxx |4 ++--
 include/unotools/fontoptions.hxx |4 ++--
 include/unotools/historyoptions.hxx  |4 ++--
 include/unotools/localisationoptions.hxx |4 ++--
 include/unotools/moduleoptions.hxx   |2 +-
 include/unotools/printwarningoptions.hxx |4 ++--
 include/unotools/securityoptions.hxx |4 ++--
 include/unotools/viewoptions.hxx |2 +-
 17 files changed, 30 insertions(+), 30 deletions(-)

New commits:
commit 46a719d893b92f41a0bdbd7bff660d228c2bd714
Author: Julien Nabet 
Date:   Sun Apr 27 09:39:21 2014 +0200

Typos: dfined -> defined + add missing 's'

Change-Id: I0e806da30ae0518579bdc0c8f0218cf5689dc70f

diff --git a/include/framework/addonsoptions.hxx 
b/include/framework/addonsoptions.hxx
index b52db41..79ff32e 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -296,8 +296,8 @@ class FWE_DLLPUBLIC AddonsOptions
 
 /*Attention
 
-Don't initialize these static member in these header!
-a) Double dfined symbols will be detected ...
+Don't initialize these static members in these headers!
+a) Double defined symbols will be detected ...
 b) and unresolved externals exist at linking time.
 Do it in your source only.
  */
diff --git a/include/svtools/menuoptions.hxx b/include/svtools/menuoptions.hxx
index 3b7006c..75a4440 100644
--- a/include/svtools/menuoptions.hxx
+++ b/include/svtools/menuoptions.hxx
@@ -97,8 +97,8 @@ class SVT_DLLPUBLIC SAL_WARN_UNUSED SvtMenuOptions: public 
utl::detail::Options
 
 /*Attention
 
-Don't initialize these static member in these header!
-a) Double dfined symbols will be detected ...
+Don't initialize these static members in these headers!
+a) Double defined symbols will be detected ...
 b) and unresolved externals exist at linking time.
 Do it in your source only.
  */
diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx
index 95db002..4bff149 100644
--- a/include/svtools/miscopt.hxx
+++ b/include/svtools/miscopt.hxx
@@ -119,8 +119,8 @@ class SVT_DLLPUBLIC SvtMiscOptions: public 
utl::detail::Options
 
 /*Attention
 
-Don't initialize these static member in these header!
-a) Double dfined symbols will be detected ...
+Don't initialize these static members in these headers!
+a) Double defined symbols will be detected ...
 b) and unresolved externals exist at linking time.
 Do it in your source only.
  */
diff --git a/include/svtools/optionsdrawinglayer.hxx 
b/include/svtools/optionsdrawinglayer.hxx
index b632d04..a5bcc98 100644
--- a/include/svtools/optionsdrawinglayer.hxx
+++ b/include/svtools/optionsdrawinglayer.hxx
@@ -171,8 +171,8 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer
 
 /*Attention
 
-Don't initialize these static member in these header!
-a) Double dfined symbols will be detected ...
+Don't initialize these static members in these headers!
+a) Double defined symbols will be detected ...
 b) and unresolved externals exist at linking time.
 Do it in your source only.
  */
diff --git a/include/svtools/slidesorterbaropt.hxx 
b/include/svtools/slidesorterbaropt.hxx
index 67d1225..b9e4623 100644
--- a/include/svtools/slidesorterbaropt.hxx
+++ b/include/svtools/slidesorterbaropt.hxx
@@ -83,7 +83,7 @@ class SVT_DLLPUBLIC SvtSlideSorterBarOptions: public 
utl::detail::Options
 
 /**
 \attention
-Don't initialize these static member in these header!
+Don't initialize these static members in these headers!
 \li Double defined symbols will be detected ...
 \li and unresolved externals exist at linking time.
 Do it in your source only.
diff --git a/include/svtools/toolpanelopt.hxx b/include/svtools/toolpanelopt.hxx
index d261465..c5368a5 100644
--- a/include/svtools/toolpanelopt.hxx
+++ b/include/svtools/toolpanelopt.hxx
@@ -84,7 +84,7 @@ class SVT_DLLPUBLIC SvtToolPanelOptions: public 
utl::detail::Options
 
 /**
 \attention
-Don't initialize these static member in these header!
+Don't initialize these static m

[Libreoffice-commits] core.git: include/framework include/svtools include/unotools

2014-04-06 Thread Tor Lillqvist
 include/framework/addonsoptions.hxx |4 ++--
 include/svtools/menuoptions.hxx |4 ++--
 include/svtools/miscopt.hxx |4 ++--
 include/svtools/optionsdrawinglayer.hxx |4 ++--
 include/svtools/printoptions.hxx|8 
 include/svtools/slidesorterbaropt.hxx   |4 ++--
 include/svtools/toolpanelopt.hxx|4 ++--
 include/unotools/viewoptions.hxx|3 ---
 8 files changed, 16 insertions(+), 19 deletions(-)

New commits:
commit 6d27b176fba61653e74f4179451308b9a7a889a8
Author: Tor Lillqvist 
Date:   Sun Apr 6 20:24:02 2014 +0300

Bin copy-pasta comments of low informative value

Change-Id: Ib9ddc516636d2150101c40ee3f249c7511bcb375

diff --git a/include/framework/addonsoptions.hxx 
b/include/framework/addonsoptions.hxx
index 3a79fce..b52db41 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -302,8 +302,8 @@ class FWE_DLLPUBLIC AddonsOptions
 Do it in your source only.
  */
 
-static AddonsOptions_Impl*  m_pDataContainer;   /// impl. data 
container as dynamic pointer for smaller memory requirements!
-static sal_Int32m_nRefCount ;   /// internal ref 
count mechanism
+static AddonsOptions_Impl*  m_pDataContainer;
+static sal_Int32m_nRefCount ;
 
 };  // class SvtMenuOptions
 
diff --git a/include/svtools/menuoptions.hxx b/include/svtools/menuoptions.hxx
index 917915d..f7af595 100644
--- a/include/svtools/menuoptions.hxx
+++ b/include/svtools/menuoptions.hxx
@@ -119,8 +119,8 @@ class SVT_DLLPUBLIC SAL_WARN_UNUSED SvtMenuOptions: public 
utl::detail::Options
 Do it in your source only.
  */
 
-static SvtMenuOptions_Impl* m_pDataContainer;   /// impl. data 
container as dynamic pointer for smaller memory requirements!
-static sal_Int32m_nRefCount ;   /// internal ref 
count mechanism
+static SvtMenuOptions_Impl* m_pDataContainer;
+static sal_Int32m_nRefCount ;
 
 };  // class SvtMenuOptions
 
diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx
index e9c6fada6..13d92d4 100644
--- a/include/svtools/miscopt.hxx
+++ b/include/svtools/miscopt.hxx
@@ -141,8 +141,8 @@ class SVT_DLLPUBLIC SvtMiscOptions: public 
utl::detail::Options
 Do it in your source only.
  */
 
-static SvtMiscOptions_Impl* m_pDataContainer;   /// impl. data 
container as dynamic pointer for smaller memory requirements!
-static sal_Int32m_nRefCount ;   /// internal 
ref count mechanism
+static SvtMiscOptions_Impl* m_pDataContainer;
+static sal_Int32m_nRefCount ;
 
 };  // class SvtMiscOptions
 
diff --git a/include/svtools/optionsdrawinglayer.hxx 
b/include/svtools/optionsdrawinglayer.hxx
index ccc7a44..d217735 100644
--- a/include/svtools/optionsdrawinglayer.hxx
+++ b/include/svtools/optionsdrawinglayer.hxx
@@ -193,8 +193,8 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer
 Do it in your source only.
  */
 
-static SvtOptionsDrawinglayer_Impl* m_pDataContainer;   /// 
impl. data container as dynamic pointer for smaller memory requirements!
-static sal_Int32m_nRefCount ;   /// 
internal ref count mechanism
+static SvtOptionsDrawinglayer_Impl* m_pDataContainer;
+static sal_Int32m_nRefCount ;
 
 };  // class SvtOptionsDrawinglayer
 
diff --git a/include/svtools/printoptions.hxx b/include/svtools/printoptions.hxx
index 4e39946..bf281aa 100644
--- a/include/svtools/printoptions.hxx
+++ b/include/svtools/printoptions.hxx
@@ -89,8 +89,8 @@ class SVT_DLLPUBLIC SvtPrinterOptions : public 
SvtBasePrintOptions
 {
 private:
 
-static SvtPrintOptions_Impl*m_pStaticDataContainer; /// impl. data 
container as dynamic pointer for smaller memory requirements!
-static sal_Int32m_nRefCount;/// internal ref 
count mechanism
+static SvtPrintOptions_Impl*m_pStaticDataContainer;
+static sal_Int32m_nRefCount;
 
 public:
 
@@ -106,8 +106,8 @@ class SVT_DLLPUBLIC SvtPrintFileOptions : public 
SvtBasePrintOptions
 {
 private:
 
-static SvtPrintOptions_Impl*m_pStaticDataContainer; /// impl. data 
container as dynamic pointer for smaller memory requirements!
-static sal_Int32m_nRefCount;/// internal ref 
count mechanism
+static SvtPrintOptions_Impl*m_pStaticDataContainer;
+static sal_Int32m_nRefCount;
 
 public:
 
diff --git a/include/svtools/slidesorterbaropt.hxx 
b/include/svtools/slidesorterbaropt.hxx
index 01124c8..67d1225 100644
--- a/include/svtools/slidesorterbaropt.hxx
+++ b/include/svtools/slidesorterbaropt.hxx
@@ -88,8 +88,8 @@ class SVT_DLLPUBLIC Sv