[Libreoffice-commits] core.git: sw/source
Oliver Specht
oliver.specht at cib.de
Thu Mar 10 08:16:48 UTC 2016
sw/source/uibase/app/docst.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d2aec5d4f804f543fa83356ec18feeb6d76b5a16
Author: Oliver Specht <oliver.specht at cib.de>
Date: Wed Mar 9 14:51:48 2016 +0100
tdf#97619: update to match selection fixed
If style to update is part of the request then use that style
instead of the currently selected style to update _and_ apply it.
Change-Id: I49537ba3a116253c4a54c2b70eded33e12d0b00c
Reviewed-on: https://gerrit.libreoffice.org/23083
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht at cib.de>
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index 9a7799e..e46823f 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -419,7 +419,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq )
false, &pItem ))
pActShell = pShell = static_cast<SwWrtShell*>(static_cast<const SwPtrItem*>(pItem)->GetValue());
- if( nSlot == SID_STYLE_UPDATE_BY_EXAMPLE )
+ if( nSlot == SID_STYLE_UPDATE_BY_EXAMPLE && aParam.isEmpty() )
{
switch( nFamily )
{
More information about the Libreoffice-commits
mailing list