summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/inetmime.hxx67
-rw-r--r--include/tools/poly.hxx2
-rw-r--r--include/tools/rc.hxx3
-rw-r--r--include/tools/resmgr.hxx2
4 files changed, 0 insertions, 74 deletions
diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx
index 11d5ee748a2e..23b86f1a5739 100644
--- a/include/tools/inetmime.hxx
+++ b/include/tools/inetmime.hxx
@@ -220,23 +220,6 @@ public:
HEADER_FIELD_ADDRESS
};
- /** Check for ISO 8859-1 character.
-
- @param nChar Some UCS-4 character.
-
- @return True if nChar is a ISO 8859-1 character (0x00--0xFF).
- */
- static inline bool isISO88591(sal_uInt32 nChar);
-
- /** Check for US-ASCII control character.
-
- @param nChar Some UCS-4 character.
-
- @return True if nChar is a US-ASCII control character (US-ASCII
- 0x00--0x1F or 0x7F).
- */
- static inline bool isControl(sal_uInt32 nChar);
-
/** Check for US-ASCII white space character.
@param nChar Some UCS-4 character.
@@ -255,15 +238,6 @@ public:
*/
static inline bool isVisible(sal_uInt32 nChar);
- /** Check for US-ASCII Base 64 digit character.
-
- @param nChar Some UCS-4 character.
-
- @return True if nChar is a US-ASCII Base 64 digit character (US-ASCII
- 'A'--'Z', 'a'--'z', '0'--'9', '+', or '/').
- */
- static inline bool isBase64Digit(sal_uInt32 nChar);
-
/** Check whether some character is valid within an RFC 822 <atom>.
@param nChar Some UCS-4 character.
@@ -381,9 +355,6 @@ public:
const sal_Unicode * pEnd1,
const sal_Char * pString2);
- static inline bool startsWithLineBreak(const sal_Char * pBegin,
- const sal_Char * pEnd);
-
static inline bool startsWithLineBreak(const sal_Unicode * pBegin,
const sal_Unicode * pEnd);
@@ -393,9 +364,6 @@ public:
static inline bool startsWithLineFolding(const sal_Unicode * pBegin,
const sal_Unicode * pEnd);
- static bool startsWithLinearWhiteSpace(const sal_Char * pBegin,
- const sal_Char * pEnd);
-
static const sal_Unicode * skipLinearWhiteSpace(const sal_Unicode *
pBegin,
const sal_Unicode * pEnd);
@@ -551,18 +519,6 @@ public:
};
// static
-inline bool INetMIME::isISO88591(sal_uInt32 nChar)
-{
- return nChar <= 0xFF;
-}
-
-// static
-inline bool INetMIME::isControl(sal_uInt32 nChar)
-{
- return nChar <= 0x1F || nChar == 0x7F;
-}
-
-// static
inline bool INetMIME::isWhiteSpace(sal_uInt32 nChar)
{
return nChar == '\t' || nChar == ' ';
@@ -575,13 +531,6 @@ inline bool INetMIME::isVisible(sal_uInt32 nChar)
}
// static
-inline bool INetMIME::isBase64Digit(sal_uInt32 nChar)
-{
- return rtl::isAsciiUpperCase(nChar) || rtl::isAsciiLowerCase(nChar) || rtl::isAsciiDigit(nChar)
- || nChar == '+' || nChar == '/';
-}
-
-// static
inline int INetMIME::getWeight(sal_uInt32 nChar)
{
return rtl::isAsciiDigit(nChar) ? int(nChar - '0') : -1;
@@ -607,15 +556,7 @@ inline int INetMIME::getBase64Weight(sal_uInt32 nChar)
}
// static
-inline bool INetMIME::startsWithLineBreak(const sal_Char * pBegin,
- const sal_Char * pEnd)
-{
- DBG_ASSERT(pBegin && pBegin <= pEnd,
- "INetMIME::startsWithLineBreak(): Bad sequence");
- return pEnd - pBegin >= 2 && pBegin[0] == 0x0D && pBegin[1] == 0x0A;
- // CR, LF
-}
// static
inline bool INetMIME::startsWithLineBreak(const sal_Unicode * pBegin,
@@ -651,15 +592,7 @@ inline bool INetMIME::startsWithLineFolding(const sal_Unicode * pBegin,
}
// static
-inline bool INetMIME::startsWithLinearWhiteSpace(const sal_Char * pBegin,
- const sal_Char * pEnd)
-{
- DBG_ASSERT(pBegin && pBegin <= pEnd,
- "INetMIME::startsWithLinearWhiteSpace(): Bad sequence");
- return pBegin != pEnd
- && (isWhiteSpace(*pBegin) || startsWithLineFolding(pBegin, pEnd));
-}
// static
inline bool INetMIME::needsQuotedStringEscape(sal_uInt32 nChar)
diff --git a/include/tools/poly.hxx b/include/tools/poly.hxx
index 559b8d88b086..ad8ff402426d 100644
--- a/include/tools/poly.hxx
+++ b/include/tools/poly.hxx
@@ -269,8 +269,6 @@ public:
bool operator!=( const tools::PolyPolygon& rPolyPoly ) const
{ return !(PolyPolygon::operator==( rPolyPoly )); }
- bool IsEqual( const tools::PolyPolygon& rPolyPoly ) const;
-
TOOLS_DLLPUBLIC friend SvStream& ReadPolyPolygon( SvStream& rIStream, tools::PolyPolygon& rPolyPoly );
TOOLS_DLLPUBLIC friend SvStream& WritePolyPolygon( SvStream& rOStream, const tools::PolyPolygon& rPolyPoly );
diff --git a/include/tools/rc.hxx b/include/tools/rc.hxx
index 7b8a175348ad..b26711dda949 100644
--- a/include/tools/rc.hxx
+++ b/include/tools/rc.hxx
@@ -54,9 +54,6 @@ protected:
// get a 32bit value from Resource data
static sal_Int32 GetLongRes( void * pLong )
{ return ResMgr::GetLong( pLong ); }
- // get a 16bit value from Resource data
- static sal_Int16 GetShortRes( void * pShort )
- { return ResMgr::GetShort( pShort ); }
// read a 32bit value from resource data and increment pointer
sal_Int32 ReadLongRes()
diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx
index 1c521d56c0d2..b9935488365c 100644
--- a/include/tools/resmgr.hxx
+++ b/include/tools/resmgr.hxx
@@ -127,8 +127,6 @@ private:
// like ReadString but doesn't call the string hook
TOOLS_DLLPRIVATE OUString ReadStringWithoutHook();
- static ResMgr* ImplCreateResMgr( InternalResMgr* pImpl ) { return new ResMgr( pImpl ); }
-
ResMgr(const ResMgr&) SAL_DELETED_FUNCTION;
ResMgr& operator=(const ResMgr&) SAL_DELETED_FUNCTION;