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
0b23ac2c
Kaydet (Commit)
0b23ac2c
authored
Eyl 29, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vbahelper: std::auto_ptr -> std::unique_ptr
Change-Id: Ic1b28e7f79cc7dad6a045eb64e5191991533990d
üst
b78b1434
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
11 deletions
+7
-11
vbahelper.hxx
include/vbahelper/vbahelper.hxx
+1
-1
vbashape.hxx
include/vbahelper/vbashape.hxx
+1
-3
vbacombobox.hxx
vbahelper/source/msforms/vbacombobox.hxx
+1
-1
vbacontrol.cxx
vbahelper/source/msforms/vbacontrol.cxx
+2
-2
vbacontrol.hxx
vbahelper/source/msforms/vbacontrol.hxx
+1
-1
vbalistbox.hxx
vbahelper/source/msforms/vbalistbox.hxx
+1
-3
No files found.
include/vbahelper/vbahelper.hxx
Dosyayı görüntüle @
0b23ac2c
...
@@ -173,7 +173,7 @@ public:
...
@@ -173,7 +173,7 @@ public:
class
VBAHELPER_DLLPUBLIC
ConcreteXShapeGeometryAttributes
:
public
AbstractGeometryAttributes
class
VBAHELPER_DLLPUBLIC
ConcreteXShapeGeometryAttributes
:
public
AbstractGeometryAttributes
{
{
std
::
auto
_ptr
<
ShapeHelper
>
m_pShapeHelper
;
std
::
unique
_ptr
<
ShapeHelper
>
m_pShapeHelper
;
public
:
public
:
ConcreteXShapeGeometryAttributes
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>&
xShape
);
ConcreteXShapeGeometryAttributes
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>&
xShape
);
virtual
double
getLeft
()
const
SAL_OVERRIDE
;
virtual
double
getLeft
()
const
SAL_OVERRIDE
;
...
...
include/vbahelper/vbashape.hxx
Dosyayı görüntüle @
0b23ac2c
...
@@ -37,9 +37,7 @@ typedef InheritedHelperInterfaceImpl< ListeningShape > ScVbaShape_BASE;
...
@@ -37,9 +37,7 @@ typedef InheritedHelperInterfaceImpl< ListeningShape > ScVbaShape_BASE;
class
VBAHELPER_DLLPUBLIC
ScVbaShape
:
public
ScVbaShape_BASE
class
VBAHELPER_DLLPUBLIC
ScVbaShape
:
public
ScVbaShape_BASE
{
{
protected
:
protected
:
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std
::
unique_ptr
<
ov
::
ShapeHelper
>
m_pShapeHelper
;
std
::
auto_ptr
<
ov
::
ShapeHelper
>
m_pShapeHelper
;
SAL_WNODEPRECATED_DECLARATIONS_POP
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
m_xShape
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
m_xShape
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShapes
>
m_xShapes
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShapes
>
m_xShapes
;
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
m_xPropertySet
;
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
m_xPropertySet
;
...
...
vbahelper/source/msforms/vbacombobox.hxx
Dosyayı görüntüle @
0b23ac2c
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
typedef
cppu
::
ImplInheritanceHelper2
<
ScVbaControl
,
ov
::
msforms
::
XComboBox
,
css
::
script
::
XDefaultProperty
>
ComboBoxImpl_BASE
;
typedef
cppu
::
ImplInheritanceHelper2
<
ScVbaControl
,
ov
::
msforms
::
XComboBox
,
css
::
script
::
XDefaultProperty
>
ComboBoxImpl_BASE
;
class
ScVbaComboBox
:
public
ComboBoxImpl_BASE
class
ScVbaComboBox
:
public
ComboBoxImpl_BASE
{
{
std
::
auto
_ptr
<
ListControlHelper
>
mpListHelper
;
std
::
unique
_ptr
<
ListControlHelper
>
mpListHelper
;
OUString
sSourceName
;
OUString
sSourceName
;
OUString
msDftPropName
;
OUString
msDftPropName
;
...
...
vbahelper/source/msforms/vbacontrol.cxx
Dosyayı görüntüle @
0b23ac2c
...
@@ -611,7 +611,7 @@ void SAL_CALL ScVbaControl::setTabIndex( sal_Int32 /*nTabIndex*/ ) throw (uno::R
...
@@ -611,7 +611,7 @@ void SAL_CALL ScVbaControl::setTabIndex( sal_Int32 /*nTabIndex*/ ) throw (uno::R
xProps
->
getPropertyValue
(
"ClassId"
)
>>=
nClassId
;
xProps
->
getPropertyValue
(
"ClassId"
)
>>=
nClassId
;
uno
::
Reference
<
XHelperInterface
>
xVbaParent
;
// #FIXME - should be worksheet I guess
uno
::
Reference
<
XHelperInterface
>
xVbaParent
;
// #FIXME - should be worksheet I guess
uno
::
Reference
<
drawing
::
XShape
>
xShape
(
xControlShape
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
drawing
::
XShape
>
xShape
(
xControlShape
,
uno
::
UNO_QUERY_THROW
);
::
std
::
auto
_ptr
<
ConcreteXShapeGeometryAttributes
>
xGeoHelper
(
new
ConcreteXShapeGeometryAttributes
(
xContext
,
xShape
)
);
::
std
::
unique
_ptr
<
ConcreteXShapeGeometryAttributes
>
xGeoHelper
(
new
ConcreteXShapeGeometryAttributes
(
xContext
,
xShape
)
);
switch
(
nClassId
)
switch
(
nClassId
)
{
{
case
form
:
:
FormComponentType
::
COMBOBOX
:
case
form
:
:
FormComponentType
::
COMBOBOX
:
...
@@ -656,7 +656,7 @@ void SAL_CALL ScVbaControl::setTabIndex( sal_Int32 /*nTabIndex*/ ) throw (uno::R
...
@@ -656,7 +656,7 @@ void SAL_CALL ScVbaControl::setTabIndex( sal_Int32 /*nTabIndex*/ ) throw (uno::R
uno
::
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
xProps
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
xProps
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
msforms
::
XControl
>
xVBAControl
;
uno
::
Reference
<
msforms
::
XControl
>
xVBAControl
;
uno
::
Reference
<
XHelperInterface
>
xVbaParent
;
// #FIXME - should be worksheet I guess
uno
::
Reference
<
XHelperInterface
>
xVbaParent
;
// #FIXME - should be worksheet I guess
::
std
::
auto
_ptr
<
UserFormGeometryHelper
>
xGeoHelper
(
new
UserFormGeometryHelper
(
xContext
,
xControl
,
fOffsetX
,
fOffsetY
)
);
::
std
::
unique
_ptr
<
UserFormGeometryHelper
>
xGeoHelper
(
new
UserFormGeometryHelper
(
xContext
,
xControl
,
fOffsetX
,
fOffsetY
)
);
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.awt.UnoControlCheckBoxModel"
)
)
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.awt.UnoControlCheckBoxModel"
)
)
xVBAControl
.
set
(
new
ScVbaCheckbox
(
xVbaParent
,
xContext
,
xControl
,
xModel
,
xGeoHelper
.
release
()
)
);
xVBAControl
.
set
(
new
ScVbaCheckbox
(
xVbaParent
,
xContext
,
xControl
,
xModel
,
xGeoHelper
.
release
()
)
);
...
...
vbahelper/source/msforms/vbacontrol.hxx
Dosyayı görüntüle @
0b23ac2c
...
@@ -49,7 +49,7 @@ protected:
...
@@ -49,7 +49,7 @@ protected:
bool
bIsDialog
;
bool
bIsDialog
;
OUString
m_sLibraryAndCodeName
;
OUString
m_sLibraryAndCodeName
;
std
::
auto
_ptr
<
ov
::
AbstractGeometryAttributes
>
mpGeometryHelper
;
std
::
unique
_ptr
<
ov
::
AbstractGeometryAttributes
>
mpGeometryHelper
;
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
m_xProps
;
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
m_xProps
;
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
m_xControl
;
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
m_xControl
;
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
m_xModel
;
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
m_xModel
;
...
...
vbahelper/source/msforms/vbalistbox.hxx
Dosyayı görüntüle @
0b23ac2c
...
@@ -33,9 +33,7 @@ typedef cppu::ImplInheritanceHelper2<ScVbaControl, ov::msforms::XListBox, css::s
...
@@ -33,9 +33,7 @@ typedef cppu::ImplInheritanceHelper2<ScVbaControl, ov::msforms::XListBox, css::s
class
ScVbaListBox
:
public
ListBoxImpl_BASE
class
ScVbaListBox
:
public
ListBoxImpl_BASE
,
public
PropListener
,
public
PropListener
{
{
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std
::
unique_ptr
<
ListControlHelper
>
mpListHelper
;
std
::
auto_ptr
<
ListControlHelper
>
mpListHelper
;
SAL_WNODEPRECATED_DECLARATIONS_POP
OUString
sSourceName
;
OUString
sSourceName
;
OUString
msDftPropName
;
OUString
msDftPropName
;
...
...
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