Edit.cxx (24acc546) | Edit.cxx (52d63d7e) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 646 unchanged lines hidden (view full) --- 655 m_xAggregateSet->setPropertyValue(PROPERTY_MAXTEXTLEN, aVal); 656 m_bMaxTextLenModified = sal_False; 657 } 658} 659 660//------------------------------------------------------------------------------ 661sal_Bool OEditModel::approveDbColumnType( sal_Int32 _nColumnType ) 662{ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 646 unchanged lines hidden (view full) --- 655 m_xAggregateSet->setPropertyValue(PROPERTY_MAXTEXTLEN, aVal); 656 m_bMaxTextLenModified = sal_False; 657 } 658} 659 660//------------------------------------------------------------------------------ 661sal_Bool OEditModel::approveDbColumnType( sal_Int32 _nColumnType ) 662{ |
663 // if we act as rich text curently, we do not allow binding to a database column | 663 // if we act as rich text currently, we do not allow binding to a database column |
664 if ( implActsAsRichText() ) 665 return sal_False; 666 667 return OEditBaseModel::approveDbColumnType( _nColumnType ); 668} 669 670//------------------------------------------------------------------------------ 671void OEditModel::resetNoBroadcast() --- 83 unchanged lines hidden --- | 664 if ( implActsAsRichText() ) 665 return sal_False; 666 667 return OEditBaseModel::approveDbColumnType( _nColumnType ); 668} 669 670//------------------------------------------------------------------------------ 671void OEditModel::resetNoBroadcast() --- 83 unchanged lines hidden --- |