[Libreoffice-commits] .: sw/inc

David Tardon dtardon at kemper.freedesktop.org
Thu Jan 13 22:47:30 PST 2011


 sw/inc/printdata.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5afefa1880415251b01d8b35d13f511c81ef4dc2
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Jan 14 07:46:56 2011 +0100

    remove duplicated test

diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx
index f26564a..d96d417 100644
--- a/sw/inc/printdata.hxx
+++ b/sw/inc/printdata.hxx
@@ -263,7 +263,7 @@ public:
     ~SwRenderData();
 
 
-    bool HasPostItData() const  { return m_pPostItShell != 0 && m_pPostItDoc != 0 && m_pPostItShell != 0; }
+    bool HasPostItData() const  { return m_pPostItShell != 0 && m_pPostItDoc != 0; }
     void CreatePostItData( SwDoc *pDoc, const SwViewOption *pViewOpt, OutputDevice *pOutDev );
     void DeletePostItData();
 


More information about the Libreoffice-commits mailing list