summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-02-22 08:07:45 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-02-22 08:14:12 +0100
commit39566f99257192a1a346c751001c6a699fa105a5 (patch)
tree3f1c912085bc86e9f540df85b4d7a3c223bdc869 /sw
parentd48faab3d6a339f0c2ccba3aeb85d32dd45636f3 (diff)
SwFntObj::GetTextSize: clean up ascii-art
Change-Id: I39a2d3128e5b8f09f1cac895205dea683a4abd17
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/inc/fntcache.hxx1
-rw-r--r--sw/source/core/txtnode/fntcache.cxx10
2 files changed, 1 insertions, 10 deletions
diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx
index 7d2981b9ba3f..1757c9ab7096 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 81035757868c..20015fa23d93 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;