summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-04 05:30:56 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-04 07:49:13 +0200
commit5f743ea3081fc3b7e4704c0435103cd20683cbf9 (patch)
tree4f029107cbae219cff7bf0896a1cd69eeaabcf33 /svtools
parentd0bf70d2a4d874168b251ef6381c2d61a6baa9b5 (diff)
remove whitespace
Change-Id: I08a89e40d24bc6f4b106c5063c197fe201f32bf6
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrltool.cxx62
1 files changed, 0 insertions, 62 deletions
diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx
index 4818928231cd..431738ceb935 100644
--- a/svtools/source/control/ctrltool.cxx
+++ b/svtools/source/control/ctrltool.cxx
@@ -31,8 +31,6 @@
#include <svtools/svtresid.hxx>
#include <svtools/ctrltool.hxx>
-
-
// Standard Fontgroessen fuer scalierbare Fonts
static const sal_IntPtr aStdSizeAry[] =
{
@@ -69,12 +67,6 @@ static const sal_IntPtr aStdSizeAry[] =
0
};
-
-
-
-// - class ImplFontListFonInfo -
-
-
class ImplFontListFontInfo : public FontInfo
{
friend class FontList;
@@ -94,10 +86,6 @@ public:
OutputDevice* GetDevice() const { return mpDevice; }
};
-
-// - class ImplFontListNameInfo -
-
-
class ImplFontListNameInfo
{
friend class FontList;
@@ -146,15 +134,11 @@ static sal_Int32 ImplCompareFontInfo( ImplFontListFontInfo* pInfo1,
return pInfo1->GetStyleName().compareTo( pInfo2->GetStyleName() );
}
-
-
static OUString ImplMakeSearchString(const OUString& rStr)
{
return rStr.toAsciiLowerCase();
}
-
-
static OUString ImplMakeSearchStringFromName(const OUString& rStr)
{
// check for features before alternate font separator
@@ -165,8 +149,6 @@ static OUString ImplMakeSearchStringFromName(const OUString& rStr)
return ImplMakeSearchString(rStr.getToken( 0, ';' ));
}
-
-
ImplFontListNameInfo* FontList::ImplFind(const OUString& rSearchName, sal_uLong* pIndex) const
{
// Append if there is no enty in the list or if the entry is larger
@@ -337,8 +319,6 @@ void FontList::ImplInsertFonts( OutputDevice* pDevice, bool bAll,
}
}
-
-
FontList::FontList( OutputDevice* pDevice, OutputDevice* pDevice2, bool bAll )
{
// initialise variables
@@ -372,8 +352,6 @@ FontList::FontList( OutputDevice* pDevice, OutputDevice* pDevice2, bool bAll )
ImplInsertFonts( pDevice2, bAll, !bCompareWindow );
}
-
-
FontList::~FontList()
{
// delete SizeArray if required
@@ -401,8 +379,6 @@ FontList* FontList::Clone() const
return pReturn;
}
-
-
const OUString& FontList::GetStyleName(FontWeight eWeight, FontItalic eItalic) const
{
if ( eWeight > WEIGHT_BOLD )
@@ -442,8 +418,6 @@ const OUString& FontList::GetStyleName(FontWeight eWeight, FontItalic eItalic) c
}
}
-
-
OUString FontList::GetStyleName(const FontInfo& rInfo) const
{
OUString aStyleName = rInfo.GetStyleName();
@@ -495,8 +469,6 @@ OUString FontList::GetStyleName(const FontInfo& rInfo) const
return aStyleName;
}
-
-
OUString FontList::GetFontMapText( const FontInfo& rInfo ) const
{
if ( rInfo.GetName().isEmpty() )
@@ -671,8 +643,6 @@ FontInfo FontList::Get(const OUString& rName, const OUString& rStyleName) const
return aInfo;
}
-
-
FontInfo FontList::Get(const OUString& rName,
FontWeight eWeight, FontItalic eItalic) const
{
@@ -709,15 +679,11 @@ FontInfo FontList::Get(const OUString& rName,
return aInfo;
}
-
-
bool FontList::IsAvailable(const OUString& rName) const
{
return (ImplFindByName( rName ) != 0);
}
-
-
const FontInfo& FontList::GetFontName( sal_uInt16 nFont ) const
{
DBG_ASSERT( nFont < GetFontNameCount(), "FontList::GetFontName(): nFont >= Count" );
@@ -725,8 +691,6 @@ const FontInfo& FontList::GetFontName( sal_uInt16 nFont ) const
return *(maEntries[nFont].mpFirst);
}
-
-
sal_Handle FontList::GetFirstFontInfo(const OUString& rName) const
{
ImplFontListNameInfo* pData = ImplFindByName( rName );
@@ -736,24 +700,18 @@ sal_Handle FontList::GetFirstFontInfo(const OUString& rName) const
return (sal_Handle)pData->mpFirst;
}
-
-
sal_Handle FontList::GetNextFontInfo( sal_Handle hFontInfo ) const
{
ImplFontListFontInfo* pInfo = (ImplFontListFontInfo*)(void*)hFontInfo;
return (sal_Handle)(pInfo->mpNext);
}
-
-
const FontInfo& FontList::GetFontInfo( sal_Handle hFontInfo ) const
{
ImplFontListFontInfo* pInfo = (ImplFontListFontInfo*)(void*)hFontInfo;
return *pInfo;
}
-
-
const sal_IntPtr* FontList::GetSizeAry( const FontInfo& rInfo ) const
{
// first delete Size-Array
@@ -802,27 +760,17 @@ const sal_IntPtr* FontList::GetSizeAry( const FontInfo& rInfo ) const
return mpSizeAry;
}
-
-
const sal_IntPtr* FontList::GetStdSizeAry()
{
return aStdSizeAry;
}
-
-
-
-// - FontSizeNames & FsizeNameItem -
-
-
struct ImplFSNameItem
{
long mnSize;
const char* mszUtf8Name;
};
-
-
static const ImplFSNameItem aImplSimplifiedChinese[] =
{
{ 50, "\xe5\x85\xab\xe5\x8f\xb7" },
@@ -843,8 +791,6 @@ static const ImplFSNameItem aImplSimplifiedChinese[] =
{ 420, "\xe5\x88\x9d\xe5\x8f\xb7" }
};
-
-
FontSizeNames::FontSizeNames( LanguageType eLanguage )
{
if ( eLanguage == LANGUAGE_DONTKNOW )
@@ -865,8 +811,6 @@ FontSizeNames::FontSizeNames( LanguageType eLanguage )
}
}
-
-
long FontSizeNames::Name2Size( const OUString& rName ) const
{
if ( mnElem )
@@ -883,8 +827,6 @@ long FontSizeNames::Name2Size( const OUString& rName ) const
return 0;
}
-
-
OUString FontSizeNames::Size2Name( long nValue ) const
{
OUString aStr;
@@ -907,8 +849,6 @@ OUString FontSizeNames::Size2Name( long nValue ) const
return aStr;
}
-
-
OUString FontSizeNames::GetIndexName( sal_uLong nIndex ) const
{
OUString aStr;
@@ -919,8 +859,6 @@ OUString FontSizeNames::GetIndexName( sal_uLong nIndex ) const
return aStr;
}
-
-
long FontSizeNames::GetIndexSize( sal_uLong nIndex ) const
{
if ( nIndex >= mnElem )