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
10272d32
Kaydet (Commit)
10272d32
authored
Eki 01, 2012
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
String -> OUString
Change-Id: Ibbd6305e78738403b5140a27125f452b3ec2ec8b
üst
b31f9715
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
unomodel.cxx
starmath/source/unomodel.cxx
+7
-11
No files found.
starmath/source/unomodel.cxx
Dosyayı görüntüle @
10272d32
...
...
@@ -58,9 +58,6 @@ using namespace ::com::sun::star::formula;
using
namespace
::
com
::
sun
::
star
::
view
;
using
namespace
::
com
::
sun
::
star
::
script
;
using
rtl
::
OUString
;
#define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L))
#define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L))
...
...
@@ -91,9 +88,9 @@ SmPrintUIOptions::SmPrintUIOptions()
// create Section for formula (results in an extra tab page in dialog)
SvtModuleOptions
aOpt
;
String
aAppGroupname
(
aLocalizedStrings
.
GetString
(
0
)
);
aAppGroupname
.
SearchAndReplace
(
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"%s"
)
),
aOpt
.
GetModuleName
(
SvtModuleOptions
::
E_SMATH
)
);
OUString
aAppGroupname
(
aLocalizedStrings
.
GetString
(
0
).
replaceFirst
(
"%s"
,
aOpt
.
GetModuleName
(
SvtModuleOptions
::
E_SMATH
)
)
);
m_aUIProperties
[
nIdx
++
].
Value
=
setGroupControlOpt
(
"tabcontrol-page2"
,
aAppGroupname
,
".HelpID:vcl:PrintDialog:TabPage:AppPage"
);
// create subgroup for print options
...
...
@@ -473,13 +470,12 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
case
HANDLE_CUSTOM_FONT_NAME_SANS
:
case
HANDLE_CUSTOM_FONT_NAME_FIXED
:
{
OUString
aText
;
*
pValues
>>=
aText
;
String
sFontName
=
aText
;
if
(
!
sFontName
.
Len
())
OUString
sFontName
;
*
pValues
>>=
sFontName
;
if
(
sFontName
.
isEmpty
())
throw
IllegalArgumentException
();
if
(
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
).
GetName
(
)
!=
sFontName
)
if
(
OUString
(
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
).
GetName
()
)
!=
sFontName
)
{
const
SmFace
rOld
=
aFormat
.
GetFont
((
*
ppEntries
)
->
mnMemberId
);
...
...
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