diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 21:00:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 10:16:07 +0100 |
commit | b7af008a35f48b821dd95f3d2d945f254bf4ed26 (patch) | |
tree | 4ea4e0a6f0eed32e72f8c043b94cc2bfafebb165 /lotuswordpro/source/filter/lwpcontent.cxx | |
parent | Add vim/emacs modelines to all source files (diff) | |
download | core-b7af008a35f48b821dd95f3d2d945f254bf4ed26.tar.gz core-b7af008a35f48b821dd95f3d2d945f254bf4ed26.zip |
remove first chunk of lotuswordpro warnings
Diffstat (limited to 'lotuswordpro/source/filter/lwpcontent.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpcontent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpcontent.cxx b/lotuswordpro/source/filter/lwpcontent.cxx index 1ff48050bd4d..339ab786001b 100644 --- a/lotuswordpro/source/filter/lwpcontent.cxx +++ b/lotuswordpro/source/filter/lwpcontent.cxx @@ -134,7 +134,7 @@ LwpVirtualLayout* LwpContent::GetLayout(LwpVirtualLayout* pStartLayout) sal_Bool LwpContent::HasNonEmbeddedLayouts() { LwpVirtualLayout* pLayout = NULL; - while(pLayout = GetLayout(pLayout)) + while( (pLayout = GetLayout(pLayout)) ) { if(!pLayout->NoContentReference()) return sal_True; @@ -145,7 +145,7 @@ sal_Bool LwpContent::HasNonEmbeddedLayouts() sal_Bool LwpContent::IsStyleContent() { LwpVirtualLayout* pLayout = NULL; - while(pLayout = GetLayout(pLayout)) + while( (pLayout = GetLayout(pLayout)) ) { if(pLayout->IsStyleLayout()) return sal_True; |