diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-15 17:00:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-16 09:47:00 +0200 |
commit | 0d32a7be7fb1926a477497d14b87f9eb87324f89 (patch) | |
tree | a9188336203eeea4a33c85cb8c1a8d1e573b26b5 /sfx2 | |
parent | c037063b2324e6779f7c845899772239e6d64112 (diff) |
-Werror,-Wnon-literal-null-conversion (Clang towards 3.2)
Looks to me like the intent was to call SfxViewFrame::GetFirst(NULL, false)
rather than SfxViewFrame::GetFirst(NULL, true) to which
SfxViewFrame::GetFirst(sal_False) would translate. The call was in that form
effectively since it was introduced with
7c8963693d57a26c88b2ead460fb5e9bfef99272 "Obsolete Objects/Classes removed."
Change-Id: Ib7d9ce75d946291bdfd43420bdd8a1de533cdc98
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appmisc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 21319fea9e7a..44a6d0494008 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -234,7 +234,7 @@ SfxModule* SfxApplication::GetModule_Impl() { SfxModule* pModule = SfxModule::GetActiveModule(); if ( !pModule ) - pModule = SfxModule::GetActiveModule( SfxViewFrame::GetFirst( sal_False ) ); + pModule = SfxModule::GetActiveModule( SfxViewFrame::GetFirst( 0, sal_False ) ); if( pModule ) return pModule; else |