[Libreoffice-commits] core.git: filter/source

Stephan Bergmann sbergman at redhat.com
Wed Jun 28 08:43:38 UTC 2017


 filter/source/msfilter/svdfppt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9963d0e303b65eb8fc90bb0bc8a175ab1347c928
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 28 10:43:12 2017 +0200

    -Werror=ignored-qualifiers (GCC 8)
    
    Change-Id: I1366d093e38dbd849d0f635f704953c5c8f47129

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index ad37201db3a9..53511043376d 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -7404,7 +7404,7 @@ void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell >& xCell )
 
         //set textHorizontalAdjust and TextWritingMode attr
         const sal_Int32 eHA(static_cast<const SdrTextHorzAdjustItem&>(pObj->GetMergedItem(SDRATTR_TEXT_HORZADJUST)).GetValue());
-        const SvxFrameDirection eDirection = (const SvxFrameDirection)(static_cast<const SvxFrameDirectionItem&>(pObj->GetMergedItem(EE_PARA_WRITINGDIR)).GetValue());
+        const SvxFrameDirection eDirection = (SvxFrameDirection)(static_cast<const SvxFrameDirectionItem&>(pObj->GetMergedItem(EE_PARA_WRITINGDIR)).GetValue());
         xPropSet->setPropertyValue(  "TextHorizontalAdjust" , Any( eHA ) );
         if ( eDirection == SvxFrameDirection::Vertical_RL_TB )
         {//vertical writing


More information about the Libreoffice-commits mailing list