chart2/source/view/main/VDataSeries.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 4ca819b204e6c93c4b4e20b191100aa248b8ff23
Author: Kohei Yoshida <kohei.yosh...@collabora.com>
Date:   Tue Jul 22 18:58:33 2014 -0400

    Simplify.
    
    Change-Id: Ibbaf20abd2cb4f2b9ef0014969db827ccffa0c0d

diff --git a/chart2/source/view/main/VDataSeries.cxx 
b/chart2/source/view/main/VDataSeries.cxx
index 99776b2..ccbd845 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -1032,9 +1032,8 @@ bool VDataSeries::getTextLabelMultiPropertyLists( 
sal_Int32 index
     {
         LabelPositionHelper::doDynamicFontResize( *pPropValues, *pPropNames, 
xTextProp, m_aReferenceSize );
     }
-    if(pPropNames&&pPropValues)
-        return true;
-    return false;
+
+    return (pPropNames && pPropValues);
 }
 
 void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to