summaryrefslogtreecommitdiff
path: root/linguistic/source/dlistimp.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-25 11:22:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-25 11:22:14 +0000
commit50851eb8dd68ee2bf3d077d5b3017dd35793fe5b (patch)
treeb318eb2628911e8433c770ace32c5c68de1fbfeb /linguistic/source/dlistimp.cxx
parent4c2db7d4fd6836aede91b28fce44af4a8e2a571d (diff)
INTEGRATION: CWS tl32 (1.17.8); FILE MERGED
2006/11/01 15:14:51 tl 1.17.8.2: #140479# warning-free code for unxlngi6(.pro) 2006/10/26 11:26:02 tl 1.17.8.1: #140479# make linguistic warning-free
Diffstat (limited to 'linguistic/source/dlistimp.cxx')
-rw-r--r--linguistic/source/dlistimp.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index 676f9d57849b..b672d1650555 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dlistimp.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 03:53:03 $
+ * last change: $Author: vg $ $Date: 2007-05-25 12:22:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -95,7 +95,7 @@ SV_IMPL_OBJARR(ActDicArray, ActDic);
static BOOL IsVers2OrNewer( const String& rFileURL, USHORT& nLng, BOOL& bNeg );
-static void AddInternal( Reference< XDictionary > &rDic,
+static void AddInternal( const Reference< XDictionary > &rDic,
const OUString& rNew );
static void AddUserData( const Reference< XDictionary > &rDic );
@@ -206,7 +206,7 @@ void SAL_CALL DicEvtListenerHelper::processDictionaryEvent(
|| xDicEntry.is(),
"lng : missing dictionary entry" );
- BOOL bActiveDicsModified = FALSE;
+ /*BOOL bActiveDicsModified = FALSE;*/
//
// evaluate DictionaryEvents and update data for next DictionaryListEvent
//
@@ -255,7 +255,7 @@ void SAL_CALL DicEvtListenerHelper::processDictionaryEvent(
BOOL DicEvtListenerHelper::AddDicListEvtListener(
const Reference< XDictionaryListEventListener >& xListener,
- BOOL bReceiveVerbose )
+ BOOL /*bReceiveVerbose*/ )
{
DBG_ASSERT( xListener.is(), "empty reference" );
INT32 nCount = aDicListEvtListeners.getLength();
@@ -435,7 +435,7 @@ INT32 DicList::getDicPos(const Reference< XDictionary > &xDic)
Reference< XInterface > SAL_CALL
- DicList_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr )
+ DicList_CreateInstance( const Reference< XMultiServiceFactory > & /*rSMgr*/ )
throw(Exception)
{
Reference< XInterface > xService = (cppu::OWeakObject *) new DicList;
@@ -881,7 +881,7 @@ xub_StrLen lcl_GetToken( String &rToken,
if (i >= rText.Len()) // delimeter not found
rToken = rText.Copy( nPos );
else
- rToken = rText.Copy( nPos, (INT32) i - nPos );
+ rToken = rText.Copy( nPos, sal::static_int_cast< xub_StrLen >((INT32) i - nPos) );
nRes = i + 1; // continue after found delimeter
}
@@ -932,7 +932,9 @@ static void AddUserData( const Reference< XDictionary > &rDic )
///////////////////////////////////////////////////////////////////////////
-#pragma optimize("ge",off)
+#if defined _MSC_VER
+#pragma optimize("g",off)
+#endif
static BOOL IsVers2OrNewer( const String& rFileURL, USHORT& nLng, BOOL& bNeg )
{