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
c8b19bdd
Kaydet (Commit)
c8b19bdd
authored
May 19, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringcopy: starmath
Change-Id: I2687b8ce4b20871f50401cbc50746c35b9668eba
üst
02d0f134
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
accessibility.cxx
starmath/source/accessibility.cxx
+1
-1
cfgitem.cxx
starmath/source/cfgitem.cxx
+1
-1
document.cxx
starmath/source/document.cxx
+1
-1
parse.cxx
starmath/source/parse.cxx
+1
-1
unomodel.cxx
starmath/source/unomodel.cxx
+2
-2
view.cxx
starmath/source/view.cxx
+1
-1
No files found.
starmath/source/accessibility.cxx
Dosyayı görüntüle @
c8b19bdd
...
@@ -320,7 +320,7 @@ OUString SAL_CALL SmGraphicAccessible::getAccessibleDescription()
...
@@ -320,7 +320,7 @@ OUString SAL_CALL SmGraphicAccessible::getAccessibleDescription()
{
{
SolarMutexGuard
aGuard
;
SolarMutexGuard
aGuard
;
SmDocShell
*
pDoc
=
GetDoc_Impl
();
SmDocShell
*
pDoc
=
GetDoc_Impl
();
return
pDoc
?
OUString
(
pDoc
->
GetText
()
)
:
OUString
();
return
pDoc
?
pDoc
->
GetText
(
)
:
OUString
();
}
}
OUString
SAL_CALL
SmGraphicAccessible
::
getAccessibleName
()
OUString
SAL_CALL
SmGraphicAccessible
::
getAccessibleName
()
...
...
starmath/source/cfgitem.cxx
Dosyayı görüntüle @
c8b19bdd
...
@@ -683,7 +683,7 @@ void SmMathConfig::SaveFontFormatList()
...
@@ -683,7 +683,7 @@ void SmMathConfig::SaveFontFormatList()
// Name
// Name
pVal
->
Name
=
aNodeNameDelim
;
pVal
->
Name
=
aNodeNameDelim
;
pVal
->
Name
+=
*
pName
++
;
pVal
->
Name
+=
*
pName
++
;
pVal
->
Value
<<=
OUString
(
aFntFmt
.
aName
)
;
pVal
->
Value
<<=
aFntFmt
.
aName
;
pVal
++
;
pVal
++
;
// CharSet
// CharSet
pVal
->
Name
=
aNodeNameDelim
;
pVal
->
Name
=
aNodeNameDelim
;
...
...
starmath/source/document.cxx
Dosyayı görüntüle @
c8b19bdd
...
@@ -1045,7 +1045,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
...
@@ -1045,7 +1045,7 @@ void SmDocShell::Execute(SfxRequest& rReq)
case
SID_TEXT
:
case
SID_TEXT
:
{
{
const
SfxStringItem
&
rItem
=
static_cast
<
const
SfxStringItem
&>
(
rReq
.
GetArgs
()
->
Get
(
SID_TEXT
));
const
SfxStringItem
&
rItem
=
static_cast
<
const
SfxStringItem
&>
(
rReq
.
GetArgs
()
->
Get
(
SID_TEXT
));
if
(
GetText
()
!=
OUString
(
rItem
.
GetValue
()
))
if
(
GetText
()
!=
rItem
.
GetValue
(
))
SetText
(
rItem
.
GetValue
());
SetText
(
rItem
.
GetValue
());
}
}
break
;
break
;
...
...
starmath/source/parse.cxx
Dosyayı görüntüle @
c8b19bdd
...
@@ -1813,7 +1813,7 @@ SmStructureNode *SmParser::DoFontSize()
...
@@ -1813,7 +1813,7 @@ SmStructureNode *SmParser::DoFontSize()
Fraction
aValue
(
1L
);
Fraction
aValue
(
1L
);
if
(
lcl_IsNumber
(
m_aCurToken
.
aText
))
if
(
lcl_IsNumber
(
m_aCurToken
.
aText
))
{
{
double
fTmp
=
OUString
(
m_aCurToken
.
aText
)
.
toDouble
();
double
fTmp
=
m_aCurToken
.
aText
.
toDouble
();
if
(
fTmp
!=
0.0
)
if
(
fTmp
!=
0.0
)
{
{
aValue
=
fTmp
;
aValue
=
fTmp
;
...
...
starmath/source/unomodel.cxx
Dosyayı görüntüle @
c8b19bdd
...
@@ -444,7 +444,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
...
@@ -444,7 +444,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
if
(
sFontName
.
isEmpty
())
if
(
sFontName
.
isEmpty
())
throw
IllegalArgumentException
();
throw
IllegalArgumentException
();
if
(
OUString
(
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
).
GetFamilyName
()
)
!=
sFontName
)
if
(
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
).
GetFamilyName
(
)
!=
sFontName
)
{
{
const
SmFace
rOld
=
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
);
const
SmFace
rOld
=
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
);
...
@@ -802,7 +802,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu
...
@@ -802,7 +802,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu
case
HANDLE_PRINTER_NAME
:
case
HANDLE_PRINTER_NAME
:
{
{
SfxPrinter
*
pPrinter
=
pDocSh
->
GetPrinter
(
);
SfxPrinter
*
pPrinter
=
pDocSh
->
GetPrinter
(
);
*
pValue
<<=
pPrinter
?
OUString
(
pPrinter
->
GetName
()
)
:
OUString
();
*
pValue
<<=
pPrinter
?
pPrinter
->
GetName
(
)
:
OUString
();
}
}
break
;
break
;
case
HANDLE_PRINTER_SETUP
:
case
HANDLE_PRINTER_SETUP
:
...
...
starmath/source/view.cxx
Dosyayı görüntüle @
c8b19bdd
...
@@ -655,7 +655,7 @@ void SmEditController::StateChanged(sal_uInt16 nSID, SfxItemState eState, const
...
@@ -655,7 +655,7 @@ void SmEditController::StateChanged(sal_uInt16 nSID, SfxItemState eState, const
{
{
const
SfxStringItem
*
pItem
=
dynamic_cast
<
const
SfxStringItem
*>
(
pState
);
const
SfxStringItem
*
pItem
=
dynamic_cast
<
const
SfxStringItem
*>
(
pState
);
if
((
pItem
!=
nullptr
)
&&
(
rEdit
.
GetText
()
!=
OUString
(
pItem
->
GetValue
()
)))
if
((
pItem
!=
nullptr
)
&&
(
rEdit
.
GetText
()
!=
pItem
->
GetValue
(
)))
rEdit
.
SetText
(
pItem
->
GetValue
());
rEdit
.
SetText
(
pItem
->
GetValue
());
SfxControllerItem
::
StateChanged
(
nSID
,
eState
,
pState
);
SfxControllerItem
::
StateChanged
(
nSID
,
eState
,
pState
);
}
}
...
...
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