summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/app/AppView.cxx')
-rw-r--r--dbaccess/source/ui/app/AppView.cxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx
index 01fa100b4..c4e56e0a8 100644
--- a/dbaccess/source/ui/app/AppView.cxx
+++ b/dbaccess/source/ui/app/AppView.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,8 +44,8 @@
#endif
#ifndef _DBA_DBACCESS_HELPID_HRC_
#include "dbaccess_helpid.hrc"
-#endif
-#ifndef _SV_TOOLBOX_HXX
+#endif
+#ifndef _SV_TOOLBOX_HXX
#include <vcl/toolbox.hxx>
#endif
#ifndef _UTL_CONFIGMGR_HXX_
@@ -70,7 +70,7 @@
#include <com/sun/star/sdb/XQueriesSupplier.hpp>
#endif
#ifndef INCLUDED_SVTOOLS_SYSLOCALE_HXX
-#include <svtools/syslocale.hxx>
+#include <unotools/syslocale.hxx>
#endif
#ifndef DBAUI_TOOLS_HXX
#include "UITools.hxx"
@@ -105,8 +105,8 @@
#ifndef DBACCESS_UI_BROWSER_ID_HXX
#include "browserids.hxx"
#endif
-#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX
-#include <svtools/pathoptions.hxx>
+#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX
+#include <unotools/pathoptions.hxx>
#endif
#include "IApplicationController.hxx"
@@ -145,8 +145,8 @@ OAppBorderWindow::OAppBorderWindow(OApplicationView* _pParent,PreviewMode _ePrev
m_pPanel->setChildWindow(pSwap);
m_pPanel->SetUniqueId(UID_APP_DATABASE_VIEW);
- m_pPanel->Show();
-
+ m_pPanel->Show();
+
m_pDetailView = new OApplicationDetailView(*this,_ePreviewMode);
m_pDetailView->Show();
@@ -200,7 +200,7 @@ void OAppBorderWindow::Resize()
nX = ::std::max(m_pPanel->GetWidthPixel() ,nX);
m_pPanel->SetPosSizePixel(Point(0,0),Size(nX,nOutputHeight));
}
-
+
if ( m_pDetailView )
m_pDetailView->SetPosSizePixel(Point(nX + aFLSize.Width(),0),Size(nOutputWidth - nX - aFLSize.Width(),nOutputHeight));
}
@@ -239,7 +239,7 @@ void OAppBorderWindow::ImplInitSettings()
if( true )
SetBackground( rStyleSettings.GetDialogColor() );
-
+
/*SetBackground( Wallpaper( Application::GetSettings().GetStyleSettings().GetDialogColor() ) );
SetFillColor( Application::GetSettings().GetStyleSettings().GetDialogColor() );
SetTextFillColor( Application::GetSettings().GetStyleSettings().GetDialogColor() );*/
@@ -288,7 +288,7 @@ OApplicationView::OApplicationView( Window* pParent
m_pWin = new OAppBorderWindow(this,_ePreviewMode);
m_pWin->SetUniqueId(UID_APP_VIEW_BORDER_WIN);
- m_pWin->Show();
+ m_pWin->Show();
ImplInitSettings();
}
@@ -330,7 +330,7 @@ void OApplicationView::DataChanged( const DataChangedEvent& rDCEvt )
((rDCEvt.GetType() == DATACHANGED_SETTINGS) &&
(rDCEvt.GetFlags() & SETTINGS_STYLE)) )
{
- ImplInitSettings();
+ ImplInitSettings();
Invalidate();
}
}
@@ -377,7 +377,7 @@ long OApplicationView::PreNotify( NotifyEvent& rNEvt )
}
break;
}
-
+
return ODataView::PreNotify(rNEvt);
}
// -----------------------------------------------------------------------------
@@ -410,21 +410,21 @@ sal_Bool OApplicationView::isPasteAllowed()
void OApplicationView::copy()
{
IClipboardTest* pTest = getActiveChild();
- if ( pTest )
+ if ( pTest )
pTest->copy();
}
// -----------------------------------------------------------------------------
void OApplicationView::cut()
{
IClipboardTest* pTest = getActiveChild();
- if ( pTest )
+ if ( pTest )
pTest->cut();
}
// -----------------------------------------------------------------------------
void OApplicationView::paste()
{
IClipboardTest* pTest = getActiveChild();
- if ( pTest )
+ if ( pTest )
pTest->paste();
}
// -----------------------------------------------------------------------------
@@ -597,7 +597,7 @@ void OApplicationView::showPreview( const ::rtl::OUString& _sDataSourceName,
try
{
Reference<XNameAccess> xNameAccess;
- if ( _bTable )
+ if ( _bTable )
{
Reference<XTablesSupplier> xSup(_xConnection,UNO_QUERY);
if ( xSup.is() )