[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Thu Feb 27 03:42:49 PST 2014


 sw/source/ui/inc/srcedtw.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 344c2dca6f460c54e715fcf818d951ff252c48af
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 27 12:42:18 2014 +0100

    SwSrcEditWindow::Read/Write return value is never used anyway
    
    Change-Id: I9b4064c1e08db9ac0bf48e1aa19e03b8bb495060

diff --git a/sw/source/ui/inc/srcedtw.hxx b/sw/source/ui/inc/srcedtw.hxx
index 8f40120..40d42ee 100644
--- a/sw/source/ui/inc/srcedtw.hxx
+++ b/sw/source/ui/inc/srcedtw.hxx
@@ -121,10 +121,8 @@ public:
 
     void            SetScrollBarRanges();
     void            InitScrollBars();
-    sal_uLong           Read( SvStream& rInput)
-    {return pTextEngine->Read(rInput) ? 1 : 0;}
-    sal_uLong           Write( SvStream& rOutput)
-    {return pTextEngine->Write(rOutput) ? 1 : 0;}
+    void            Read(SvStream& rInput) { pTextEngine->Read(rInput); }
+    void            Write(SvStream& rOutput) { pTextEngine->Write(rOutput); }
 
     ExtTextView*    GetTextView()
                         {return pTextView;}


More information about the Libreoffice-commits mailing list