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

sll trtle at yahoo.com
Fri Sep 9 08:11:34 UTC 2016


 sd/source/ui/docshell/docshel4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e7446c7e7cef06c3f3aa2f19292a412944f0f8a3
Author: sll <trtle at yahoo.com>
Date:   Thu Sep 8 16:34:01 2016 +0200

    tdf#62717 FILESAVE : Names Master pages are not saved properly
    
    Change-Id: If58a72fca0f9cbdeb6fc11cc36dbf13e22cdd99a
    Reviewed-on: https://gerrit.libreoffice.org/28750
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 0b9e6a2..7f99c57 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -993,7 +993,7 @@ bool DrawDocShell::SaveAsOwnFormat( SfxMedium& rMedium )
             aLayoutName = aURL.getName();
         }
 
-        if (!aLayoutName.isEmpty())
+        if (aLayoutName.isEmpty())
         {
             sal_uInt32 nCount = mpDoc->GetMasterSdPageCount(PK_STANDARD);
             for (sal_uInt32 i = 0; i < nCount; ++i)


More information about the Libreoffice-commits mailing list