Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b74f1764
Kaydet (Commit)
b74f1764
authored
Tem 28, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: ditch various unused methods
üst
a2c7a85d
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
148 deletions
+0
-148
svimpbox.cxx
svtools/source/contnr/svimpbox.cxx
+0
-23
svimpbox.hxx
svtools/source/inc/svimpbox.hxx
+0
-4
fsys.hxx
tools/inc/tools/fsys.hxx
+0
-1
tdir.cxx
tools/source/fsys/tdir.cxx
+0
-12
dockwin.hxx
vcl/inc/vcl/dockwin.hxx
+0
-1
ppdparser.hxx
vcl/inc/vcl/ppdparser.hxx
+0
-3
gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.cxx
+0
-82
gcach_ftyp.hxx
vcl/source/glyphs/gcach_ftyp.hxx
+0
-1
dockmgr.cxx
vcl/source/window/dockmgr.cxx
+0
-7
ppdparser.cxx
vcl/unx/generic/printer/ppdparser.cxx
+0
-14
No files found.
svtools/source/contnr/svimpbox.cxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -3393,17 +3393,6 @@ void SvImpLBox::SetUpdateMode( sal_Bool bMode )
}
}
void
SvImpLBox
::
SetUpdateModeFast
(
sal_Bool
bMode
)
{
if
(
bUpdateMode
!=
bMode
)
{
bUpdateMode
=
bMode
;
if
(
bUpdateMode
)
UpdateAll
(
sal_False
,
sal_False
);
}
}
sal_Bool
SvImpLBox
::
SetMostRight
(
SvLBoxEntry
*
pEntry
)
{
if
(
pView
->
nTreeFlags
&
TREEFLAG_RECALCTABS
)
...
...
@@ -3545,18 +3534,6 @@ void SvImpLBox::ShowFocusRect( const SvLBoxEntry* pEntry )
}
}
void
SvImpLBox
::
SetTabBar
(
TabBar
*
_pTabBar
)
{
pTabBar
=
_pTabBar
;
}
void
SvImpLBox
::
CancelPendingEdit
()
{
if
(
aEditTimer
.
IsActive
()
)
aEditTimer
.
Stop
();
nFlags
&=
~
F_START_EDITTIMER
;
}
// -----------------------------------------------------------------------
void
SvImpLBox
::
implInitDefaultNodeImages
()
{
...
...
svtools/source/inc/svimpbox.hxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -353,14 +353,10 @@ public:
void
RepaintScrollBars
();
void
EnableAsyncDrag
(
sal_Bool
b
)
{
bAsyncBeginDrag
=
b
;
}
void
SetUpdateMode
(
sal_Bool
);
void
SetUpdateModeFast
(
sal_Bool
);
sal_Bool
GetUpdateMode
()
const
{
return
bUpdateMode
;
}
Rectangle
GetClipRegionRect
()
const
;
sal_Bool
HasHorScrollBar
()
const
{
return
aHorSBar
.
IsVisible
();
}
void
ShowFocusRect
(
const
SvLBoxEntry
*
pEntry
);
void
SetTabBar
(
TabBar
*
pTabBar
);
void
CancelPendingEdit
();
void
CallEventListeners
(
sal_uLong
nEvent
,
void
*
pData
=
NULL
);
/** Enables, that one cell of a tablistbox entry can be focused */
...
...
tools/inc/tools/fsys.hxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -450,7 +450,6 @@ public:
void
Reset
();
sal_uInt16
Scan
(
sal_uInt16
nCount
=
5
);
size_t
Count
(
sal_Bool
bUpdated
=
sal_True
)
const
;
sal_Bool
Update
();
Dir
&
operator
+=
(
const
Dir
&
rDir
);
DirEntry
&
operator
[](
size_t
nIndex
)
const
;
...
...
tools/source/fsys/tdir.cxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -266,18 +266,6 @@ void Dir::Construct( DirEntryKind nKindFlags )
aNameMask
=
String
(
"*"
,
osl_getThreadTextEncoding
());
}
/*************************************************************************
|*
|* Dir::Update()
|*
*************************************************************************/
sal_Bool
Dir
::
Update
()
{
Reset
();
return
Scan
(
USHRT_MAX
)
>
0
;
}
/*************************************************************************
|*
|* Dir::Reset()
...
...
vcl/inc/vcl/dockwin.hxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -198,7 +198,6 @@ public:
void
SetFloatStyle
(
WinBits
nWinStyle
);
WinBits
GetFloatStyle
()
const
;
void
SetTabStop
();
virtual
void
SetPosSizePixel
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
...
...
vcl/inc/vcl/ppdparser.hxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -255,9 +255,6 @@ public:
int
getFonts
()
const
{
return
m_pFontList
?
m_pFontList
->
countValues
()
:
0
;
}
void
getFontAttributes
(
int
,
String
&
rEncoding
,
String
&
rCharset
)
const
;
String
getFont
(
int
)
const
;
...
...
vcl/source/glyphs/gcach_ftyp.cxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -617,88 +617,6 @@ void FreetypeManager::AddFontFile( const rtl::OString& rNormalizedName,
// -----------------------------------------------------------------------
long
FreetypeManager
::
AddFontDir
(
const
String
&
rUrlName
)
{
osl
::
Directory
aDir
(
rUrlName
);
osl
::
FileBase
::
RC
rcOSL
=
aDir
.
open
();
if
(
rcOSL
!=
osl
::
FileBase
::
E_None
)
return
0
;
long
nCount
=
0
;
osl
::
DirectoryItem
aDirItem
;
rtl_TextEncoding
theEncoding
=
osl_getThreadTextEncoding
();
while
(
(
rcOSL
=
aDir
.
getNextItem
(
aDirItem
,
20
))
==
osl
::
FileBase
::
E_None
)
{
osl
::
FileStatus
aFileStatus
(
osl_FileStatus_Mask_FileURL
);
rcOSL
=
aDirItem
.
getFileStatus
(
aFileStatus
);
::
rtl
::
OUString
aUSytemPath
;
OSL_VERIFY
(
osl
::
FileBase
::
E_None
==
osl
::
FileBase
::
getSystemPathFromFileURL
(
aFileStatus
.
getFileURL
(),
aUSytemPath
));
::
rtl
::
OString
aCFileName
=
rtl
::
OUStringToOString
(
aUSytemPath
,
theEncoding
);
const
char
*
pszFontFileName
=
aCFileName
.
getStr
();
FT_FaceRec_
*
aFaceFT
=
NULL
;
for
(
int
nFaceNum
=
0
,
nMaxFaces
=
1
;
nFaceNum
<
nMaxFaces
;
++
nFaceNum
)
{
FT_Error
rcFT
=
FT_New_Face
(
aLibFT
,
pszFontFileName
,
nFaceNum
,
&
aFaceFT
);
if
(
(
rcFT
!=
FT_Err_Ok
)
||
(
aFaceFT
==
NULL
)
)
break
;
if
(
!
FT_IS_SCALABLE
(
aFaceFT
)
)
// ignore non-scalabale fonts
continue
;
nMaxFaces
=
aFaceFT
->
num_faces
;
ImplDevFontAttributes
aDFA
;
// TODO: prefer unicode names if available
// TODO: prefer locale specific names if available?
if
(
aFaceFT
->
family_name
)
aDFA
.
maName
=
String
::
CreateFromAscii
(
aFaceFT
->
family_name
);
if
(
aFaceFT
->
style_name
)
aDFA
.
maStyleName
=
String
::
CreateFromAscii
(
aFaceFT
->
style_name
);
aDFA
.
mbSymbolFlag
=
false
;
for
(
int
i
=
aFaceFT
->
num_charmaps
;
--
i
>=
0
;
)
{
const
FT_CharMap
aCM
=
aFaceFT
->
charmaps
[
i
];
#if (FTVERSION < 2000)
if
(
aCM
->
encoding
==
FT_ENCODING_NONE
)
#else
if
(
(
aCM
->
platform_id
==
TT_PLATFORM_MICROSOFT
)
&&
(
aCM
->
encoding_id
==
TT_MS_ID_SYMBOL_CS
)
)
#endif
aDFA
.
mbSymbolFlag
=
true
;
}
// TODO: extract better font characterization data from font
aDFA
.
meFamily
=
FAMILY_DONTKNOW
;
aDFA
.
mePitch
=
FT_IS_FIXED_WIDTH
(
aFaceFT
)
?
PITCH_FIXED
:
PITCH_VARIABLE
;
aDFA
.
meWidthType
=
WIDTH_DONTKNOW
;
aDFA
.
meWeight
=
FT_STYLE_FLAG_BOLD
&
aFaceFT
->
style_flags
?
WEIGHT_BOLD
:
WEIGHT_NORMAL
;
aDFA
.
meItalic
=
FT_STYLE_FLAG_ITALIC
&
aFaceFT
->
style_flags
?
ITALIC_NORMAL
:
ITALIC_NONE
;
aDFA
.
mnQuality
=
0
;
aDFA
.
mbOrientation
=
true
;
aDFA
.
mbDevice
=
true
;
aDFA
.
mbSubsettable
=
false
;
aDFA
.
mbEmbeddable
=
false
;
FT_Done_Face
(
aFaceFT
);
AddFontFile
(
aCFileName
,
nFaceNum
,
++
mnNextFontId
,
aDFA
,
NULL
);
++
nCount
;
}
}
aDir
.
close
();
return
nCount
;
}
// -----------------------------------------------------------------------
void
FreetypeManager
::
AnnounceFonts
(
ImplDevFontList
*
pToAdd
)
const
{
for
(
FontList
::
const_iterator
it
=
maFontList
.
begin
();
it
!=
maFontList
.
end
();
++
it
)
...
...
vcl/source/glyphs/gcach_ftyp.hxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -162,7 +162,6 @@ public:
FreetypeManager
();
~
FreetypeManager
();
long
AddFontDir
(
const
String
&
rUrlName
);
void
AddFontFile
(
const
rtl
::
OString
&
rNormalizedName
,
int
nFaceNum
,
sal_IntPtr
nFontId
,
const
ImplDevFontAttributes
&
,
const
ExtraKernInfo
*
);
...
...
vcl/source/window/dockmgr.cxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -1485,13 +1485,6 @@ WinBits ImplDockingWindowWrapper::GetFloatStyle() const
// -----------------------------------------------------------------------
void
ImplDockingWindowWrapper
::
SetTabStop
()
{
GetWindow
()
->
SetStyle
(
GetWindow
()
->
GetStyle
()
|
(
WB_GROUP
|
WB_TABSTOP
)
);
}
// -----------------------------------------------------------------------
void
ImplDockingWindowWrapper
::
SetPosSizePixel
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt16
nFlags
)
...
...
vcl/unx/generic/printer/ppdparser.cxx
Dosyayı görüntüle @
b74f1764
...
...
@@ -1455,20 +1455,6 @@ void PPDParser::getDefaultResolution( int& rXRes, int& rYRes ) const
rYRes
=
300
;
}
void
PPDParser
::
getFontAttributes
(
int
nFont
,
String
&
rEncoding
,
String
&
rCharset
)
const
{
if
(
m_pFontList
&&
nFont
>=
0
&&
nFont
<
m_pFontList
->
countValues
()
)
{
String
aAttribs
=
WhitespaceToSpace
(
m_pFontList
->
getValue
(
nFont
)
->
m_aValue
);
rEncoding
=
GetCommandLineToken
(
0
,
aAttribs
);
rCharset
=
GetCommandLineToken
(
2
,
aAttribs
);
}
}
String
PPDParser
::
getFont
(
int
nFont
)
const
{
if
(
!
m_pFontList
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment