Home
last modified time | relevance | path

Searched refs:o3tl (Results 1 – 25 of 2302) sorted by relevance

12345678910>>...93

/dports/editors/libreoffice/libreoffice-7.2.6.2/o3tl/qa/
H A Dtest-unit_conversion.cxx25 static_assert(eq(o3tl::convert(1.0, o3tl::Length::mm100, o3tl::Length::mm100), 1));
26 static_assert(eq(o3tl::convert(1.0, o3tl::Length::mm10, o3tl::Length::mm100), 10));
27 static_assert(eq(o3tl::convert(1.0, o3tl::Length::mm, o3tl::Length::mm100), 100));
28 static_assert(eq(o3tl::convert(1.0, o3tl::Length::cm, o3tl::Length::mm100), 1000));
29 static_assert(eq(o3tl::convert(1.0, o3tl::Length::m, o3tl::Length::mm100), 100000));
30 static_assert(eq(o3tl::convert(1.0, o3tl::Length::km, o3tl::Length::mm100), 100E6));
31 static_assert(eq(o3tl::convert(360.0, o3tl::Length::emu, o3tl::Length::mm100), 1));
33 static_assert(eq(o3tl::convert(18.0, o3tl::Length::pt, o3tl::Length::mm100), 635));
34 static_assert(eq(o3tl::convert(3.0, o3tl::Length::pc, o3tl::Length::mm100), 1270));
48 static_assert(eq(o3tl::convert(1.0, o3tl::Length::mm, o3tl::Length::mm10), 10));
[all …]
H A Dtest-safeint.cxx37 CPPUNIT_ASSERT_EQUAL(min, o3tl::saturating_add(min, -1)); in testSignedSaturatingAdd()
38 CPPUNIT_ASSERT_EQUAL(min, o3tl::saturating_add(min, 0)); in testSignedSaturatingAdd()
53 CPPUNIT_ASSERT_EQUAL(-2, o3tl::saturating_add(-1, -1)); in testSignedSaturatingAdd()
54 CPPUNIT_ASSERT_EQUAL(-1, o3tl::saturating_add(-1, 0)); in testSignedSaturatingAdd()
55 CPPUNIT_ASSERT_EQUAL(0, o3tl::saturating_add(-1, 1)); in testSignedSaturatingAdd()
61 CPPUNIT_ASSERT_EQUAL(-1, o3tl::saturating_add(0, -1)); in testSignedSaturatingAdd()
62 CPPUNIT_ASSERT_EQUAL(0, o3tl::saturating_add(0, 0)); in testSignedSaturatingAdd()
63 CPPUNIT_ASSERT_EQUAL(1, o3tl::saturating_add(0, 1)); in testSignedSaturatingAdd()
69 CPPUNIT_ASSERT_EQUAL(0, o3tl::saturating_add(1, -1)); in testSignedSaturatingAdd()
70 CPPUNIT_ASSERT_EQUAL(1, o3tl::saturating_add(1, 0)); in testSignedSaturatingAdd()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/o3tl/
H A Dtyped_flags_set.hxx30 namespace o3tl { namespace
106 o3tl::detail::isNonNegative( in operator ~()
109 o3tl::typed_flags<E>::mask in operator ~()
117 o3tl::typed_flags<E>::mask in operator ~()
125 o3tl::detail::isNonNegative( in operator ^()
128 o3tl::detail::isNonNegative( in operator ^()
139 o3tl::detail::isNonNegative( in operator ^()
150 o3tl::detail::isNonNegative( in operator ^()
169 o3tl::detail::isNonNegative( in operator &()
172 o3tl::detail::isNonNegative( in operator &()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/o3tl/
H A Dtyped_flags_set.hxx31 namespace o3tl { namespace
107 o3tl::detail::isNonNegative( in operator ~()
110 o3tl::typed_flags<E>::mask in operator ~()
118 o3tl::typed_flags<E>::mask in operator ~()
126 o3tl::detail::isNonNegative( in operator ^()
129 o3tl::detail::isNonNegative( in operator ^()
140 o3tl::detail::isNonNegative( in operator ^()
151 o3tl::detail::isNonNegative( in operator ^()
170 o3tl::detail::isNonNegative( in operator &()
173 o3tl::detail::isNonNegative( in operator &()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/o3tl/qa/
H A Dtest-safeint.cxx35 CPPUNIT_ASSERT_EQUAL(min, o3tl::saturating_add(min, -1)); in testSignedSaturatingAdd()
36 CPPUNIT_ASSERT_EQUAL(min, o3tl::saturating_add(min, 0)); in testSignedSaturatingAdd()
51 CPPUNIT_ASSERT_EQUAL(-2, o3tl::saturating_add(-1, -1)); in testSignedSaturatingAdd()
52 CPPUNIT_ASSERT_EQUAL(-1, o3tl::saturating_add(-1, 0)); in testSignedSaturatingAdd()
53 CPPUNIT_ASSERT_EQUAL(0, o3tl::saturating_add(-1, 1)); in testSignedSaturatingAdd()
59 CPPUNIT_ASSERT_EQUAL(-1, o3tl::saturating_add(0, -1)); in testSignedSaturatingAdd()
60 CPPUNIT_ASSERT_EQUAL(0, o3tl::saturating_add(0, 0)); in testSignedSaturatingAdd()
61 CPPUNIT_ASSERT_EQUAL(1, o3tl::saturating_add(0, 1)); in testSignedSaturatingAdd()
67 CPPUNIT_ASSERT_EQUAL(0, o3tl::saturating_add(1, -1)); in testSignedSaturatingAdd()
68 CPPUNIT_ASSERT_EQUAL(1, o3tl::saturating_add(1, 0)); in testSignedSaturatingAdd()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/tools/
H A DUnitConversion.hxx19 constexpr o3tl::Length FieldToO3tlLength(FieldUnit eU, o3tl::Length ePixelValue = o3tl::Length::px) in FieldToO3tlLength()
28 return o3tl::Length::m; in FieldToO3tlLength()
56 constexpr o3tl::Length MapToO3tlLength(MapUnit eU, o3tl::Length ePixelValue = o3tl::Length::px) in MapToO3tlLength()
87 inline Fraction conversionFract(o3tl::Length from, o3tl::Length to) in conversionFract()
95 return o3tl::convert(n, o3tl::Length::twip, o3tl::Length::mm100); in convertTwipToMm100()
99 return o3tl::convert(n, o3tl::Length::mm100, o3tl::Length::twip); in convertMm100ToTwip()
104 return o3tl::convertSaturate(n, o3tl::Length::mm100, o3tl::Length::twip); in sanitiseMm100ToTwip()
109 return o3tl::convert(n, o3tl::Length::pt, o3tl::Length::mm100); in convertPointToMm100()
113 return o3tl::convert(n, o3tl::Length::mm100, o3tl::Length::pt); in convertMm100ToPoint()
119 return o3tl::convert(n, o3tl::Length::master, o3tl::Length::mm100); in convertMasterUnitToMm100()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sdext/source/pdfimport/inc/
H A Dpdfihelper.hxx85 o3tl::hash_combine(seed, rFont.isBold); in operator ()()
86 o3tl::hash_combine(seed, rFont.isItalic); in operator ()()
88 o3tl::hash_combine(seed, rFont.isOutline); in operator ()()
89 o3tl::hash_combine(seed, rFont.size); in operator ()()
195 o3tl::hash_combine(seed, rGC.LineJoin); in operator ()()
196 o3tl::hash_combine(seed, rGC.LineCap); in operator ()()
197 o3tl::hash_combine(seed, rGC.BlendMode); in operator ()()
198 o3tl::hash_combine(seed, rGC.LineWidth); in operator ()()
199 o3tl::hash_combine(seed, rGC.Flatness); in operator ()()
200 o3tl::hash_combine(seed, rGC.MiterLimit); in operator ()()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/view/
H A Dpreview.cxx457 o3tl::convert(aLocalPageSize.Width(), o3tl::Length::twip, o3tl::Length::mm100)); in DoPrint()
459 o3tl::convert(aLocalPageSize.Height(), o3tl::Length::twip, o3tl::Length::mm100)); in DoPrint()
461 nLeftMargin = o3tl::convert(nLeftMargin, o3tl::Length::twip, o3tl::Length::mm100); in DoPrint()
462 nRightMargin = o3tl::convert(nRightMargin, o3tl::Length::twip, o3tl::Length::mm100); in DoPrint()
463 nTopMargin = o3tl::convert(nTopMargin, o3tl::Length::twip, o3tl::Length::mm100); in DoPrint()
1083 … ( o3tl::convert(aButtonUpPt.X(), o3tl::Length::mm100, o3tl::Length::twip) < aLRItem.GetLeft() - o… in MouseButtonUp()
1098 …Item.SetLeft(o3tl::convert( aButtonUpPt.X(), o3tl::Length::mm100, o3tl::Length::twip) + o3tl::conv… in MouseButtonUp()
1104 …ght(nWidth - o3tl::convert(aButtonUpPt.X(), o3tl::Length::mm100, o3tl::Length::twip) - o3tl::conve… in MouseButtonUp()
1170 …etUpperValue(o3tl::convert(aButtonUpPt.Y(), o3tl::Length::mm100, o3tl::Length::twip) + o3tl::conve… in MouseButtonUp()
1176 …ue(nHeight - o3tl::convert(aButtonUpPt.Y(), o3tl::Length::mm100, o3tl::Length::twip) - o3tl::conve… in MouseButtonUp()
[all …]
H A Doutput3.cxx62 aMMOffset.setX(o3tl::convert(aMMOffset.X(), o3tl::Length::twip, o3tl::Length::mm100)); in PrePrintDrawingLayer()
63 aMMOffset.setY(o3tl::convert(aMMOffset.Y(), o3tl::Length::twip, o3tl::Length::mm100)); in PrePrintDrawingLayer()
72 aRect.SetLeft(o3tl::convert(aRect.Left(), o3tl::Length::twip, o3tl::Length::mm100)); in PrePrintDrawingLayer()
73 aRect.SetTop(o3tl::convert(aRect.Top(), o3tl::Length::twip, o3tl::Length::mm100)); in PrePrintDrawingLayer()
74 aRect.SetRight(o3tl::convert(aRect.Right(), o3tl::Length::twip, o3tl::Length::mm100)); in PrePrintDrawingLayer()
75 aRect.SetBottom(o3tl::convert(aRect.Bottom(), o3tl::Length::twip, o3tl::Length::mm100)); in PrePrintDrawingLayer()
/dports/editors/libreoffice/libreoffice-7.2.6.2/o3tl/
H A DCppunitTest_o3tl_tests.mk29 o3tl/qa/cow_wrapper_clients \
30 o3tl/qa/test-cow_wrapper \
31 o3tl/qa/test-enumarray \
32 o3tl/qa/test-lru_map \
33 o3tl/qa/test-safeint \
34 o3tl/qa/test-sorted_vector \
35 o3tl/qa/test-span \
36 o3tl/qa/test-temporary \
37 o3tl/qa/test-typed_flags \
38 o3tl/qa/test-unit_conversion \
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/osl/w32/
H A Dsecurity.cxx65 sal_Unicode* strDomain = o3tl::toU(_wcsdup(o3tl::toW(rtl_uString_getStr(strUserName)))); in osl_loginUser()
69 if (nullptr != (strUser = o3tl::toU(wcschr(o3tl::toW(strDomain), L'/')))) in osl_loginUser()
81 …if (LogonUserW(o3tl::toW(strUser), strDomain ? o3tl::toW(strDomain) : L"", o3tl::toW(rtl_uString_g… in osl_loginUser()
91 wcscpy(o3tl::toW(pSecImpl->m_User), o3tl::toW(strUser)); in osl_loginUser()
124 wcscat(o3tl::toW(remoteName), o3tl::toW(rtl_uString_getStr(strFileServer))); in osl_loginUserOnFileServer()
126 wcscat(o3tl::toW(remoteName), o3tl::toW(rtl_uString_getStr(strUserName))); in osl_loginUserOnFileServer()
128 wcscpy(o3tl::toW(userName), o3tl::toW(rtl_uString_getStr(strFileServer))); in osl_loginUserOnFileServer()
130 wcscat(o3tl::toW(userName), o3tl::toW(rtl_uString_getStr(strUserName))); in osl_loginUserOnFileServer()
613 wcscpy(o3tl::toW(Name), o3tl::toW(DomainName)); in getUserNameImpl()
615 wcscat(o3tl::toW(Name), o3tl::toW(UserName)); in getUserNameImpl()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/editeng/source/misc/
H A Dacorrcfg.cxx144 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
148 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
152 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
156 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
160 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
164 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
168 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
172 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
176 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
180 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/osl/w32/
H A Dsecurity.cxx65 sal_Unicode* strDomain = o3tl::toU(_wcsdup(o3tl::toW(rtl_uString_getStr(strUserName)))); in osl_loginUser()
69 if (nullptr != (strUser = o3tl::toU(wcschr(o3tl::toW(strDomain), L'/')))) in osl_loginUser()
81 …if (LogonUserW(o3tl::toW(strUser), strDomain ? o3tl::toW(strDomain) : L"", o3tl::toW(rtl_uString_g… in osl_loginUser()
91 wcscpy(o3tl::toW(pSecImpl->m_User), o3tl::toW(strUser)); in osl_loginUser()
124 wcscat(o3tl::toW(remoteName), o3tl::toW(rtl_uString_getStr(strFileServer))); in osl_loginUserOnFileServer()
126 wcscat(o3tl::toW(remoteName), o3tl::toW(rtl_uString_getStr(strUserName))); in osl_loginUserOnFileServer()
128 wcscpy(o3tl::toW(userName), o3tl::toW(rtl_uString_getStr(strFileServer))); in osl_loginUserOnFileServer()
130 wcscat(o3tl::toW(userName), o3tl::toW(rtl_uString_getStr(strUserName))); in osl_loginUserOnFileServer()
618 wcscpy(o3tl::toW(Name), o3tl::toW(DomainName)); in getUserNameImpl()
620 wcscat(o3tl::toW(Name), o3tl::toW(UserName)); in getUserNameImpl()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/editeng/source/misc/
H A Dacorrcfg.cxx142 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
146 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
150 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
154 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
158 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
162 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
166 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
170 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
174 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
178 if(*o3tl::doAccess<bool>(pValues[nProp])) in Load()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/config/
H A Dprtopt.cxx86 case 0: m_bPrintGraphic = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
88 case 2: m_bPrintControl = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
89 case 3: m_bPrintPageBackground= *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
98 case 6: m_bPrintReverse = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
99 case 7: m_bPrintProspect = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
100 case 8: m_bPrintProspectRTL = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
101 case 9: m_bPrintSingleJobs = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
103 case 11: m_bPaperFromSetup = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
104 case 12: m_bPrintDraw = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
105 case 13: m_bPrintLeftPages = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/config/
H A Dprtopt.cxx88 case 0: m_bPrintGraphic = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
90 case 2: m_bPrintControl = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
91 case 3: m_bPrintPageBackground= *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
100 case 6: m_bPrintReverse = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
101 case 7: m_bPrintProspect = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
102 case 8: m_bPrintProspectRTL = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
103 case 9: m_bPrintSingleJobs = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
105 case 11: m_bPaperFromSetup = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
106 case 12: m_bPrintDraw = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
107 case 13: m_bPrintLeftPages = *o3tl::doAccess<bool>(pValues[nProp]); break; in SwPrintOptions()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/o3tl/
H A DCppunitTest_o3tl_tests.mk29 o3tl/qa/cow_wrapper_clients \
30 o3tl/qa/test-cow_wrapper \
31 o3tl/qa/test-enumarray \
32 o3tl/qa/test-lru_map \
33 o3tl/qa/test-safeint \
34 o3tl/qa/test-sorted_vector \
35 o3tl/qa/test-span \
36 o3tl/qa/test-typed_flags \
37 o3tl/qa/test-vector_pool \
H A DREADME3 o3tl stands for "OOo [o3, get it?] template library"
6 The scope for o3tl is admittedly kind of ambitious, as it should contain "...very basic (template)
13 [git:o3tl/inc/o3tl/cow_wrapper.hxx]
16 [git:o3tl/inc/o3tl/lazy_update.hxx]
21 [git:o3tl/inc/o3tl/range.hxx]
24 [git:o3tl/inc/o3tl/vector_pool.hxx]
27 [git:o3tl/inc/o3tl/functional.hxx]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/source/ui/app/
H A Doptsitem.cxx525 SetShowComments( *o3tl::doAccess<bool>(pValues[ 13 ]) ); in ReadData()
531 SetStartWithTemplate( *o3tl::doAccess<bool>(pValues[ 14 ]) ); in ReadData()
533 SetSummationOfParagraphs( *o3tl::doAccess<bool>(pValues[ 15 ]) ); in ReadData()
535 SetShowUndoDeleteWarning( *o3tl::doAccess<bool>(pValues[ 16 ]) ); in ReadData()
538 SetSlideshowRespectZOrder(*o3tl::doAccess<bool>(pValues[ 17 ])); in ReadData()
541 SetPreviewNewEffects(*o3tl::doAccess<bool>(pValues[ 18 ])); in ReadData()
544 SetPreviewChangedEffects(*o3tl::doAccess<bool>(pValues[ 19 ])); in ReadData()
547 SetPreviewTransitions(*o3tl::doAccess<bool>(pValues[ 20 ])); in ReadData()
550 SetDisplay(*o3tl::doAccess<sal_Int32>(pValues[ 21 ])); in ReadData()
559 SetEnableSdremote( *o3tl::doAccess<bool>(pValues[ 24 ]) ); in ReadData()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/source/ui/app/
H A Doptsitem.cxx524 SetShowComments( *o3tl::doAccess<bool>(pValues[ 13 ]) ); in ReadData()
530 SetStartWithTemplate( *o3tl::doAccess<bool>(pValues[ 14 ]) ); in ReadData()
532 SetSummationOfParagraphs( *o3tl::doAccess<bool>(pValues[ 15 ]) ); in ReadData()
534 SetShowUndoDeleteWarning( *o3tl::doAccess<bool>(pValues[ 16 ]) ); in ReadData()
537 SetSlideshowRespectZOrder(*o3tl::doAccess<bool>(pValues[ 17 ])); in ReadData()
540 SetPreviewNewEffects(*o3tl::doAccess<bool>(pValues[ 18 ])); in ReadData()
543 SetPreviewChangedEffects(*o3tl::doAccess<bool>(pValues[ 19 ])); in ReadData()
546 SetPreviewTransitions(*o3tl::doAccess<bool>(pValues[ 20 ])); in ReadData()
549 SetDisplay(*o3tl::doAccess<sal_Int32>(pValues[ 21 ])); in ReadData()
558 SetEnableSdremote( *o3tl::doAccess<bool>(pValues[ 24 ]) ); in ReadData()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/stoc/source/typeconv/
H A Dconvert.cxx279 nRet = *o3tl::forceAccess<sal_Int8>(rAny); in toHyper()
283 nRet = *o3tl::forceAccess<sal_Int16>(rAny); in toHyper()
287 nRet = *o3tl::forceAccess<sal_uInt16>(rAny); in toHyper()
291 nRet = *o3tl::forceAccess<sal_Int32>(rAny); in toHyper()
295 nRet = *o3tl::forceAccess<sal_uInt32>(rAny); in toHyper()
299 nRet = *o3tl::forceAccess<sal_Int64>(rAny); in toHyper()
393 fRet = *o3tl::forceAccess<sal_Int8>(rAny); in toDouble()
397 fRet = *o3tl::forceAccess<sal_Int16>(rAny); in toDouble()
405 fRet = *o3tl::forceAccess<sal_Int32>(rAny); in toDouble()
421 fRet = *o3tl::forceAccess<float>(rAny); in toDouble()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/stoc/source/typeconv/
H A Dconvert.cxx276 nRet = *o3tl::forceAccess<sal_Int8>(rAny); in toHyper()
280 nRet = *o3tl::forceAccess<sal_Int16>(rAny); in toHyper()
284 nRet = *o3tl::forceAccess<sal_uInt16>(rAny); in toHyper()
288 nRet = *o3tl::forceAccess<sal_Int32>(rAny); in toHyper()
292 nRet = *o3tl::forceAccess<sal_uInt32>(rAny); in toHyper()
296 nRet = *o3tl::forceAccess<sal_Int64>(rAny); in toHyper()
390 fRet = *o3tl::forceAccess<sal_Int8>(rAny); in toDouble()
394 fRet = *o3tl::forceAccess<sal_Int16>(rAny); in toDouble()
402 fRet = *o3tl::forceAccess<sal_Int32>(rAny); in toDouble()
418 fRet = *o3tl::forceAccess<float>(rAny); in toDouble()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/oox/
H A Dunitconverter.cxx94 maCoeffs[Unit::Inch] = o3tl::convert(1.0, o3tl::Length::in, o3tl::Length::mm100); in UnitConverter()
95 maCoeffs[Unit::Point] = o3tl::convert(1.0, o3tl::Length::pt, o3tl::Length::mm100); in UnitConverter()
96 maCoeffs[Unit::Twip] = o3tl::convert(1.0, o3tl::Length::twip, o3tl::Length::mm100); in UnitConverter()
97 maCoeffs[Unit::Emu] = o3tl::convert(1.0, o3tl::Length::emu, o3tl::Length::mm100); in UnitConverter()
135 = ::std::max(nDigitWidth, o3tl::convert(xFont->getCharWidth(cChar), o3tl::Length::twip, in finalizeImport()
136 o3tl::Length::mm100)); in finalizeImport()
141 = o3tl::convert(xFont->getCharWidth(' '), o3tl::Length::twip, o3tl::Length::mm100); in finalizeImport()
/dports/editors/libreoffice/libreoffice-7.2.6.2/basic/source/sbx/
H A Dsbxsng.cxx238 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXCHAR) ) in ImpPutSingle()
242 else if( !o3tl::convertsToAtLeast(o3tl::roundAway(n), SbxMINCHAR) ) in ImpPutSingle()
248 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXBYTE) ) in ImpPutSingle()
259 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXINT) ) in ImpPutSingle()
263 else if( !o3tl::convertsToAtLeast(o3tl::roundAway(n), SbxMININT) ) in ImpPutSingle()
270 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXUINT) ) in ImpPutSingle()
282 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXLNG) ) in ImpPutSingle()
286 else if( !o3tl::convertsToAtLeast(o3tl::roundAway(n), SbxMINLNG) ) in ImpPutSingle()
299 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXULNG) ) in ImpPutSingle()
H A Dsbxdbl.cxx213 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXCHAR) ) in ImpPutDouble()
217 else if( !o3tl::convertsToAtLeast(o3tl::roundAway(n), SbxMINCHAR) ) in ImpPutDouble()
223 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXBYTE) ) in ImpPutDouble()
234 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXINT) ) in ImpPutDouble()
238 else if( !o3tl::convertsToAtLeast(o3tl::roundAway(n), SbxMININT) ) in ImpPutDouble()
245 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXUINT) ) in ImpPutDouble()
255 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXLNG) ) in ImpPutDouble()
259 else if( !o3tl::convertsToAtLeast(o3tl::roundAway(n), SbxMINLNG) ) in ImpPutDouble()
265 if( !o3tl::convertsToAtMost(o3tl::roundAway(n), SbxMAXULNG) ) in ImpPutDouble()

12345678910>>...93