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

Miklos Vajna vmiklos at suse.cz
Thu Feb 21 23:14:29 PST 2013


 sw/source/core/inc/fntcache.hxx     |    1 +
 sw/source/core/txtnode/fntcache.cxx |   10 ----------
 2 files changed, 1 insertion(+), 10 deletions(-)

New commits:
commit 39566f99257192a1a346c751001c6a699fa105a5
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Fri Feb 22 08:07:45 2013 +0100

    SwFntObj::GetTextSize: clean up ascii-art
    
    Change-Id: I39a2d3128e5b8f09f1cac895205dea683a4abd17

diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx
index 7d2981b..1757c9a 100644
--- a/sw/source/core/inc/fntcache.hxx
+++ b/sw/source/core/inc/fntcache.hxx
@@ -113,6 +113,7 @@ public:
     inline sal_Bool     IsSymbol() const { return bSymbol; }
 
     void   DrawText( SwDrawTextInfo &rInf );
+    /// determine the TextSize (of the printer)
     Size  GetTextSize( SwDrawTextInfo &rInf );
     xub_StrLen GetCrsrOfst( SwDrawTextInfo &rInf );
 
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 8103575..20015fa 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -1766,16 +1766,6 @@ void SwFntObj::DrawText( SwDrawTextInfo &rInf )
     }
 }
 
-
-/*************************************************************************
- *
- *  Size SwFntObj::GetTextSize( const OutputDevice *pOut, const String &rTxt,
- *           const sal_uInt16 nIdx, const sal_uInt16 nLen, const short nKern = 0 );
- *
- *  determine the TextSize (of the printer)
- *
- *************************************************************************/
-
 Size SwFntObj::GetTextSize( SwDrawTextInfo& rInf )
 {
     Size aTxtSize;


More information about the Libreoffice-commits mailing list