diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/source/sheet/xspreadsheets2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xspreadsheets2.cxx b/test/source/sheet/xspreadsheets2.cxx index 1ecfe816e5fd..187a25e0ec23 100644 --- a/test/source/sheet/xspreadsheets2.cxx +++ b/test/source/sheet/xspreadsheets2.cxx @@ -335,7 +335,7 @@ bool XSpreadsheets2::isExternalReference(const OUString& aDestContent, const OUS CPPUNIT_ASSERT(aDestContent.startsWith(aStart)); - return (aDestContent.endsWithIgnoreAsciiCase(aSrcContent, NULL) // same cell address + return (aDestContent.endsWithIgnoreAsciiCase(aSrcContent) // same cell address && aDestContent.indexOf(aSrcFileName)>0); // contains source file name } |