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
69c32b13
Kaydet (Commit)
69c32b13
authored
May 13, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods
Change-Id: Ic0557eabff8a323a4cbe7aa9845464d752c68685
üst
5b76c502
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
recentdocsview.hxx
include/sfx2/recentdocsview.hxx
+0
-3
recentdocsview.cxx
sfx2/source/control/recentdocsview.cxx
+12
-7
No files found.
include/sfx2/recentdocsview.hxx
Dosyayı görüntüle @
69c32b13
...
...
@@ -72,9 +72,6 @@ protected:
bool
isAcceptedFile
(
const
OUString
&
rURL
)
const
;
/// Set (larger) font for the Welcome message.
void
SetMessageFont
(
vcl
::
RenderContext
&
rRenderContext
);
long
mnItemMaxSize
;
long
mnTextHeight
;
long
mnItemPadding
;
...
...
sfx2/source/control/recentdocsview.cxx
Dosyayı görüntüle @
69c32b13
...
...
@@ -38,6 +38,18 @@ using namespace com::sun::star::lang;
using
namespace
com
::
sun
::
star
::
frame
;
using
namespace
com
::
sun
::
star
::
beans
;
namespace
{
/// Set (larger) font for the Welcome message.
void
SetMessageFont
(
vcl
::
RenderContext
&
rRenderContext
)
{
vcl
::
Font
aFont
(
rRenderContext
.
GetFont
());
aFont
.
SetHeight
(
aFont
.
GetHeight
()
*
1.3
);
rRenderContext
.
SetFont
(
aFont
);
}
}
RecentDocsView
::
RecentDocsView
(
vcl
::
Window
*
pParent
)
:
ThumbnailView
(
pParent
)
,
mnFileTypes
(
TYPE_NONE
)
...
...
@@ -110,13 +122,6 @@ bool RecentDocsView::isAcceptedFile(const OUString &rURL) const
(
mnFileTypes
&
TYPE_OTHER
&&
typeMatchesExtension
(
TYPE_OTHER
,
aExt
));
}
void
RecentDocsView
::
SetMessageFont
(
vcl
::
RenderContext
&
rRenderContext
)
{
vcl
::
Font
aFont
(
rRenderContext
.
GetFont
());
aFont
.
SetHeight
(
aFont
.
GetHeight
()
*
1.3
);
rRenderContext
.
SetFont
(
aFont
);
}
BitmapEx
RecentDocsView
::
getDefaultThumbnail
(
const
OUString
&
rURL
)
{
BitmapEx
aImg
;
...
...
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