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

Stephan Bergmann sbergman at redhat.com
Wed Jun 28 10:19:54 UTC 2017


 sc/source/ui/styleui/styledlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c1d3c07d6903ac8cb5feb1dc2f403af17a95593
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 28 12:19:30 2017 +0200

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

diff --git a/sc/source/ui/styleui/styledlg.cxx b/sc/source/ui/styleui/styledlg.cxx
index 55dab227d78c..f1d167595259 100644
--- a/sc/source/ui/styleui/styledlg.cxx
+++ b/sc/source/ui/styleui/styledlg.cxx
@@ -149,7 +149,7 @@ void ScStyleDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage )
         SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));
         if (nPageId == m_nPageId)
         {
-            aSet.Put (SfxAllEnumItem((const sal_uInt16)SID_ENUM_PAGE_MODE, SVX_PAGE_MODE_CENTER));
+            aSet.Put (SfxAllEnumItem((sal_uInt16)SID_ENUM_PAGE_MODE, SVX_PAGE_MODE_CENTER));
             rTabPage.PageCreated(aSet);
         }
         else if (nPageId == m_nHeaderId || nPageId == m_nFooterId)


More information about the Libreoffice-commits mailing list