[Libreoffice-commits] core.git: Branch 'feature/aoo-fillattribute' - sw/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Jun 30 06:23:24 PDT 2014


 sw/source/core/unocore/unostyle.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e54b03eeca407486d29f5fc0292dc3743ef09751
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jun 30 15:22:03 2014 +0200

    SwXPageStyle::GetPropertyValues_Impl: lost FN_UNO_HEADER/FOOTER_FIRST
    
    Change-Id: I38d7372f713c115b7c975e2aad84ae14e3cf8e1f

diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 269c1ba..b8dbd32 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -3820,9 +3820,11 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl(
 
                 case FN_UNO_HEADER:
                 case FN_UNO_HEADER_LEFT:
+                case FN_UNO_HEADER_FIRST:
                 case FN_UNO_HEADER_RIGHT:
                 case FN_UNO_FOOTER:
                 case FN_UNO_FOOTER_LEFT:
+                case FN_UNO_FOOTER_FIRST:
                 case FN_UNO_FOOTER_RIGHT:
                 {
                     //UUUU cleanups for readability (undos removed, rearranged)
@@ -3832,9 +3834,11 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl(
                     {
                         case FN_UNO_HEADER:       bHeader = true;  nRes = RES_HEADER; break;
                         case FN_UNO_HEADER_LEFT:  bHeader = true;  nRes = RES_HEADER; bLeft = true;  break;
+                        case FN_UNO_HEADER_FIRST: bHeader = true;  nRes = RES_HEADER; bFirst = true; break;
                         case FN_UNO_HEADER_RIGHT: bHeader = true;  nRes = RES_HEADER; break;
                         case FN_UNO_FOOTER:       bHeader = false; nRes = RES_FOOTER; break;
                         case FN_UNO_FOOTER_LEFT:  bHeader = false; nRes = RES_FOOTER; bLeft = true;  break;
+                        case FN_UNO_FOOTER_FIRST: bHeader = false; nRes = RES_FOOTER; bFirst = true; break;
                         case FN_UNO_FOOTER_RIGHT: bHeader = false; nRes = RES_FOOTER; break;
                         default: break;
                     }


More information about the Libreoffice-commits mailing list