diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-06-13 10:16:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-15 14:06:31 +0200 |
commit | dcf6abfcdf3f4b7aec5796c9f6c806889328135f (patch) | |
tree | f0d7081b5454bbe58318ec87dcc6b5465ed16965 /sd/source/core | |
parent | 8f60697cf8e5227d503738e3c186433ac5dacfc8 (diff) |
cppcheck:unreadVariable
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
Diffstat (limited to 'sd/source/core')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index cdd094cddc4f..33830602160f 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -383,7 +383,6 @@ bool SdDrawDocument::InsertBookmarkAsPage( bool bMergeMasterPages, bool bPreservePageNames) { - bool bOK = true; bool bContinue = true; bool bScaleObjects = false; sal_uInt16 nReplacedStandardPages = 0; @@ -416,8 +415,7 @@ bool SdDrawDocument::InsertBookmarkAsPage( if (nSdPageCount==0 || nBMSdPageCount==0 || nMPageCount==0) { - bContinue = bOK = false; - return bContinue; + return false; } // Store the size and some other properties of the first page and notes |