Kaydet (Commit) dd215277 authored tarafından Frank Schoenheit [fs]'s avatar Frank Schoenheit [fs]

dba34a: merged latest changes from CWS dba33j

...@@ -35,13 +35,13 @@ ...@@ -35,13 +35,13 @@
#include "mysqlc_preparedstatement.hxx" #include "mysqlc_preparedstatement.hxx"
#include "mysqlc_general.hxx" #include "mysqlc_general.hxx"
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/driver.h> #include <cppconn/driver.h>
#include <cppconn/connection.h> #include <cppconn/connection.h>
#include <cppconn/statement.h> #include <cppconn/statement.h>
#include <cppconn/metadata.h> #include <cppconn/metadata.h>
#include <cppconn/exception.h> #include <cppconn/exception.h>
#include <tools/postextstl.h> #include <postextstl.h>
#include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XRow.hpp>
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
#include <com/sun/star/sdbc/XWarningsSupplier.hpp> #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
#include <com/sun/star/util/XStringSubstitution.hpp> #include <com/sun/star/util/XStringSubstitution.hpp>
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/driver.h> #include <cppconn/driver.h>
#include <tools/postextstl.h> #include <postextstl.h>
#include <cppuhelper/compbase3.hxx> #include <cppuhelper/compbase3.hxx>
#include <cppuhelper/weakref.hxx> #include <cppuhelper/weakref.hxx>
#include <rtl/string.hxx> #include <rtl/string.hxx>
......
...@@ -54,13 +54,13 @@ using namespace com::sun::star::sdbc; ...@@ -54,13 +54,13 @@ using namespace com::sun::star::sdbc;
using ::rtl::OUString; using ::rtl::OUString;
using mysqlc_sdbc_driver::getStringFromAny; using mysqlc_sdbc_driver::getStringFromAny;
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/connection.h> #include <cppconn/connection.h>
#include <cppconn/resultset.h> #include <cppconn/resultset.h>
#include <cppconn/metadata.h> #include <cppconn/metadata.h>
#include <cppconn/statement.h> #include <cppconn/statement.h>
#include <cppconn/prepared_statement.h> #include <cppconn/prepared_statement.h>
#include <tools/postextstl.h> #include <postextstl.h>
static ext_std::string wild("%"); static ext_std::string wild("%");
......
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
#endif #endif
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/metadata.h> #include <cppconn/metadata.h>
#include <tools/postextstl.h> #include <postextstl.h>
namespace connectivity namespace connectivity
{ {
......
...@@ -38,13 +38,12 @@ using namespace connectivity::mysqlc; ...@@ -38,13 +38,12 @@ using namespace connectivity::mysqlc;
using ::rtl::OUString; using ::rtl::OUString;
#include <stdio.h> #include <stdio.h>
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/exception.h> #include <cppconn/exception.h>
#ifdef SYSTEM_MYSQL_CPPCONN #ifdef SYSTEM_MYSQL_CPPCONN
#include <mysql_driver.h> #include <mysql_driver.h>
#endif #endif
#include <tools/postextstl.h> #include <postextstl.h>
/* {{{ MysqlCDriver::MysqlCDriver() -I- */ /* {{{ MysqlCDriver::MysqlCDriver() -I- */
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/compbase2.hxx> #include <cppuhelper/compbase2.hxx>
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/driver.h> #include <cppconn/driver.h>
#include <tools/postextstl.h> #include <postextstl.h>
#include <osl/module.h> #include <osl/module.h>
namespace connectivity namespace connectivity
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/SQLException.hpp>
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/exception.h> #include <cppconn/exception.h>
#include <tools/postextstl.h> #include <postextstl.h>
namespace mysqlc_sdbc_driver namespace mysqlc_sdbc_driver
{ {
......
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
#include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XInputStream.hpp>
#endif #endif
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/prepared_statement.h> #include <cppconn/prepared_statement.h>
#include <tools/postextstl.h> #include <postextstl.h>
namespace connectivity namespace connectivity
{ {
......
...@@ -35,9 +35,9 @@ ...@@ -35,9 +35,9 @@
#include <com/sun/star/sdbc/XResultSetMetaData.hpp> #include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/resultset_metadata.h> #include <cppconn/resultset_metadata.h>
#include <tools/postextstl.h> #include <postextstl.h>
namespace connectivity namespace connectivity
{ {
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
#include <com/sun/star/sdbc/XWarningsSupplier.hpp> #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
#include <com/sun/star/util/XCancellable.hpp> #include <com/sun/star/util/XCancellable.hpp>
#include <tools/preextstl.h> #include <preextstl.h>
#include <cppconn/statement.h> #include <cppconn/statement.h>
#include <tools/postextstl.h> #include <postextstl.h>
#include <cppuhelper/compbase5.hxx> #include <cppuhelper/compbase5.hxx>
#include <list> #include <list>
......
...@@ -1085,10 +1085,12 @@ void SAL_CALL PresenterController::keyReleased (const awt::KeyEvent& rEvent) ...@@ -1085,10 +1085,12 @@ void SAL_CALL PresenterController::keyReleased (const awt::KeyEvent& rEvent)
case awt::Key::F1: case awt::Key::F1:
// Toggle the help view. // Toggle the help view.
if (mpWindowManager.get() != NULL) if (mpWindowManager.get() != NULL)
{
if (mpWindowManager->GetViewMode() != PresenterWindowManager::VM_Help) if (mpWindowManager->GetViewMode() != PresenterWindowManager::VM_Help)
mpWindowManager->SetViewMode(PresenterWindowManager::VM_Help); mpWindowManager->SetViewMode(PresenterWindowManager::VM_Help);
else else
mpWindowManager->SetHelpViewState(false); mpWindowManager->SetHelpViewState(false);
}
break; break;
......
...@@ -380,10 +380,12 @@ void PresenterTextView::MoveCaret ( ...@@ -380,10 +380,12 @@ void PresenterTextView::MoveCaret (
// the previous or the start of the next paragraph. // the previous or the start of the next paragraph.
pParagraph = GetParagraph(nParagraphIndex); pParagraph = GetParagraph(nParagraphIndex);
if (pParagraph) if (pParagraph)
{
if (nDistance<0) if (nDistance<0)
nCharacterIndex = pParagraph->GetCharacterCount(); nCharacterIndex = pParagraph->GetCharacterCount();
else else
nCharacterIndex = 0; nCharacterIndex = 0;
}
} }
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment