sw/source/core/unocore/unostyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1a3672d34030461f49610c47c0a1b4a9f9fd51ed
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Fri Aug 11 11:30:17 2017 +0200

    sw: fix typo in SwXStyle::GetStyleProperty
    
    OSL_ENSURE -> SAL_WARN_IF forgot to invert the condition in commit
    6abe9cfa924236b9915888470723fec612e1a16d (refactor out to limit scope:
    RES_PARATR_OUTLINELEVEL, 2016-03-11).
    
    Change-Id: Ie0272e7e178e1065d4b619deafbb4e33fcd5d14d
    Reviewed-on: https://gerrit.libreoffice.org/41018
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Jenkins <c...@libreoffice.org>

diff --git a/sw/source/core/unocore/unostyle.cxx 
b/sw/source/core/unocore/unostyle.cxx
index ebb2856bff32..d3764741486a 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -2154,7 +2154,7 @@ template<>
 uno::Any SwXStyle::GetStyleProperty<RES_PARATR_OUTLINELEVEL>(const 
SfxItemPropertySimpleEntry&, const SfxItemPropertySet&, SwStyleBase_Impl& rBase)
 {
     PrepareStyleBase(rBase);
-    SAL_WARN_IF(SfxStyleFamily::Para == GetFamily(), "sw.uno", "only paras");
+    SAL_WARN_IF(SfxStyleFamily::Para != GetFamily(), "sw.uno", "only paras");
     return 
uno::makeAny<sal_Int16>(rBase.getNewBase()->GetCollection()->GetAttrOutlineLevel());
 }
 template<>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to