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
74c7539c
Kaydet (Commit)
74c7539c
authored
Eki 05, 2013
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
This reference argument can be const
Change-Id: I4d8d23d34aa72a0101bc18e98983ea8840806462
üst
c0afcc0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
ndgrf.hxx
sw/inc/ndgrf.hxx
+2
-2
ndgrf.cxx
sw/source/core/graphic/ndgrf.cxx
+3
-2
No files found.
sw/inc/ndgrf.hxx
Dosyayı görüntüle @
74c7539c
...
...
@@ -95,7 +95,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode
input parameter - reference to storage, which should contain the
embedded graphic stream.
@param
_a
StrmName
@param
r
StrmName
input parameter - proposed name of the embedded graphic stream.
@return SvStream*
...
...
@@ -104,7 +104,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode
*/
SvStream
*
_GetStreamForEmbedGrf
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
embed
::
XStorage
>&
_refPics
,
String
&
_a
StrmName
)
const
;
const
String
&
r
StrmName
)
const
;
/** helper method to get a substorage of the document storage for readonly access.
...
...
sw/source/core/graphic/ndgrf.cxx
Dosyayı görüntüle @
74c7539c
...
...
@@ -870,12 +870,13 @@ uno::Reference< embed::XStorage > SwGrfNode::_GetDocSubstorageOrRoot( const Stri
*/
SvStream
*
SwGrfNode
::
_GetStreamForEmbedGrf
(
const
uno
::
Reference
<
embed
::
XStorage
>&
_refPics
,
String
&
_a
StrmName
)
const
const
String
&
r
StrmName
)
const
{
SvStream
*
pStrm
(
0L
);
if
(
_refPics
.
is
()
&&
_a
StrmName
.
Len
()
)
if
(
_refPics
.
is
()
&&
r
StrmName
.
Len
()
)
{
String
_aStrmName
(
rStrmName
);
// If stream doesn't exist in the storage, try access the graphic file by
// re-generating its name.
// A save action can have changed the filename of the embedded graphic,
...
...
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