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
c6c8af5e
Kaydet (Commit)
c6c8af5e
authored
Kas 13, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr
Change-Id: Iaf779157b97e4d3a3a449cc7f17e4d5c533955f0
üst
b957190e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lokdocview.cxx
libreofficekit/source/gtk/lokdocview.cxx
+4
-4
No files found.
libreofficekit/source/gtk/lokdocview.cxx
Dosyayı görüntüle @
c6c8af5e
...
...
@@ -2269,7 +2269,7 @@ static void lok_doc_view_class_init (LOKDocViewClass* pClass)
G_TYPE_FROM_CLASS
(
pGObjectClass
),
G_SIGNAL_RUN_FIRST
,
0
,
NULL
,
NULL
,
nullptr
,
nullptr
,
g_cclosure_marshal_VOID__STRING
,
G_TYPE_NONE
,
1
,
G_TYPE_STRING
);
...
...
@@ -2346,7 +2346,7 @@ SAL_DLLPUBLIC_EXPORT void
lok_doc_view_set_zoom
(
LOKDocView
*
pDocView
,
float
fZoom
)
{
LOKDocViewPrivate
&
priv
=
getPrivate
(
pDocView
);
GError
*
error
=
NULL
;
GError
*
error
=
nullptr
;
priv
->
m_fZoom
=
fZoom
;
long
nDocumentWidthPixels
=
twipToPixel
(
priv
->
m_nDocumentWidthTwips
,
fZoom
);
...
...
@@ -2361,7 +2361,7 @@ lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom)
nDocumentHeightPixels
);
// Update the client's view size
GTask
*
task
=
g_task_new
(
pDocView
,
NULL
,
NULL
,
NULL
);
GTask
*
task
=
g_task_new
(
pDocView
,
nullptr
,
nullptr
,
nullptr
);
LOEvent
*
pLOEvent
=
new
LOEvent
(
LOK_SET_CLIENT_ZOOM
);
pLOEvent
->
m_nTilePixelWidth
=
nTileSizePixels
;
pLOEvent
->
m_nTilePixelHeight
=
nTileSizePixels
;
...
...
@@ -2370,7 +2370,7 @@ lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom)
g_task_set_task_data
(
task
,
pLOEvent
,
LOEvent
::
destroy
);
g_thread_pool_push
(
priv
->
lokThreadPool
,
g_object_ref
(
task
),
&
error
);
if
(
error
!=
NULL
)
if
(
error
!=
nullptr
)
{
g_warning
(
"Unable to call LOK_SET_CLIENT_ZOOM: %s"
,
error
->
message
);
g_clear_error
(
&
error
);
...
...
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