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
21713893
Kaydet (Commit)
21713893
authored
Kas 26, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1340232 uncaught exception
Change-Id: Idb80a055aca67a3fb90aef597ace932f47af8e05
üst
ca8a0396
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gtktiledviewer.cxx
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+7
-0
No files found.
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
Dosyayı görüntüle @
21713893
...
@@ -307,6 +307,8 @@ gboolean TiledRowColumnBar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfi
...
@@ -307,6 +307,8 @@ gboolean TiledRowColumnBar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfi
gtk_widget_queue_draw
(
rWindow
.
m_pRowBar
->
m_pDrawingArea
);
gtk_widget_queue_draw
(
rWindow
.
m_pRowBar
->
m_pDrawingArea
);
rWindow
.
m_pColumnBar
->
m_aHeaders
.
clear
();
rWindow
.
m_pColumnBar
->
m_aHeaders
.
clear
();
try
{
for
(
boost
::
property_tree
::
ptree
::
value_type
&
rValue
:
aTree
.
get_child
(
"columns"
))
for
(
boost
::
property_tree
::
ptree
::
value_type
&
rValue
:
aTree
.
get_child
(
"columns"
))
{
{
int
nSize
=
std
::
round
(
lok_doc_view_twip_to_pixel
(
LOK_DOC_VIEW
(
pDocView
),
std
::
atof
(
rValue
.
second
.
get
<
std
::
string
>
(
"size"
).
c_str
())));
int
nSize
=
std
::
round
(
lok_doc_view_twip_to_pixel
(
LOK_DOC_VIEW
(
pDocView
),
std
::
atof
(
rValue
.
second
.
get
<
std
::
string
>
(
"size"
).
c_str
())));
...
@@ -317,6 +319,11 @@ gboolean TiledRowColumnBar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfi
...
@@ -317,6 +319,11 @@ gboolean TiledRowColumnBar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfi
rWindow
.
m_pColumnBar
->
m_aHeaders
.
push_back
(
aHeader
);
rWindow
.
m_pColumnBar
->
m_aHeaders
.
push_back
(
aHeader
);
}
}
}
}
}
catch
(
boost
::
property_tree
::
ptree_bad_path
&
rException
)
{
std
::
cerr
<<
"TiledRowColumnBar::docConfigureEvent: failed to get columns: "
<<
rException
.
what
()
<<
std
::
endl
;
}
gtk_widget_show
(
rWindow
.
m_pColumnBar
->
m_pDrawingArea
);
gtk_widget_show
(
rWindow
.
m_pColumnBar
->
m_pDrawingArea
);
gtk_widget_queue_draw
(
rWindow
.
m_pColumnBar
->
m_pDrawingArea
);
gtk_widget_queue_draw
(
rWindow
.
m_pColumnBar
->
m_pDrawingArea
);
gtk_widget_show
(
rWindow
.
m_pFormulabarEntry
);
gtk_widget_show
(
rWindow
.
m_pFormulabarEntry
);
...
...
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