diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-06-12 12:14:14 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-06-12 12:14:14 +0000 |
commit | ca0ca176891f0976990db14bb77a0ff137852b9d (patch) | |
tree | f7b7cd30d56d89a8520966d4a49425568bc4ed41 | |
parent | ded9b7bc4f32ae089ed5d13a8ba29e4e26a27cfa (diff) |
#65293# linux ambiguity
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 12 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/querycontroller.cxx | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index c67c9d078c08..a6eb45924885 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TokenWriter.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: fs $ $Date: 2001-04-03 14:15:03 $ + * last change: $Author: fs $ $Date: 2001-06-12 13:14:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -186,13 +186,13 @@ ODatabaseImportExport::ODatabaseImportExport(const Sequence< PropertyValue >& _a const PropertyValue* pEnd = pBegin + _aSeq.getLength(); for(;pBegin != pEnd;++pBegin) { - if(pBegin->Name == PROPERTY_DATASOURCENAME) + if (0 == pBegin->Name.compareToAscii(PROPERTY_DATASOURCENAME)) pBegin->Value >>= m_sDataSourceName; - else if(pBegin->Name == PROPERTY_COMMANDTYPE) + else if (0 == pBegin->Name.compareToAscii(PROPERTY_COMMANDTYPE)) pBegin->Value >>= m_nCommandType; - else if(pBegin->Name == PROPERTY_COMMAND) + else if (0 == pBegin->Name.compareToAscii(PROPERTY_COMMAND)) pBegin->Value >>= m_sName; - else if(pBegin->Name == PROPERTY_ACTIVECONNECTION) + else if (0 == pBegin->Name.compareToAscii(PROPERTY_ACTIVECONNECTION)) pBegin->Value >>= m_xConnection; } diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 6dd001d53da9..82343b984293 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: querycontroller.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.43 $ * - * last change: $Author: fs $ $Date: 2001-06-08 08:42:26 $ + * last change: $Author: fs $ $Date: 2001-06-12 13:13:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -527,7 +527,7 @@ void SAL_CALL OQueryController::initialize( const Sequence< Any >& aArguments ) if (!(*pBegin >>= aValue)) continue; - if (aValue.Name == PROPERTY_ACTIVECONNECTION) + if (0 == aValue.Name.compareToAscii(PROPERTY_ACTIVECONNECTION)) { ::cppu::extractInterface(m_xConnection,aValue.Value); // be notified when connection is in disposing @@ -538,19 +538,19 @@ void SAL_CALL OQueryController::initialize( const Sequence< Any >& aArguments ) xComponent->addEventListener(xEvtL); } } - else if(aValue.Name == PROPERTY_DATASOURCENAME) + else if(0 == aValue.Name.compareToAscii(PROPERTY_DATASOURCENAME)) { aValue.Value >>= m_sDataSourceName; } - else if(aValue.Name == PROPERTY_CURRENTQUERY) + else if(0 == aValue.Name.compareToAscii(PROPERTY_CURRENTQUERY)) { aValue.Value >>= m_sName; } - else if(aValue.Name == PROPERTY_QUERYDESIGNVIEW) + else if(0 == aValue.Name.compareToAscii(PROPERTY_QUERYDESIGNVIEW)) { m_bDesign = ::cppu::any2bool(aValue.Value); } - else if(aValue.Name == PROPERTY_CREATEVIEW) + else if(0 == aValue.Name.compareToAscii(PROPERTY_CREATEVIEW)) { m_bCreateView = ::cppu::any2bool(aValue.Value); } |