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
90ffbdf7
Kaydet (Commit)
90ffbdf7
authored
May 28, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sd: Notify about the part change (when searching) only once.
Change-Id: Iae0e3fa0ec86898f17bc4b595075c3a2384ecfb2
üst
1afa39b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
Outliner.cxx
sd/source/ui/view/Outliner.cxx
+11
-0
drviews1.cxx
sd/source/ui/view/drviews1.cxx
+0
-6
No files found.
sd/source/ui/view/Outliner.cxx
Dosyayı görüntüle @
90ffbdf7
...
...
@@ -717,6 +717,17 @@ bool Outliner::SearchAndReplaceOnce()
mpDrawDocument
->
GetDocSh
()
->
SetWaitCursor
(
false
);
// notify LibreOfficeKit about changed page
if
(
pViewShell
&&
pViewShell
->
GetDoc
()
->
isTiledRendering
()
&&
mbStringFound
&&
pViewShell
->
ISA
(
DrawViewShell
))
{
::
boost
::
shared_ptr
<
DrawViewShell
>
pDrawViewShell
(
::
boost
::
dynamic_pointer_cast
<
DrawViewShell
>
(
pViewShell
));
sal_uInt16
nSelectedPage
=
pDrawViewShell
->
GetCurPageId
();
OString
aPayload
=
OString
::
number
(
nSelectedPage
);
pViewShell
->
GetDoc
()
->
libreOfficeKitCallback
(
LOK_CALLBACK_SET_PART
,
aPayload
.
getStr
());
}
return
mbEndOfSearch
;
}
...
...
sd/source/ui/view/drviews1.cxx
Dosyayı görüntüle @
90ffbdf7
...
...
@@ -81,7 +81,6 @@
#include <sfx2/request.hxx>
#include <boost/bind.hpp>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
using
namespace
com
::
sun
::
star
;
...
...
@@ -1099,11 +1098,6 @@ bool DrawViewShell::SwitchPage(sal_uInt16 nSelectedPage)
mpDrawView
->
AdjustMarkHdl
();
}
if
(
bOK
)
{
OString
aPayload
=
OString
::
number
(
nSelectedPage
);
GetDoc
()
->
libreOfficeKitCallback
(
LOK_CALLBACK_SET_PART
,
aPayload
.
getStr
());
}
return
bOK
;
}
...
...
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