diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-01 00:52:57 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-01 00:52:57 +0100 |
commit | 399b92edc74cc06f800b17cd96059aa1f58e6501 (patch) | |
tree | a1f177f8467bd3fcae630d0c6bc5d403ee25d4c8 | |
parent | ed10194ea833b42b486bdc5b4c18ef7e63862b89 (diff) |
OUString::valueOf ambiguous overloads
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/page.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tpcolor.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 7bd349b8dcde..12c267b028a9 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1036,8 +1036,8 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( sal_Bool bCheckCatChange /*= sa aEdLeadZeroes .Disable(); aBtnNegRed .Disable(); aBtnThousand .Disable(); - aEdDecimals .SetText( OUString::valueOf( 0 ) ); - aEdLeadZeroes .SetText( OUString::valueOf( 0 ) ); + aEdDecimals .SetText( OUString::valueOf( static_cast<sal_Int32>(0) ) ); + aEdLeadZeroes .SetText( OUString::valueOf( static_cast<sal_Int32>(0) ) ); aBtnNegRed .Check( sal_False ); aBtnThousand .Check( sal_False ); } diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index b29d37b851a6..50b6a5746657 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -944,7 +944,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperBinHdl_Impl) { aName = aPaperBin; aName.Append( sal_Unicode(' ') ); - aName.Append( OUString::valueOf( i+1 ) ); + aName.Append( OUString::valueOf( static_cast<sal_Int32>(i+1) ) ); } nEntryPos = aPaperTrayBox.InsertEntry( aName ); aPaperTrayBox.SetEntryData( nEntryPos, (void*)(sal_uLong)i ); diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 6893994b9686..9f4f98d37885 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -1223,7 +1223,7 @@ sal_uInt16 SvxColorTabPage::PercentToColor_Impl( sal_uInt16 nPercent ) void SvxColorTabPage::FillUserData() { // the color model is saved in the Ini-file - SetUserData( OUString::valueOf( eCM ) ); + SetUserData( OUString::valueOf( static_cast<sal_Int32>(eCM) ) ); } //------------------------------------------------------------------------ |