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
5da5b526
Kaydet (Commit)
5da5b526
authored
Eki 08, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/source/ui/inc/ui*.hxx from String to OUString
Change-Id: I2c9844d1a31d058fadc81c8ff935ce2d75f25ad1
üst
2d5ba868
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
24 deletions
+23
-24
uinums.cxx
sw/source/ui/config/uinums.cxx
+3
-3
uinums.hxx
sw/source/ui/inc/uinums.hxx
+10
-10
uitool.hxx
sw/source/ui/inc/uitool.hxx
+2
-2
uivwimp.hxx
sw/source/ui/inc/uivwimp.hxx
+1
-1
outline.cxx
sw/source/ui/misc/outline.cxx
+3
-3
uivwimp.cxx
sw/source/ui/uiview/uivwimp.cxx
+1
-1
uitool.cxx
sw/source/ui/utlui/uitool.cxx
+3
-4
No files found.
sw/source/ui/config/uinums.cxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -58,7 +58,7 @@ using namespace ::com::sun::star;
An old rule at that position will be overwritten.
------------------------------------------------------------------------*/
SwBaseNumRules
::
SwBaseNumRules
(
const
String
&
rFileName
)
SwBaseNumRules
::
SwBaseNumRules
(
const
OU
String
&
rFileName
)
:
sFileName
(
rFileName
),
nVersion
(
0
),
...
...
@@ -175,7 +175,7 @@ void SwChapterNumRules::ApplyNumRules(const SwNumRulesWithName &rCopy, sal_uInt1
}
SwNumRulesWithName
::
SwNumRulesWithName
(
const
SwNumRule
&
rCopy
,
const
String
&
rName
)
const
OU
String
&
rName
)
:
maName
(
rName
)
{
for
(
sal_uInt16
n
=
0
;
n
<
MAXLEVEL
;
++
n
)
...
...
@@ -532,7 +532,7 @@ void SwNumRulesWithName::_SwNumFmtGlobal::ChgNumFmt( SwWrtShell& rSh,
SwNumFmt
&
rNew
)
const
{
SwCharFmt
*
pFmt
=
0
;
if
(
sCharFmtName
.
Len
()
)
if
(
!
sCharFmtName
.
isEmpty
()
)
{
// at first, look for the name
sal_uInt16
nArrLen
=
rSh
.
GetCharFmtCount
();
...
...
sw/source/ui/inc/uinums.hxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -33,13 +33,13 @@ typedef boost::ptr_vector<SfxPoolItem> _SwNumFmtsAttrs;
class
SW_DLLPUBLIC
SwNumRulesWithName
{
String
maName
;
OU
String
maName
;
// the NumRule's formats _have_ to be independent of a document
// (They should always be there!)
class
SW_DLLPRIVATE
_SwNumFmtGlobal
{
SwNumFmt
aFmt
;
String
sCharFmtName
;
OU
String
sCharFmtName
;
sal_uInt16
nCharPoolId
;
_SwNumFmtsAttrs
aItems
;
...
...
@@ -58,17 +58,17 @@ class SW_DLLPUBLIC SwNumRulesWithName
_SwNumFmtGlobal
*
aFmts
[
MAXLEVEL
];
protected
:
void
SetName
(
const
String
&
rSet
)
{
maName
=
rSet
;}
void
SetName
(
const
OU
String
&
rSet
)
{
maName
=
rSet
;}
public
:
SwNumRulesWithName
(
const
SwNumRule
&
,
const
String
&
);
SwNumRulesWithName
(
const
SwNumRule
&
,
const
OU
String
&
);
SwNumRulesWithName
(
const
SwNumRulesWithName
&
);
SwNumRulesWithName
(
SvStream
&
,
sal_uInt16
nVersion
);
~
SwNumRulesWithName
();
const
SwNumRulesWithName
&
operator
=
(
const
SwNumRulesWithName
&
);
const
String
&
GetName
()
const
{
return
maName
;
}
const
OU
String
&
GetName
()
const
{
return
maName
;
}
void
MakeNumRule
(
SwWrtShell
&
rSh
,
SwNumRule
&
rChg
)
const
;
void
Store
(
SvStream
&
);
...
...
@@ -79,10 +79,10 @@ class SwBaseNumRules
public
:
enum
{
nMaxRules
=
MAX_NUM_RULES
};
// currently 9 defined forms
protected
:
SwNumRulesWithName
*
pNumRules
[
MAX_NUM_RULES
];
String
sFileName
;
sal_uInt16
nVersion
;
sal_Bool
bModified
;
SwNumRulesWithName
*
pNumRules
[
MAX_NUM_RULES
];
OU
String
sFileName
;
sal_uInt16
nVersion
;
sal_Bool
bModified
;
virtual
int
Load
(
SvStream
&
);
virtual
sal_Bool
Store
(
SvStream
&
);
...
...
@@ -90,7 +90,7 @@ protected:
void
Init
();
public
:
SwBaseNumRules
(
const
String
&
rFileName
);
SwBaseNumRules
(
const
OU
String
&
rFileName
);
virtual
~
SwBaseNumRules
();
inline
const
SwNumRulesWithName
*
GetRules
(
sal_uInt16
nIdx
)
const
;
...
...
sw/source/ui/inc/uitool.hxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -92,13 +92,13 @@ void SetApplyCharUnit(sal_Bool bApplyChar, sal_Bool bWeb);
SW_DLLPUBLIC
void
FillCharStyleListBox
(
ListBox
&
rToFill
,
SwDocShell
*
pDocSh
,
bool
bSorted
=
false
,
bool
bWithDefault
=
false
);
//inserts a string sorted into a ListBox,
SW_DLLPUBLIC
sal_uInt16
InsertStringSorted
(
const
String
&
rEntry
,
ListBox
&
rToFill
,
sal_uInt16
nOffset
);
SW_DLLPUBLIC
sal_uInt16
InsertStringSorted
(
const
OU
String
&
rEntry
,
ListBox
&
rToFill
,
sal_uInt16
nOffset
);
// Get table width and alignement
SwTwips
GetTableWidth
(
SwFrmFmt
*
pFmt
,
SwTabCols
&
rCols
,
sal_uInt16
*
pPercent
,
SwWrtShell
*
pSh
);
String
GetAppLangDateTimeString
(
const
DateTime
&
);
OU
String
GetAppLangDateTimeString
(
const
DateTime
&
);
// search for a command string withing the menu structure and execute it
// at the dispatcher if there is one, if executed return true
...
...
sw/source/ui/inc/uivwimp.hxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -160,7 +160,7 @@ public:
}
void
StartDocumentInserter
(
const
String
&
rFactory
,
const
Link
&
rEndDialogHdl
);
void
StartDocumentInserter
(
const
OU
String
&
rFactory
,
const
Link
&
rEndDialogHdl
);
SfxMedium
*
CreateMedium
();
void
InitRequest
(
const
SfxRequest
&
rRequest
);
...
...
sw/source/ui/misc/outline.cxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -69,7 +69,7 @@ class SwNumNamesDlg : public ModalDialog
public
:
SwNumNamesDlg
(
Window
*
pParent
);
void
SetUserNames
(
const
String
*
pList
[]);
void
SetUserNames
(
const
OU
String
*
pList
[]);
String
GetName
()
const
{
return
m_pFormEdit
->
GetText
();
}
sal_uInt16
GetCurEntryPos
()
const
{
return
m_pFormBox
->
GetSelectEntryPos
();
}
};
...
...
@@ -87,7 +87,7 @@ IMPL_LINK_INLINE_END( SwNumNamesDlg, SelectHdl, ListBox *, pBox )
*
* @param pList list of user defined names; unknown positions for the user are 0.
*/
void
SwNumNamesDlg
::
SetUserNames
(
const
String
*
pList
[])
void
SwNumNamesDlg
::
SetUserNames
(
const
OU
String
*
pList
[])
{
sal_uInt16
nSelect
=
0
;
for
(
sal_uInt16
i
=
0
;
i
<
SwBaseNumRules
::
nMaxRules
;
++
i
)
...
...
@@ -265,7 +265,7 @@ IMPL_LINK( SwOutlineTabDialog, MenuSelectHdl, Menu *, pMenu )
else
if
(
sIdent
==
"saveas"
)
{
SwNumNamesDlg
*
pDlg
=
new
SwNumNamesDlg
(
this
);
const
String
*
aStrArr
[
SwChapterNumRules
::
nMaxRules
];
const
OU
String
*
aStrArr
[
SwChapterNumRules
::
nMaxRules
];
for
(
sal_uInt16
i
=
0
;
i
<
SwChapterNumRules
::
nMaxRules
;
++
i
)
{
const
SwNumRulesWithName
*
pRules
=
pChapterNumRules
->
GetRules
(
i
);
...
...
sw/source/ui/uiview/uivwimp.cxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -232,7 +232,7 @@ void SwView_Impl::AddTransferable(SwTransferable& rTransferable)
rTransferable
.
m_refCount
--
;
}
void
SwView_Impl
::
StartDocumentInserter
(
const
String
&
rFactory
,
const
Link
&
rEndDialogHdl
)
void
SwView_Impl
::
StartDocumentInserter
(
const
OU
String
&
rFactory
,
const
Link
&
rEndDialogHdl
)
{
delete
m_pDocInserter
;
m_pDocInserter
=
new
::
sfx2
::
DocumentInserter
(
rFactory
);
...
...
sw/source/ui/utlui/uitool.cxx
Dosyayı görüntüle @
5da5b526
...
...
@@ -662,7 +662,7 @@ void SetDfltMetric( FieldUnit eMetric, sal_Bool bWeb )
SW_MOD
()
->
ApplyUserMetric
(
eMetric
,
bWeb
);
}
sal_uInt16
InsertStringSorted
(
const
String
&
rEntry
,
ListBox
&
rToFill
,
sal_uInt16
nOffset
)
sal_uInt16
InsertStringSorted
(
const
OU
String
&
rEntry
,
ListBox
&
rToFill
,
sal_uInt16
nOffset
)
{
sal_uInt16
i
=
nOffset
;
CollatorWrapper
&
rCaseColl
=
::
GetAppCaseCollator
();
...
...
@@ -759,12 +759,11 @@ SwTwips GetTableWidth( SwFrmFmt* pFmt, SwTabCols& rCols, sal_uInt16 *pPercent,
return
nWidth
;
}
String
GetAppLangDateTimeString
(
const
DateTime
&
rDT
)
OU
String
GetAppLangDateTimeString
(
const
DateTime
&
rDT
)
{
const
SvtSysLocale
aSysLocale
;
const
LocaleDataWrapper
&
rAppLclData
=
aSysLocale
.
GetLocaleData
();
String
sRet
(
rAppLclData
.
getDate
(
rDT
));
(
sRet
+=
' '
)
+=
rAppLclData
.
getTime
(
rDT
,
sal_False
,
sal_False
);
OUString
sRet
=
rAppLclData
.
getDate
(
rDT
)
+
" "
+
rAppLclData
.
getTime
(
rDT
,
sal_False
,
sal_False
);
return
sRet
;
}
...
...
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