sd/source/ui/unoidl/unomodel.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 53e4b24c9ee9f2114bbc6b820ece4c469cd811d5 Author: Tor Lillqvist <t...@collabora.com> Date: Thu Jul 31 21:16:54 2014 +0300 WaE: 'aPageKind' may be used uninitialized in this function Change-Id: Idb44259f11715b1d2c769bfebca7300cc397b7cf diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 82281dd..97de832 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -2276,7 +2276,7 @@ void SdXImpressDocument::setPartMode( LibreOfficeKitPartMode ePartMode ) return; } - PageKind aPageKind; + PageKind aPageKind( PK_STANDARD ); switch ( ePartMode ) { case LOK_PARTMODE_EMBEDDEDOBJ: @@ -2289,7 +2289,6 @@ void SdXImpressDocument::setPartMode( LibreOfficeKitPartMode ePartMode ) // And let's fall through in a normal build. case LOK_PARTMODE_DEFAULT: case LOK_PARTMODE_SLIDE: - aPageKind = PK_STANDARD; break; case LOK_PARTMODE_SLIDENOTES: aPageKind = PK_NOTES; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits