summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorsll <trtle@yahoo.com>2016-09-08 16:34:01 +0200
committerjan iversen <jani@documentfoundation.org>2016-09-09 08:10:37 +0000
commite7446c7e7cef06c3f3aa2f19292a412944f0f8a3 (patch)
treeb8797f8b2ad99a09bf5ddb99ab16abb20d8fe55f /sd
parent31dc693029a6a6f68262ecb68ea7b6dafd291003 (diff)
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@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 0b9e6a2ec379..7f99c574fc09 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)