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
a91b5943
Kaydet (Commit)
a91b5943
authored
Nis 22, 2014
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i63399 add to clipboard as URL only when no fill and no line style, just a simple URL
üst
7496ed4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
sdxfer.cxx
sd/source/ui/app/sdxfer.cxx
+10
-1
No files found.
sd/source/ui/app/sdxfer.cxx
Dosyayı görüntüle @
a91b5943
...
@@ -256,7 +256,16 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
...
@@ -256,7 +256,16 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
{
{
const
SvxURLField
*
pURL
=
(
SvxURLField
*
)
pData
;
const
SvxURLField
*
pURL
=
(
SvxURLField
*
)
pData
;
mpBookmark
=
new
INetBookmark
(
pURL
->
GetURL
(),
pURL
->
GetRepresentation
()
);
// #63399# This special code identifies TextFrames which have just an URL
// as content and directly add this to the clipboard, probably to avoid adding
// an unnecessary DrawObject to the target where paste may take place. This is
// wanted only for SdrObjects with no fill and no line, else it is necessary to
// use the whole SdrObect. Test here for Line/FillStyle and take shortcut only
// when both are unused
if
(
!
pObj
->
HasFillStyle
()
&&
!
pObj
->
HasLineStyle
())
{
mpBookmark
=
new
INetBookmark
(
pURL
->
GetURL
(),
pURL
->
GetRepresentation
()
);
}
}
}
}
}
}
}
...
...
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