Change-Id: I3ebe1c03be3b7e84666ca6a19442c376f21a5491
This commit is contained in:
Julien Nabet
2013-06-07 20:29:58 +02:00
parent d3aa6c58d4
commit dd9dba52f3
3 changed files with 3 additions and 3 deletions

View File

@@ -378,7 +378,7 @@ sal_Bool OTableController::doSaveDoc(sal_Bool _bSaveAs)
OSL_ENSURE(xFact.is(),"OTableController::doSaveDoc: No XDataDescriptorFactory available!"); OSL_ENSURE(xFact.is(),"OTableController::doSaveDoc: No XDataDescriptorFactory available!");
xTable = xFact->createDataDescriptor(); xTable = xFact->createDataDescriptor();
OSL_ENSURE(xTable.is(),"OTableController::doSaveDoc: Create query failed!"); OSL_ENSURE(xTable.is(),"OTableController::doSaveDoc: Create query failed!");
// to set the name is only allowed when the wuery is new // to set the name is only allowed when the query is new
xTable->setPropertyValue(PROPERTY_CATALOGNAME,makeAny(sCatalog)); xTable->setPropertyValue(PROPERTY_CATALOGNAME,makeAny(sCatalog));
xTable->setPropertyValue(PROPERTY_SCHEMANAME,makeAny(sSchema)); xTable->setPropertyValue(PROPERTY_SCHEMANAME,makeAny(sSchema));
xTable->setPropertyValue(PROPERTY_NAME,makeAny(m_sName)); xTable->setPropertyValue(PROPERTY_NAME,makeAny(m_sName));

View File

@@ -23,7 +23,7 @@ import com.sun.star.inspection.XPropertyControlFactory;
import com.sun.star.inspection.XPropertyHandler; import com.sun.star.inspection.XPropertyHandler;
/** /**
* This implementation of <CODE>PropertyHandler</CODE> do currently nothig. * This implementation of <CODE>PropertyHandler</CODE> does currently nothing.
* All methods are implemented, but not filled with content. * All methods are implemented, but not filled with content.
* @see com.sun.star.inspection.XPropertyHandler * @see com.sun.star.inspection.XPropertyHandler
*/ */

View File

@@ -1548,7 +1548,7 @@ void SdPage::SetAutoLayout(AutoLayout eLayout, sal_Bool bInit, sal_Bool bCreate
if((meAutoLayout == AUTOLAYOUT_NONE && maPresentationShapeList.isEmpty()) || mbMaster) if((meAutoLayout == AUTOLAYOUT_NONE && maPresentationShapeList.isEmpty()) || mbMaster)
{ {
// MasterPage or no layout and no presentation shapes available, noting to do // MasterPage or no layout and no presentation shapes available, nothing to do
return; return;
} }