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
470b2934
Kaydet (Commit)
470b2934
authored
Tem 31, 2011
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
üst
268fe75e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
22 deletions
+17
-22
olecomponent.cxx
embeddedobj/source/msole/olecomponent.cxx
+2
-2
xexecutor.hxx
embeddedobj/test/MainThreadExecutor/xexecutor.hxx
+1
-1
saxnamespacefilter.cxx
framework/source/fwe/xml/saxnamespacefilter.cxx
+3
-3
toolboxdocumenthandler.cxx
framework/source/fwe/xml/toolboxdocumenthandler.cxx
+0
-2
newmenucontroller.cxx
framework/source/uielement/newmenucontroller.cxx
+1
-1
spinfieldtoolbarcontroller.cxx
framework/source/uielement/spinfieldtoolbarcontroller.cxx
+9
-12
toolbarmanager.cxx
framework/source/uielement/toolbarmanager.cxx
+1
-1
No files found.
embeddedobj/source/msole/olecomponent.cxx
Dosyayı görüntüle @
470b2934
...
@@ -478,7 +478,7 @@ OleComponent::~OleComponent()
...
@@ -478,7 +478,7 @@ OleComponent::~OleComponent()
for
(
FormatEtcList
::
iterator
aIter
=
m_pNativeImpl
->
m_aFormatsList
.
begin
();
for
(
FormatEtcList
::
iterator
aIter
=
m_pNativeImpl
->
m_aFormatsList
.
begin
();
aIter
!=
m_pNativeImpl
->
m_aFormatsList
.
end
();
aIter
!=
m_pNativeImpl
->
m_aFormatsList
.
end
();
aIter
++
)
++
aIter
)
{
{
delete
(
*
aIter
);
delete
(
*
aIter
);
(
*
aIter
)
=
NULL
;
(
*
aIter
)
=
NULL
;
...
@@ -500,7 +500,7 @@ FORMATETC* OleComponentNative_Impl::GetSupportedFormatForAspect( sal_uInt32 nReq
...
@@ -500,7 +500,7 @@ FORMATETC* OleComponentNative_Impl::GetSupportedFormatForAspect( sal_uInt32 nReq
{
{
for
(
FormatEtcList
::
iterator
aIter
=
m_aFormatsList
.
begin
();
for
(
FormatEtcList
::
iterator
aIter
=
m_aFormatsList
.
begin
();
aIter
!=
m_aFormatsList
.
end
();
aIter
!=
m_aFormatsList
.
end
();
aIter
++
)
++
aIter
)
if
(
(
*
aIter
)
&&
(
*
aIter
)
->
dwAspect
==
nRequestedAspect
)
if
(
(
*
aIter
)
&&
(
*
aIter
)
->
dwAspect
==
nRequestedAspect
)
return
(
*
aIter
);
return
(
*
aIter
);
...
...
embeddedobj/test/MainThreadExecutor/xexecutor.hxx
Dosyayı görüntüle @
470b2934
...
@@ -81,7 +81,7 @@ public:
...
@@ -81,7 +81,7 @@ public:
DECL_LINK
(
executor
,
void
*
);
DECL_LINK
(
executor
,
void
*
);
sal_Bool
isExecuted
()
{
return
m_bExecuted
;
}
sal_Bool
isExecuted
()
const
{
return
m_bExecuted
;
}
};
};
#endif
#endif
...
...
framework/source/fwe/xml/saxnamespacefilter.cxx
Dosyayı görüntüle @
470b2934
...
@@ -117,7 +117,7 @@ void SAL_CALL SaxNamespaceFilter::startElement(
...
@@ -117,7 +117,7 @@ void SAL_CALL SaxNamespaceFilter::startElement(
catch
(
SAXException
&
e
)
catch
(
SAXException
&
e
)
{
{
e
.
Message
=
::
rtl
::
OUString
(
getErrorLineString
()
+
e
.
Message
);
e
.
Message
=
::
rtl
::
OUString
(
getErrorLineString
()
+
e
.
Message
);
throw
e
;
throw
;
}
}
::
rtl
::
OUString
aNamespaceElementName
;
::
rtl
::
OUString
aNamespaceElementName
;
...
@@ -129,7 +129,7 @@ void SAL_CALL SaxNamespaceFilter::startElement(
...
@@ -129,7 +129,7 @@ void SAL_CALL SaxNamespaceFilter::startElement(
catch
(
SAXException
&
e
)
catch
(
SAXException
&
e
)
{
{
e
.
Message
=
::
rtl
::
OUString
(
getErrorLineString
()
+
e
.
Message
);
e
.
Message
=
::
rtl
::
OUString
(
getErrorLineString
()
+
e
.
Message
);
throw
e
;
throw
;
}
}
xDocumentHandler
->
startElement
(
aNamespaceElementName
,
pNewList
);
xDocumentHandler
->
startElement
(
aNamespaceElementName
,
pNewList
);
...
@@ -148,7 +148,7 @@ void SAL_CALL SaxNamespaceFilter::endElement(const rtl::OUString& aName)
...
@@ -148,7 +148,7 @@ void SAL_CALL SaxNamespaceFilter::endElement(const rtl::OUString& aName)
catch
(
SAXException
&
e
)
catch
(
SAXException
&
e
)
{
{
e
.
Message
=
::
rtl
::
OUString
(
getErrorLineString
()
+
e
.
Message
);
e
.
Message
=
::
rtl
::
OUString
(
getErrorLineString
()
+
e
.
Message
);
throw
e
;
throw
;
}
}
xDocumentHandler
->
endElement
(
aNamespaceElementName
);
xDocumentHandler
->
endElement
(
aNamespaceElementName
);
...
...
framework/source/fwe/xml/toolboxdocumenthandler.cxx
Dosyayı görüntüle @
470b2934
...
@@ -398,8 +398,6 @@ throw( SAXException, RuntimeException )
...
@@ -398,8 +398,6 @@ throw( SAXException, RuntimeException )
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
ALIGN_LEFT
;
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
ALIGN_LEFT
;
else
if
(
nHashCode
==
m_nHashCode_Style_AutoSize
)
else
if
(
nHashCode
==
m_nHashCode_Style_AutoSize
)
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
AUTO_SIZE
;
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
AUTO_SIZE
;
else
if
(
nHashCode
==
m_nHashCode_Style_DropDown
)
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
DROP_DOWN
;
else
if
(
nHashCode
==
m_nHashCode_Style_Repeat
)
else
if
(
nHashCode
==
m_nHashCode_Style_Repeat
)
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
REPEAT
;
nItemBits
|=
::
com
::
sun
::
star
::
ui
::
ItemStyle
::
REPEAT
;
else
if
(
nHashCode
==
m_nHashCode_Style_DropDownOnly
)
else
if
(
nHashCode
==
m_nHashCode_Style_DropDownOnly
)
...
...
framework/source/uielement/newmenucontroller.cxx
Dosyayı görüntüle @
470b2934
...
@@ -531,7 +531,7 @@ void NewMenuController::impl_setPopupMenu()
...
@@ -531,7 +531,7 @@ void NewMenuController::impl_setPopupMenu()
}
}
catch
(
RuntimeException
&
e
)
catch
(
RuntimeException
&
e
)
{
{
throw
e
;
throw
;
}
}
catch
(
Exception
&
)
catch
(
Exception
&
)
{
{
...
...
framework/source/uielement/spinfieldtoolbarcontroller.cxx
Dosyayı görüntüle @
470b2934
...
@@ -373,12 +373,11 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
...
@@ -373,12 +373,11 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
{
{
for
(
sal_Int32
i
=
0
;
i
<
rControlCommand
.
Arguments
.
getLength
();
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
rControlCommand
.
Arguments
.
getLength
();
i
++
)
{
{
sal_Int32
nValue
;
double
fValue
;
bool
bFloat
(
false
);
if
(
rControlCommand
.
Arguments
[
i
].
Name
.
equalsAsciiL
(
"Step"
,
4
))
if
(
rControlCommand
.
Arguments
[
i
].
Name
.
equalsAsciiL
(
"Step"
,
4
))
{
{
sal_Int32
nValue
;
double
fValue
;
bool
bFloat
(
false
);
if
(
impl_getValue
(
rControlCommand
.
Arguments
[
i
].
Value
,
nValue
,
fValue
,
bFloat
))
if
(
impl_getValue
(
rControlCommand
.
Arguments
[
i
].
Value
,
nValue
,
fValue
,
bFloat
))
aStep
=
bFloat
?
::
rtl
::
OUString
::
valueOf
(
fValue
)
:
aStep
=
bFloat
?
::
rtl
::
OUString
::
valueOf
(
fValue
)
:
::
rtl
::
OUString
::
valueOf
(
nValue
);
::
rtl
::
OUString
::
valueOf
(
nValue
);
...
@@ -439,12 +438,11 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
...
@@ -439,12 +438,11 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
{
{
for
(
sal_Int32
i
=
0
;
i
<
rControlCommand
.
Arguments
.
getLength
();
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
rControlCommand
.
Arguments
.
getLength
();
i
++
)
{
{
sal_Int32
nValue
;
double
fValue
;
bool
bFloat
(
false
);
if
(
rControlCommand
.
Arguments
[
i
].
Name
.
equalsAsciiL
(
"LowerLimit"
,
10
))
if
(
rControlCommand
.
Arguments
[
i
].
Name
.
equalsAsciiL
(
"LowerLimit"
,
10
))
{
{
sal_Int32
nValue
;
double
fValue
;
bool
bFloat
(
false
);
if
(
impl_getValue
(
rControlCommand
.
Arguments
[
i
].
Value
,
nValue
,
fValue
,
bFloat
))
if
(
impl_getValue
(
rControlCommand
.
Arguments
[
i
].
Value
,
nValue
,
fValue
,
bFloat
))
aMin
=
bFloat
?
::
rtl
::
OUString
::
valueOf
(
fValue
)
:
aMin
=
bFloat
?
::
rtl
::
OUString
::
valueOf
(
fValue
)
:
::
rtl
::
OUString
::
valueOf
(
nValue
);
::
rtl
::
OUString
::
valueOf
(
nValue
);
...
@@ -456,12 +454,11 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
...
@@ -456,12 +454,11 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
{
{
for
(
sal_Int32
i
=
0
;
i
<
rControlCommand
.
Arguments
.
getLength
();
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
rControlCommand
.
Arguments
.
getLength
();
i
++
)
{
{
sal_Int32
nValue
;
double
fValue
;
bool
bFloat
(
false
);
if
(
rControlCommand
.
Arguments
[
i
].
Name
.
equalsAsciiL
(
"UpperLimit"
,
10
))
if
(
rControlCommand
.
Arguments
[
i
].
Name
.
equalsAsciiL
(
"UpperLimit"
,
10
))
{
{
sal_Int32
nValue
;
double
fValue
;
bool
bFloat
(
false
);
if
(
impl_getValue
(
rControlCommand
.
Arguments
[
i
].
Value
,
nValue
,
fValue
,
bFloat
))
if
(
impl_getValue
(
rControlCommand
.
Arguments
[
i
].
Value
,
nValue
,
fValue
,
bFloat
))
aMax
=
bFloat
?
::
rtl
::
OUString
::
valueOf
(
fValue
)
:
aMax
=
bFloat
?
::
rtl
::
OUString
::
valueOf
(
fValue
)
:
::
rtl
::
OUString
::
valueOf
(
nValue
);
::
rtl
::
OUString
::
valueOf
(
nValue
);
...
...
framework/source/uielement/toolbarmanager.cxx
Dosyayı görüntüle @
470b2934
...
@@ -1584,7 +1584,7 @@ void ToolBarManager::notifyRegisteredControllers( const rtl::OUString& aUIElemen
...
@@ -1584,7 +1584,7 @@ void ToolBarManager::notifyRegisteredControllers( const rtl::OUString& aUIElemen
}
}
catch
(
RuntimeException
&
e
)
catch
(
RuntimeException
&
e
)
{
{
throw
e
;
throw
;
}
}
catch
(
Exception
&
)
catch
(
Exception
&
)
{
{
...
...
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