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
f0ae0d84
Kaydet (Commit)
f0ae0d84
authored
Nis 17, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
UniString->rtl::OUString
üst
2b3ec82a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
17 deletions
+6
-17
texteng.cxx
svtools/source/edit/texteng.cxx
+2
-13
embedhlp.cxx
svtools/source/misc/embedhlp.cxx
+1
-1
templatefoldercache.cxx
svtools/source/misc/templatefoldercache.cxx
+3
-3
No files found.
svtools/source/edit/texteng.cxx
Dosyayı görüntüle @
f0ae0d84
...
@@ -217,26 +217,15 @@ void TextEngine::SetFont( const Font& rFont )
...
@@ -217,26 +217,15 @@ void TextEngine::SetFont( const Font& rFont )
maFont
.
SetAlign
(
ALIGN_TOP
);
maFont
.
SetAlign
(
ALIGN_TOP
);
mpRefDev
->
SetFont
(
maFont
);
mpRefDev
->
SetFont
(
maFont
);
Size
aTextSize
;
Size
aTextSize
;
aTextSize
.
Width
()
=
mpRefDev
->
GetTextWidth
(
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
" "
)
)
);
aTextSize
.
Width
()
=
mpRefDev
->
GetTextWidth
(
rtl
::
OUString
(
" "
)
);
aTextSize
.
Height
()
=
mpRefDev
->
GetTextHeight
();
aTextSize
.
Height
()
=
mpRefDev
->
GetTextHeight
();
if
(
!
aTextSize
.
Width
()
)
if
(
!
aTextSize
.
Width
()
)
aTextSize
.
Width
()
=
mpRefDev
->
GetTextWidth
(
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"XXXX"
)
)
);
aTextSize
.
Width
()
=
mpRefDev
->
GetTextWidth
(
rtl
::
OUString
(
"XXXX"
)
);
mnDefTab
=
(
sal_uInt16
)
aTextSize
.
Width
();
mnDefTab
=
(
sal_uInt16
)
aTextSize
.
Width
();
if
(
!
mnDefTab
)
if
(
!
mnDefTab
)
mnDefTab
=
1
;
mnDefTab
=
1
;
mnCharHeight
=
(
sal_uInt16
)
aTextSize
.
Height
();
mnCharHeight
=
(
sal_uInt16
)
aTextSize
.
Height
();
/*
// #93746# Doesn't work with CJK HalfWidth/FullWidth
FontMetric aRealFont( mpRefDev->GetFontMetric() );
if ( aRealFont.GetPitch() == PITCH_FIXED )
{
String aX100;
aX100.Fill( 100, 'X' );
mnFixCharWidth100 = (sal_uInt16)mpRefDev->GetTextWidth( aX100 );
}
else
*/
mnFixCharWidth100
=
0
;
mnFixCharWidth100
=
0
;
FormatFullDoc
();
FormatFullDoc
();
...
...
svtools/source/misc/embedhlp.cxx
Dosyayı görüntüle @
f0ae0d84
...
@@ -599,7 +599,7 @@ void EmbeddedObjectRef::DrawPaintReplacement( const Rectangle &rRect, const Stri
...
@@ -599,7 +599,7 @@ void EmbeddedObjectRef::DrawPaintReplacement( const Rectangle &rRect, const Stri
{
{
MapMode
aMM
(
MAP_APPFONT
);
MapMode
aMM
(
MAP_APPFONT
);
Size
aAppFontSz
=
pOut
->
LogicToLogic
(
Size
(
0
,
8
),
&
aMM
,
NULL
);
Size
aAppFontSz
=
pOut
->
LogicToLogic
(
Size
(
0
,
8
),
&
aMM
,
NULL
);
Font
aFnt
(
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"Helvetica"
)
),
aAppFontSz
);
Font
aFnt
(
rtl
::
OUString
(
"Helvetica"
),
aAppFontSz
);
aFnt
.
SetTransparent
(
sal_True
);
aFnt
.
SetTransparent
(
sal_True
);
aFnt
.
SetColor
(
Color
(
COL_LIGHTRED
)
);
aFnt
.
SetColor
(
Color
(
COL_LIGHTRED
)
);
aFnt
.
SetWeight
(
WEIGHT_BOLD
);
aFnt
.
SetWeight
(
WEIGHT_BOLD
);
...
...
svtools/source/misc/templatefoldercache.cxx
Dosyayı görüntüle @
f0ae0d84
...
@@ -480,7 +480,7 @@ namespace svt
...
@@ -480,7 +480,7 @@ namespace svt
sal_Bool
implReadFolder
(
const
::
rtl
::
Reference
<
TemplateContent
>&
_rxRoot
);
sal_Bool
implReadFolder
(
const
::
rtl
::
Reference
<
TemplateContent
>&
_rxRoot
);
static
String
getCacheFileName
();
static
rtl
::
OUString
getCacheFileName
();
static
sal_Int32
getMagicNumber
();
static
sal_Int32
getMagicNumber
();
static
void
normalize
(
TemplateFolderContent
&
_rState
);
static
void
normalize
(
TemplateFolderContent
&
_rState
);
...
@@ -523,9 +523,9 @@ namespace svt
...
@@ -523,9 +523,9 @@ namespace svt
}
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
String
TemplateFolderCacheImpl
::
getCacheFileName
()
rtl
::
OU
String
TemplateFolderCacheImpl
::
getCacheFileName
()
{
{
return
String
::
CreateFromAscii
(
".templdir.cache"
);
return
rtl
::
OUString
(
".templdir.cache"
);
}
}
...
...
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