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
075a0b30
Kaydet (Commit)
075a0b30
authored
Ara 18, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No need for DlgEdObj::supportsService to be virtual
Change-Id: Ib324adb4bc894f16c051fe956c25e37b0502006c
üst
f5ef6b39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dlgedobj.cxx
basctl/source/dlged/dlgedobj.cxx
+2
-2
dlgedobj.hxx
basctl/source/inc/dlgedobj.hxx
+1
-1
No files found.
basctl/source/dlged/dlgedobj.cxx
Dosyayı görüntüle @
075a0b30
...
@@ -671,14 +671,14 @@ void DlgEdObj::TabIndexChange( const beans::PropertyChangeEvent& evt ) throw (Ru
...
@@ -671,14 +671,14 @@ void DlgEdObj::TabIndexChange( const beans::PropertyChangeEvent& evt ) throw (Ru
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
sal_Bool
DlgEdObj
::
supportsService
(
const
sal_Char
*
_pS
erviceName
)
const
bool
DlgEdObj
::
supportsService
(
OUString
const
&
s
erviceName
)
const
{
{
bool
bSupports
=
false
;
bool
bSupports
=
false
;
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
GetUnoControlModel
()
,
UNO_QUERY
);
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
GetUnoControlModel
()
,
UNO_QUERY
);
// TODO: cache xServiceInfo as member?
// TODO: cache xServiceInfo as member?
if
(
xServiceInfo
.
is
()
)
if
(
xServiceInfo
.
is
()
)
bSupports
=
xServiceInfo
->
supportsService
(
OUString
::
createFromAscii
(
_pServiceName
)
);
bSupports
=
xServiceInfo
->
supportsService
(
serviceName
);
return
bSupports
;
return
bSupports
;
}
}
...
...
basctl/source/inc/dlgedobj.hxx
Dosyayı görüntüle @
075a0b30
...
@@ -103,7 +103,7 @@ public:
...
@@ -103,7 +103,7 @@ public:
// FullDrag support
// FullDrag support
virtual
SdrObject
*
getFullDragClone
()
const
;
virtual
SdrObject
*
getFullDragClone
()
const
;
virtual
sal_Bool
supportsService
(
const
sal_Char
*
_pS
erviceName
)
const
;
bool
supportsService
(
OUString
const
&
s
erviceName
)
const
;
virtual
OUString
GetDefaultName
()
const
;
virtual
OUString
GetDefaultName
()
const
;
virtual
OUString
GetUniqueName
()
const
;
virtual
OUString
GetUniqueName
()
const
;
...
...
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