[Libreoffice-commits] .: svl/inc
August Sodora
augsod at kemper.freedesktop.org
Sat Nov 26 10:57:41 PST 2011
svl/inc/svl/lngmisc.hxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 38e0df5b2ece3c80c64beb2f0cc3a2abe6bd475f
Author: August Sodora <augsod at gmail.com>
Date: Sat Nov 26 13:57:29 2011 -0500
Remove newly unused code
diff --git a/svl/inc/svl/lngmisc.hxx b/svl/inc/svl/lngmisc.hxx
index 5278aed..cfa21ba 100644
--- a/svl/inc/svl/lngmisc.hxx
+++ b/svl/inc/svl/lngmisc.hxx
@@ -57,12 +57,6 @@ inline sal_Bool IsControlChar( sal_Unicode cChar )
return cChar < static_cast<sal_Unicode>(' ');
}
-inline sal_Bool HasHyphens( const rtl::OUString &rTxt )
-{
- return rTxt.indexOf( SVT_SOFT_HYPHEN ) != -1 ||
- rTxt.indexOf( SVT_HARD_HYPHEN ) != -1;
-}
-
SVL_DLLPUBLIC sal_Int32 GetNumControlChars( const rtl::OUString &rTxt );
SVL_DLLPUBLIC sal_Bool RemoveHyphens( rtl::OUString &rTxt );
SVL_DLLPUBLIC sal_Bool RemoveControlChars( rtl::OUString &rTxt );
More information about the Libreoffice-commits
mailing list