summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/inethist.cxx4
-rw-r--r--svl/source/numbers/zforfind.cxx18
-rw-r--r--svl/source/numbers/zforfind.hxx1
3 files changed, 0 insertions, 23 deletions
diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx
index 8db4ac91144f..4fe327f6830b 100644
--- a/svl/source/misc/inethist.cxx
+++ b/svl/source/misc/inethist.cxx
@@ -48,7 +48,6 @@ class INetURLHistory_Impl
*/
sal_uInt32 m_nMagic;
sal_uInt16 m_nNext;
- sal_uInt16 m_nMBZ;
/** Initialization.
*/
@@ -56,7 +55,6 @@ class INetURLHistory_Impl
{
m_nMagic = INETHIST_MAGIC_HEAD;
m_nNext = 0;
- m_nMBZ = 0;
}
};
@@ -66,7 +64,6 @@ class INetURLHistory_Impl
*/
sal_uInt32 m_nHash;
sal_uInt16 m_nLru;
- sal_uInt16 m_nMBZ;
/** Initialization.
*/
@@ -74,7 +71,6 @@ class INetURLHistory_Impl
{
m_nHash = 0;
m_nLru = nLru;
- m_nMBZ = 0;
}
/** Comparison.
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index b2ad644f1072..e446d73bcb24 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -127,7 +127,6 @@ void ImpSvNumberInputScan::Reset()
nStringScanSign = 0;
nMatchedAllStrings = nMatchedVirgin;
nMayBeIso8601 = 0;
- nTimezonePos = 0;
nMayBeMonthDate = 0;
nAcceptedDatePattern = -2;
nDatePatternStart = 0;
@@ -919,23 +918,6 @@ bool ImpSvNumberInputScan::GetTimeRef( double& fOutNumber,
double fSecond100 = 0.0;
sal_uInt16 nStartIndex = nIndex;
- if (nTimezonePos)
- {
- // find first timezone number index and adjust count
- for (sal_uInt16 j=0; j<nAnzNums; ++j)
- {
- if (nNums[j] == nTimezonePos)
- {
- // nAnz is not total count, but count of time relevant strings.
- if (nStartIndex < j && j - nStartIndex < nAnz)
- {
- nAnz = j - nStartIndex;
- }
- break; // for
- }
- }
- }
-
if (nDecPos == 2 && (nAnz == 3 || nAnz == 2)) // 20:45.5 or 45.5
{
nHour = 0;
diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx
index 5d940a3277df..7cabce77cf2a 100644
--- a/svl/source/numbers/zforfind.hxx
+++ b/svl/source/numbers/zforfind.hxx
@@ -128,7 +128,6 @@ private:
// default 18
// number <= nYear2000 => 20xx
// number > nYear2000 => 19xx
- sal_uInt16 nTimezonePos; // Index of timezone separator (+1)
/** State of ISO 8601 detection.